[L4D2] Survivors with Special Infected Weapons?
https://www.youtube.com/watch?v=kqfv...nnel=Pelipoika
Anyone know what netprops need to be set for similar result after equipping 'weapon_tank_claw' or 'weapon_charger_claw' to be able to use SI abilities as a survivor? Edit: I need to set the "m_customAbility" of an SI to a survivor client index, How to do so? |
Re: [L4D2] Survivors with Special Infected Weapons?
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. |
Re: [L4D2] Survivors with Special Infected Weapons?
Quote:
PHP Code:
|
Re: [L4D2] Survivors with Special Infected Weapons?
Perhaps, in order for some abilities to work, you still need to change the player model ( in particular, for the tank's ability )
|
Re: [L4D2] Survivors with Special Infected Weapons?
Quote:
|
Re: [L4D2] Survivors with Special Infected Weapons?
VIRTUAL is just a offset to get "CBaseAbility::OnCreate"
|
All times are GMT -4. The time now is 05:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.