Englisch Molotov without explosion request

5 Antworten
Gehe zu Seite
Zum Anfang Vorherige 1 Nächste Zum Anfang
Hoch
mrc
User
Offline Off
Anybody is able to reproduce this script?

https://youtu.be/s_KCXLD__GU

I tried this but it still instakill if you have less health than the damage of explosion.

Code:
1
2
3
4
5
6
7
8
9
addhook("hit","_hit")
function _hit(id,source,weapon,hpdmg,apdmg)
local hp = player(id,"health")
     if weapon == 73 then
          if hpdmg > 4 then              
               timer(0,"parse","sethealth "..id.." "..hp)
          end
     end
end
CS2DBR Community - http://cs2dbr.tk
25.07.20 18:41:59
Hoch
Masea
Super User
Offline Off
What happens in that script is basically removing the original projectile whenever a player attacks with it (cs2d lua hook attack). Afterwards, you are just creating your own custom projectile and do anything with it.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast II Modification (28)
25.07.20 23:23:45
Hoch
mrc
User
Offline Off
Here is the full script plus smoke extinguish flames.

Code:
1
broken
11× editiert, zuletzt 22.09.20 18:44:19
CS2DBR Community - http://cs2dbr.tk
27.07.20 10:13:41
Hoch
Gaios
Security Supporter
Offline Off
You should never use cs2d lua hook always
27.07.20 10:58:35
Hoch
The Dark Shadow
User
Offline Off
You better do some optimizations.
22.09.20 18:46:25
Hoch
mrc
User
Offline Off
nvm.

Spoiler >
2× editiert, zuletzt 24.09.20 22:21:07
CS2DBR Community - http://cs2dbr.tk
Zum Anfang Vorherige 1 Nächste Zum Anfang