Jump to content

New zombie - Vomit


Petite

Recommended Posts

I'm trying to modify a zombies using a existing model before creating one. I have him puking like the cop but for some reason the puke come from his hand, I don't know why and what I'm missing, first time I'm trying that. Also I would like to have one that spit fire, how we do that? I really like if someone can tell me what I'm doing wrong.

 

In entityclasses.xml

 

<entity_class name="valZombieRegen" extends="zombieUMATemplateMale">

<property name="Archetype" value="valZombieRegen"/>

<property name="HandItem" value="handRegenerator"/>

<property name="Class" value="EntityZombieCop"/>

<property name="LootListOnDeath" value="17"/>

<property name="MaxHealth" value="500"/>

<property name="WalkType" value="2"/>

<property name="AITask-1" value="BreakDoor"/>

<property name="AITask-2" value="BreakBlock"/>

<property name="AITask-3" value="RangedAttackTarget" param1="1" param2="5"/>

<property name="AITask-4" value="ApproachAndAttackTarget" param1="EntityPlayer"/>

<property name="AITask-5" value="ApproachAndAttackTarget" param1="EntityNPC"/>

<property name="AITask-6" value="ApproachSpot"/>

<property name="AITask-7" value="Wander"/>

<property name="SoundRandom" value="Enemies/Acid_Puking_Hulk/hulkroam"/>

<property name="SoundAlert" value="Enemies/Acid_Puking_Hulk/hulkalert"/>

<property name="SoundAttack" value="Enemies/Acid_Puking_Hulk/hulkattack"/>

<property name="SoundHurt" value="Enemies/Acid_Puking_Hulk/hulkpain"/>

<property name="SoundDeath" value="Enemies/Acid_Puking_Hulk/hulkdeath"/>

<property name="SoundSense" value="Enemies/Acid_Puking_Hulk/hulksense"/>

<property name="SoundFootstepModifier" value="Enemies/Burnt_Zombie/zombieburntfootstep"/>

<property name="ExperienceGain" value="1407"/>

</entity_class>

 

 

Item.xml

 

<item id="3454" name="handRegenerator">

<property name="Extends" value="handMaster"/>

<property name="CreativeMode" value="None"/>

<property name="Degradation" value="99999" param1="true"/>

<property class="Action0">

<property name="Range" value="1.75"/>

<property name="DamageEntity" value="20"/>

<property name="DamageBlock" value="250"/>

<property name="Buff" value="bleeding,infection,stunned"/>

<property name="Buff_chance" value="0.2,0.2,0.4"/>

</property>

<property class="Action1"> <!-- UseAction -->

<property name="Class" value="Vomit"/>

<property name="Delay" value="0.35"/>

<property name="Range" value="50"/>

<property name="Auto_fire" value="true"/>

<property name="Infinite_ammo" value="true"/>

<property name="Magazine_items" value="projectileZombieVomit"/>

<property name="Rays_spread" value="0.5"/>

<property name="Reload_time" value="1"/>

<property name="Bullet_icon" value="uzi"/>

<property name="Sound_warning" value="hulkvomitwarning"/>

<property name="Sound_start" value="hulkvomitattack"/>

<property name="Sound_repeat" value=""/>

<property name="Sound_end" value=""/>

<property name="Sound_empty" value=""/>

<property name="Sound_reload" value=""/>

<property name="Buff" value="infection"/>

<property name="Buff_chance" value="0.2"/>

</property>

</item>

 

 

Thanks

Link to comment
Share on other sites

You're missing this line in the entityclasses.xml.

 

<property name="RightHandJointName" value="Jaw"/>

 

I put that under the handitem on my fire spitting zombies and it works fine. :)

 

I did before and still spit with the hand, I tried again thinking I might place it at the wrong place but its the same, see screenshot.

https://steamcommunity.com/sharedfiles/filedetails/?id=1368914789

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...