Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Geared Zombies

Joined
May 18, 2013
Messages
852
Reaction score
323
Note: I want to start off by saying, this is the simplest thing i've ever done. The code is already there (FOR THE HALLOWEEN ZOMBIE) #Newbs (JK ily all)
This tutorial is not %100 Done, hopefully someone can shed some light.
So lets do this for the military zombie.
Start off by:
In WarZ.sln search
Code:
BOOL obj_Zombie::OnCreate()
Below
Code:
bool HalloweenZombie = false;
    if(CreateParams.HeroItemID > 1000000)
    {
        // special Halloween zombie
        CreateParams.HeroItemID -= 1000000;
        HalloweenZombie = true;
    }
Replace to
Code:
bool HalloweenZombie = false;
    if(CreateParams.HeroItemID > 20190)
    {
        // special Military zombie
        CreateParams.HeroItemID -=  20190;
        HalloweenZombie = true;
    }
Then search:
Code:
if(HalloweenZombie)
        zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/hgear_pumpkin_01.sco", true, false, true, true );
Replace to
Code:
if(HalloweenZombie)
        zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/hgear_m9_helmet_forest_01.sco", true, false, true, true );
Now for WarZ Server.SLN

Search
Code:
if(HalloweenZombie && u_GetRandom() < 30.0f)
Change to
Code:
if(HalloweenZombie && u_GetRandom() < 100.0f)
Search
Code:
obj->m_Item.itemID   = 20190[COLOR=#ff0000] OR 20192[/COLOR]

Code:
Replace to obj->m_Item.itemID   = 20049 //M9 Helemet Forest

This tutorial is AS IS. Make sure to make backups of the edited files.

Credits to ME, please like.
 
Last edited:
Skilled Illusionist
Joined
Oct 9, 2013
Messages
375
Reaction score
274

Calling people newbs because something appears simple to you is retarded.

But nice share i guess although geared zombies makes like no sense to me.
 
Initiate Mage
Joined
Dec 4, 2007
Messages
67
Reaction score
19
thanks for code im testin in new dnc source.



not works in new DNC source

r3dlog.txt

000109.956| !!! ERROR: there is no zombie hero 1
000109.956| ... exiting
 
Skilled Illusionist
Joined
Jan 22, 2014
Messages
310
Reaction score
323
thanks for code im testin in new dnc source.



not works in new DNC source

r3dlog.txt

000109.956| !!! ERROR: there is no zombie hero 1
000109.956| ... exiting

I have the same problem..

h51dCZr - [Release] Geared Zombies - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Dec 4, 2007
Messages
67
Reaction score
19
if this code is not complete as you said, please change the title to [Development] and transfer the topic to the correct section because it is not a [Release].


This is not a review but an opinion for better organization of the forum.
I hope not cause upset with my comment...
 
Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,685
If you are too lazy to add the items, You can take here,
I just found in one of my files, just re-sharing

Code:
if(HalloweenZombie && !IsSuperZombie())
	{
		switch(u_random(33))
		{
			default:
			case 0:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/hgear_gasmask_01.sco", true, false, true, true ); break;
			case 1:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/hgear_gasmask_02.sco", true, false, true, true ); break;
			case 2:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/hgear_gasmask_improvised_01.sco", true, false, true, true ); break;
			case 3:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HEADHELMET.sco", true, false, true, true ); break;
			case 4:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Beret.sco", true, false, true, true ); break;
			case 5:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Boonie.sco", true, false, true, true ); break;
			case 6:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Shadow.sco", true, false, true, true ); break;
			case 7:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Mask_Black_01.sco", true, false, true, true ); break;
			case 8:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Mask_Clown_01.sco", true, false, true, true ); break;
			case 9:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Mask_Hockey_01.sco", true, false, true, true ); break;
			case 10:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Mask_Skull_01.sco", true, false, true, true ); break;
			case 11:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Mask_Slash_01.sco", true, false, true, true ); break;
			case 12:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Boonie_Hat_Desert.sco", true, false, true, true ); break;
			case 13:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Boonie_Hat_MilGreen.sco", true, false, true, true ); break;
			case 14:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_Black_01.sco", true, false, true, true ); break;
			case 15:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_Desert_02.sco", true, false, true, true ); break;
			case 16:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_MilGreen_01.sco", true, false, true, true ); break;
			case 17:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_Urban_01.sco", true, false, true, true ); break;
			case 18:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_forest_01.sco", true, false, true, true ); break;
			case 19:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_forest_02.sco", true, false, true, true ); break;
			case 20:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/Hgear_KStyle_NVG_01.sco", true, false, true, true ); break;
			case 21:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Boonie_hat_Leather_01.sco", true, false, true, true ); break;
			case 22:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_Fireman_Helmet_01.sco", true, false, true, true ); break;
			case 23:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_HardHat_01.sco", true, false, true, true ); break;
			case 24:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_NV_Mil_01.sco", true, false, true, true ); break;
			case 25:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_NV_Civ_01.sco", true, false, true, true ); break;
			case 26:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/HGEAR_M9_Helmet_MilGreen_01.sco", true, false, true, true ); break;
			case 27:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/hgear_hat_artemis_01.sco", true, false, true, true ); break;
			case 28:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/Hgear_Hat_Fox_01.sco", true, false, true, true ); break;
			case 29:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/Armor_IBA_01_Sand.sco", true, false, true, true ); break;
			case 30:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/Armor_MTV_01_Forest.sco", true, false, true, true ); break;
			case 31:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/ARMOR_Light_Forest.sco", true, false, true, true ); break;
			case 32:
				zombieParts[3] = r3dGOBAddMesh("Data/ObjectsDepot/Characters/ARMOR_Rebel_Heavy.sco", true, false, true, true ); break;
		}
	}
 
Initiate Mage
Joined
Feb 7, 2015
Messages
86
Reaction score
9
Screen_30082016_215854 - [Release] Geared Zombies - RaGEZONE Forums Military Zombie / create many zombie class / sample code /
ItemDB
<Hero itemID="20227" category="16" Weight="-1">
<ZombieClass maxHealth="300" maxAttackDamage="95"
maxChanceOfInfecting="75" MaxInfectStrength="95"

ZombieUseHelmet="85" ZombieUseArmor="85" />
</Hero>

if (bodyPart == 1)
{
if ((ZombieHelmet - damage) <= 0)
{

ZombieHealth -= damage;
 

Attachments

You must be registered for see attachments list
Back
Top