View Single Post
xerox8521
Senior Member
Join Date: Sep 2011
Old 10-19-2020 , 16:14   Re: [L4D2] Survivors with Special Infected Weapons?
Reply With Quote #2

You probably need to create the ability first with CreateEntityByName.
Those are the abilities used by the game:

- ability_tongue
- ability_selfdestruct // Boomer Exploding
- ability_vomit // Actual boomer vomit
- ability_lunge // Hunter Pounce
- ability_spit
- ability_leap // Jockey Leap
- ability_charge
- ability_throw

Once created you can set them with SetEntPropEnt(client, Prop_Send, "m_customAbility", ability);

Not sure if you need to set more but this should do.

Last edited by xerox8521; 10-19-2020 at 16:15.
xerox8521 is offline