Zombie Rising from the first one how to set the M9 Helmet Help Make URBAN :(![]()
Zombie Rising from the first one how to set the M9 Helmet Help Make URBAN :(![]()
Last edited by GigaToni; 08-08-14 at 12:01 PM.
what do you want from us ? try to use an other translater or search for someone who can write english a bit and when we can try to help you
greetings
eywasgeht
I want to add zombie item
I want to add something else instead of helmet
I think he wants to know how to make zombies wear helmets and stuff, I would like to know how as well XD
search in obj_zombie.cpp for
BOOL obj_Zombie::OnCreate()
and paste this under it
Code:BOOL obj_Zombie::OnCreate() { r3d_assert(CreateParams.HeroItemID); bool HalloweenZombie = true; if(CreateParams.HeroItemID > 1000000) { // special Halloween zombie CreateParams.HeroItemID -= 1000000; HalloweenZombie = true; } if (CreateParams.HeroItemID == 20190) // zombie military { SetScale(r3dPoint3D(1.3066f, 1.3732f, 1.5344f)); } anim_.Init(g_zombieBindSkeleton, g_zombieAnimPool, NULL, (DWORD)this); const HeroConfig* heroConfig = g_pWeaponArmory->getHeroConfig(CreateParams.HeroItemID); if(!heroConfig) r3dError("there is no zombie hero %d", CreateParams.HeroItemID); zombieParts[0] = heroConfig->getHeadMesh(CreateParams.HeadIdx); zombieParts[1] = heroConfig->getBodyMesh(CreateParams.HeadIdx, false); zombieParts[2] = heroConfig->getLegMesh(CreateParams.LegsIdx); if(HalloweenZombie) zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_Urban_01.sco", true, false, true, true );
Last edited by GigaToni; 08-08-14 at 04:48 PM. Reason: Added code tags. Please use them if you want to put code in your post.
Does this work for DNC's community edition?
sure this will work if you got an error post it here pls
greetings
eywasgeht
eywasgeht we want dont drop m9 helmet
what do you want to drop ?
greetings
eywasgeht
He wants that the zombie don't drop m9 helmets..
@dragmo47
If you want zombies to only drop dollars ($) then you have to use studio > WarZ.sln > Release Build > Studio.exe > Levels > Colorado > Select all zombie spawns and change there drop list.
It will be a decently long process to do this you could always just delete all zombie spawns and set new ones if you wanted to make it easier as all the towns on colorado have completely different loot drops such as rocky having zombies drop snipers (SVD's) and what not.