Left 4 Dead 2

Left 4 Dead 2

[VScript] Bot Charger's Mid-Charge Damage Resistance For Human Players
12 kommentarer
Witch  [ophavsmand] 29. maj kl. 9:08 
only when you charge.
Unknown 29. maj kl. 9:05 
osea esto le da al Charger resistencia del 66% todo el tiempo o solo cuando embiste?:steamsad::steamfacepalm:
Witch  [ophavsmand] 29. maj kl. 6:21 
Thank you, I'll look into AllowTakeDamage.
kurochama 28. maj kl. 20:06 
If you want to keep the burning tank while applying fire damage resist/ immunity, one of the ideal methods would be using "SetHealth" on "player_hurt" like I mentioned before. But you'll need to check the number for fire damage type first by using "printl" or "ClientPrint" on "param.type". After getting the number for fire damage type, you can use "SetHealth" to restore health equal to the damage taken when hit by fire damage type.
Alternatively, there's also "AllowTakeDamage" to reduce of nullify damage from certain damage type or from certain attackers, but I'm not sure if tank's pain sounds when on fire are also played with this method.
Witch  [ophavsmand] 28. maj kl. 19:22 
I appreciate the help you provided for a potential fire damage script (maybe i really should make one to see how much it affects tanks) though I was mainly aiming for being able to cease all attempts of the game to deal fire damage to tanks, since that would allow the tank to play his unique on-fire pain sounds uninterrupted.
kurochama 28. maj kl. 18:39 
@Witch , what do you want with fire damage? If it's to give fire damage resist, you can use "player_hurt" & use "param.type" there to check fire damage. If it's true, then use "SetHealth" to restore health as much as the damage taken for fire damage immunity or just certain portion of damage taken (like only 0.5x of the damage taken for 50% damage resist) for fire damage resist ("param.dmg_health" for damage taken). There's also an easy way to use "Extinguish" from "List of Script Functions" (use "IsOnFire" to check burning state & "Extinguish" to extinguish the fire) on "player_hurt" to make special extinguish fire automatically in certain seconds after getting burned.
BigFellaBubsy 28. maj kl. 17:34 
these are really cool vscripts
Witch  [ophavsmand] 28. maj kl. 16:40 
since there's a netprop for whether or not you can take damage...I wonder if there's one for fire damage?
kurochama 28. maj kl. 16:26 
In case if you're interested, you can also try to buff spitter when she uses ability (spit), by using "ability_use", "spit_burst", & "player_hurt". For example, if you want to toggle on/ off invincibility when using spit, set "m_takedamage" netprops to 0 on spitter on "ability_use", & then reset it back on "spit_burst". Or you can use a timer that has like 5 seconds of duration that starts the count from "ability_use"
Xenorvya 28. maj kl. 16:06 
Eyes. Ears. Nose. Toes.
Witch  [ophavsmand] 28. maj kl. 16:00 
it makes the spitter invincible
ChamoChimi 28. maj kl. 15:48 
im confused what does this mod do