UGX-Mods

Call of Duty 5: World at War => Downloadable Items for Mappers => Custom Maps, Mods & Tools => Models => Topic started by: jei9363 on April 26, 2014, 05:55:27 pm

Title: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jei9363 on April 26, 2014, 05:55:27 pm
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi58.tinypic.com%2Fnqdyja.jpg&hash=1aea4621b1c0d65536d68394343ca15de781e1fe)

note this needs to have access to:

character\char_ger_honorguard2_zombies.gsc
character\char_ger_honorguard_zombies.gsc

just dont have these in your mod.

download: https://www.mediafire.com/?873u92rwxgrcaux (https://www.mediafire.com/?873u92rwxgrcaux)

1. (If you do not have access to the models) rename localized_MAPNAME to localized_MAPNAME or another available .ff

1b. IF YOU DO HAVE THE MODELS

ADD to your mod.csv and dont add in my .ff

Code Snippet
Plaintext
xmodel,bo2_c_zom_inmate_body1
xmodel,bo2_c_zom_inmate_body1_g_larmoff
xmodel,bo2_c_zom_inmate_body1_g_legsoff
xmodel,bo2_c_zom_inmate_body1_g_llegoff
xmodel,bo2_c_zom_inmate_body1_g_lowclean
xmodel,bo2_c_zom_inmate_body1_g_rarmoff
xmodel,bo2_c_zom_inmate_body1_g_rlegoff
xmodel,bo2_c_zom_inmate_body1_g_upclean
xmodel,bo2_c_zom_zombie_barbwire_head
xmodel,bo2_c_zom_zombie_hellcatraz_head
xmodel,bo2_c_zom_zombie_mask_head
xmodel,bo2_c_zom_zombie_mask_head_device
xmodel,bo2_c_zom_zombie_slackjaw_head
xmodel,bo2_c_zom_guard_body
xmodel,bo2_c_zom_guard_body_g_larmoff
xmodel,bo2_c_zom_guard_body_g_legsoff
xmodel,bo2_c_zom_guard_body_g_llegoff
xmodel,bo2_c_zom_guard_body_g_lowclean
xmodel,bo2_c_zom_guard_body_g_rarmoff
xmodel,bo2_c_zom_guard_body_g_rlegoff
xmodel,bo2_c_zom_guard_body_g_upclean
xmodel,bo2_c_zom_guard_hat

2. drop everything in C:\Users\Jay\AppData\Local\Activision\CoDWaW\mods\nazi_zombie_MAPNAME

------------------------------------OPTIONAL------------------------------------

to make the hat fly off the guard

replace zombie_head_gib( attacker ) in _zombiemode_spawner.gsc

Code Snippet
Plaintext
zombie_head_gib( attacker )
{
if ( is_german_build() )
{
return;
}

if( IsDefined( self.head_gibbed ) && self.head_gibbed )
{
return;
}

if( !isDefined( level.head_gibs_this_frame ) )
{
level thread cap_zombie_head_gibs();
}

if( level.head_gibs_this_frame >= level.max_head_gibs_per_frame )
{
return;
}

level.head_gibs_this_frame++;

self.head_gibbed = true;
self zombie_eye_glow_stop();

size = self GetAttachSize();
for( i = 0; i < size; i++ )
{
model = self GetAttachModelName( i );
if( IsSubStr( model, "head" ) )
{
// SRS 9/2/2008: wet em up
self thread headshot_blood_fx();
if(self.zomb_text == "zom_guard")
{
precacheModel("bo2_c_zom_guard_hat");
self.hatmodel_launch = spawn("script_model",self.origin + (0,0,64));
self.hatmodel_launch setmodel("bo2_c_zom_guard_hat");
self.hatmodel_launch PhysicsLaunch( self.hatmodel_launch.origin, (0,0,5000) );
self.hatmodel_launch thread timed_delete(5);

self Detach("bo2_c_zom_guard_hat", "" , true);
}

self play_sound_on_ent( "zombie_head_gib" );

self Detach( model, "", true );
self Attach( "char_ger_honorgd_zomb_behead", "", true );
break;
}
}

self thread damage_over_time( self.health * 0.2, 1, attacker );
}

add to bottom

Code Snippet
Plaintext
timed_delete(time)
{

wait time;

self delete();

}

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi60.tinypic.com%2F9zrg5y.jpg&hash=d037214524ac6e0bd248a151e86347b6ea5ff979)
Title: Re: Instant Mob of the Dead zombies in your map!
Post by: InFInIX on April 26, 2014, 05:58:13 pm
Does they look so bad like on the Pictures or do have the graphics set to low ??  :lol:
Title: Re: Instant Mob of the Dead zombies in your map!
Post by: jei9363 on April 26, 2014, 06:06:37 pm
better now??  :P

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi58.tinypic.com%2Fnqdyja.jpg&hash=1aea4621b1c0d65536d68394343ca15de781e1fe)
Title: Re: Drag-and-Drop Mob of the Dead zombies in your map!
Post by: Dust on April 26, 2014, 06:18:45 pm
another successful tut. thanks bam!
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jjbradman on April 26, 2014, 09:36:37 pm
awosome i used this and i havent hitted the images limit again xD
can someone tell me how can i keep der rise zombiemodels along with these ones?
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: daedra descent on April 26, 2014, 10:05:31 pm
awosome i used this and i havent hitted the images limit again xD
can someone tell me how can i keep der rise zombiemodels along with these ones?

Replace the jap's models with the der rise ones and have jap spawners?
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: shippuden1592 on April 26, 2014, 10:10:07 pm
awosome i used this and i havent hitted the images limit again xD
can someone tell me how can i keep der rise zombiemodels along with these ones?

You can try to add two more if the main () like this:

self.body_select_num = randomint(4);

Spoiler: click to open...
Code Snippet
Plaintext

if(self.body_select_num == 2)
{
self setModel("char_ger_honorgd_bodyz1_1");
self.zomb_text = "_1";
self.headModel = codescripts\character::randomElement(xmodelalias\char_inmate_zombie_head_alias::main());
self attach(self.headModel, "", true);
}

if(self.body_select_num == 3)
{
self setModel("char_ger_honorgd_bodyz2_1");
self.zomb_text = "_2";
self.headModel = codescripts\character::randomElement(xmodelalias\char_inmate_zombie_head_alias::main());
self attach(self.headModel, "", true);
}


After the below replace this

Spoiler: click to open...
Code Snippet
Plaintext
 

self.voice = "german";

if(self.body_select_num == 0 || self.body_select_num == 1)
{
self.torsoDmg1 = "bo2_c_zom_" + self.zomb_text + "_g_upclean";
  self.torsoDmg2 = "bo2_c_zom_" + self.zomb_text + "_g_rarmoff";
self.torsoDmg3 = "bo2_c_zom_" + self.zomb_text + "_g_larmoff";
  self.torsoDmg4 = "bo2_c_zom_" + self.zomb_text + "_g_rarmoff";
  self.torsoDmg5 = "char_ger_honorgd_body1_g_behead";
  self.legDmg1 = "bo2_c_zom_" + self.zomb_text + "_g_lowclean";
  self.legDmg2 = "bo2_c_zom_" + self.zomb_text + "_g_rlegoff";
  self.legDmg3 = "bo2_c_zom_" + self.zomb_text + "_g_llegoff";
self.legDmg4 = "bo2_c_zom_" + self.zomb_text + "_g_legsoff";
}

if(self.body_select_num == 2 || self.body_select_num == 3)
{
self.torsoDmg1 = "char_ger_honorgd_body1_g_upclean";

self.torsoDmg2 = "char_ger_honorgd_body1_g_rarmoff" + self.zomb_text ;

self.torsoDmg3 = "char_ger_honorgd_body1_g_larmoff" + self.zomb_text ;

self.torsoDmg4 = "char_ger_honorgd_body1_g_rarmoff" + self.zomb_text ;

self.torsoDmg5 = "char_ger_honorgd_body1_g_behead";

self.legDmg1 = "char_ger_honorgd_body1_g_lowclean";

self.legDmg2 = "char_ger_honorgd_body1_g_rlegoff" + self.zomb_text ;

self.legDmg3 = "char_ger_honorgd_body1_g_llegoff" + self.zomb_text ;

self.legDmg4 = "char_ger_honorgd_body1_g_legsoff_1";

}

self.gibSpawn1 = "char_ger_honorgd_body1_g_rarmspawn";

self.gibSpawnTag1 = "J_Elbow_RI";

self.gibSpawn2 = "char_ger_honorgd_body1_g_larmspawn";

self.gibSpawnTag2 = "J_Elbow_LE";

self.gibSpawn3 = "char_ger_honorgd_body1_g_rlegspawn";

self.gibSpawnTag3 = "J_Knee_RI";

self.gibSpawn4 = "char_ger_honorgd_body1_g_llegspawn";

self.gibSpawnTag4 = "J_Knee_LE";


And now alone in the precache () add this:

Spoiler: click to open...

Code Snippet
Plaintext
codescripts\character::precacheModelArray(xmodelalias\char_honorgd_body1_zombie_alias::main());
codescripts\character::precacheModelArray(xmodelalias\char_honorgd_body2_zombie_alias::main());


Now you think about gsc files in xmodelalias one called "char_honorgd_body1_zombie_alias" and put this in there.:

Spoiler: click to open...
Code Snippet
Plaintext
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY
main()
{
a[0] = "char_ger_honorgd_body1_g_upclean";
a[1] = "char_ger_honorgd_body1_g_rarmoff_1";
a[2] = "char_ger_honorgd_body1_g_larmoff_1";
a[3] = "char_ger_honorgd_body1_g_lowclean";
a[4] = "char_ger_honorgd_body1_g_rlegoff_1";
a[5] = "char_ger_honorgd_body1_g_llegoff_1";
a[6] = "char_ger_honorgd_body1_g_legsoff_1";
a[7] = "char_ger_honorgd_bodyz1_1";
return a;
}

and the other you put "char_honorgd_body2_zombie_alias" and you put this in there:

Spoiler: click to open...
Code Snippet
Plaintext
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY
main()
{
a[0] = "char_ger_honorgd_body1_g_upclean";
a[1] = "char_ger_honorgd_body1_g_rarmoff_2";
a[2] = "char_ger_honorgd_body1_g_larmoff_2";
a[3] = "char_ger_honorgd_body1_g_lowclean";
a[4] = "char_ger_honorgd_body1_g_rlegoff_2";
a[5] = "char_ger_honorgd_body1_g_llegoff_2";
a[6] = "char_ger_honorgd_body1_g_legsoff_1";
a[7] = "char_ger_honorgd_bodyz2_1";
return a;
}

No if I need to add models to "char_ger_honorgd_bodyzalias" but just in case the add.
So should be working, so I do not work.

Greetings!!!!!!
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: RamboBadass on April 26, 2014, 10:21:18 pm
good to hear it works nicely. your all welcome I ported the models
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jjbradman on April 27, 2014, 12:33:38 am
i did replace the funtion in zombiemode_spawner and when you get a headshot the zombied hat models just keeps floating
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: RamboBadass on April 27, 2014, 02:16:05 am
i did replace the funtion in zombiemode_spawner and when you get a headshot the zombied hat models just keeps floating
roflmao
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jei9363 on April 27, 2014, 02:39:18 am
i did replace the funtion in zombiemode_spawner and when you get a headshot the zombied hat models just keeps floating

lemme know how this goes

Code Snippet
Plaintext
zombie_head_gib( attacker )
{
if ( is_german_build() )
{
return;
}

if( IsDefined( self.head_gibbed ) && self.head_gibbed )
{
return;
}

if( !isDefined( level.head_gibs_this_frame ) )
{
level thread cap_zombie_head_gibs();
}

if( level.head_gibs_this_frame >= level.max_head_gibs_per_frame )
{
return;
}

level.head_gibs_this_frame++;

self.head_gibbed = true;
self zombie_eye_glow_stop();

size = self GetAttachSize();
for( i = 0; i < size; i++ )
{
model = self GetAttachModelName( i );
if( IsSubStr( model, "head" ) )
{
// SRS 9/2/2008: wet em up
self thread headshot_blood_fx();
if(self.zomb_text == "zom_guard")
{
precacheModel("bo2_c_zom_guard_hat");
self.hatmodel_launch = spawn("script_model",self.origin + (0,0,64));
self.hatmodel_launch setmodel("bo2_c_zom_guard_hat");
self.hatmodel_launch PhysicsLaunch( self.hatmodel_launch.origin, (0,0,5000) );
self.hatmodel_launch thread timed_delete(5);

self Detach("bo2_c_zom_guard_hat", "" , true);
}

self play_sound_on_ent( "zombie_head_gib" );

self Detach( model, "", true );
self Attach( "char_ger_honorgd_zomb_behead", "", true );
break;
}
}

self thread damage_over_time( self.health * 0.2, 1, attacker );
}
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jjbradman on April 27, 2014, 03:13:05 am
thanks it worked :D but now der riese zombie hats stay floating :l lol

nevermind i added an if for der rise ones. thanks!
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jei9363 on April 27, 2014, 02:32:48 pm
update, sorry this will make the hat fly off

Code Snippet
Plaintext
zombie_head_gib( attacker )
{
if ( is_german_build() )
{
return;
}

if( IsDefined( self.head_gibbed ) && self.head_gibbed )
{
return;
}

if( !isDefined( level.head_gibs_this_frame ) )
{
level thread cap_zombie_head_gibs();
}

if( level.head_gibs_this_frame >= level.max_head_gibs_per_frame )
{
return;
}

level.head_gibs_this_frame++;

self.head_gibbed = true;
self zombie_eye_glow_stop();

size = self GetAttachSize();
for( i = 0; i < size; i++ )
{
model = self GetAttachModelName( i );
if( IsSubStr( model, "head" ) )
{
// SRS 9/2/2008: wet em up
self thread headshot_blood_fx();
if(self.zomb_text == "zom_guard")
{
precacheModel("bo2_c_zom_guard_hat");
self.hatmodel_launch = spawn("script_model",self.origin + (0,0,64));
self.hatmodel_launch setmodel("bo2_c_zom_guard_hat");
self.hatmodel_launch PhysicsLaunch( self.hatmodel_launch.origin, (0,0,5000) );
self.hatmodel_launch thread timed_delete(5);

self Detach("bo2_c_zom_guard_hat", "" , true);
}

self play_sound_on_ent( "zombie_head_gib" );

self Detach( model, "", true );
self Attach( "char_ger_honorgd_zomb_behead", "", true );
break;
}
}

self thread damage_over_time( self.health * 0.2, 1, attacker );
}
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: DeletedUser on April 27, 2014, 02:55:45 pm
Do you plan on trying to do this with every map exclusive zombie group? Would be another amazing feat done by BamSkater! Keep up the great work bro! :D
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jei9363 on April 27, 2014, 04:37:56 pm
If someone requests it and offers me the DLC models I can add them almost instantly now  ;D

any requests?

here's my setup

Code Snippet
Plaintext
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY
main()
{
self.body_select_num = randomint(2);

if(self.body_select_num == 0)
{
self setModel("bo2_c_zom_inmate_body1");
self.zomb_text = "inmate_body1";
self.headModel = codescripts\character::randomElement(xmodelalias\char_inmate_zombie_head_alias::main());
self attach(self.headModel, "", true);
}

if(self.body_select_num == 1)
{
self setModel("bo2_c_zom_guard_body");
self.zomb_text = "zom_guard";
self.headModel = "bo2_c_zom_zombie_mask_head";
self attach(self.headModel, "", true);
self attach("bo2_c_zom_guard_hat", "", true);
}


self.voice = "german";

self.torsoDmg1 = "bo2_c_zom_" + self.zomb_text + "_g_upclean";
self.torsoDmg2 = "bo2_c_zom_" + self.zomb_text + "_g_rarmoff";
self.torsoDmg3 = "bo2_c_zom_" + self.zomb_text + "_g_larmoff";
self.torsoDmg4 = "bo2_c_zom_" + self.zomb_text + "_g_rarmoff";
self.torsoDmg5 = "char_ger_honorgd_body1_g_behead";
self.legDmg1 = "bo2_c_zom_" + self.zomb_text + "_g_lowclean";
self.legDmg2 = "bo2_c_zom_" + self.zomb_text + "_g_rlegoff";
self.legDmg3 = "bo2_c_zom_" + self.zomb_text + "_g_llegoff";
self.legDmg4 = "bo2_c_zom_" + self.zomb_text + "_g_legsoff";

self.gibSpawn1 = "char_ger_honorgd_body1_g_rarmspawn";
self.gibSpawnTag1 = "J_Elbow_RI";
self.gibSpawn2 = "char_ger_honorgd_body1_g_larmspawn";
self.gibSpawnTag2 = "J_Elbow_LE";
self.gibSpawn3 = "char_ger_honorgd_body1_g_rlegspawn";
self.gibSpawnTag3 = "J_Knee_RI";
self.gibSpawn4 = "char_ger_honorgd_body1_g_llegspawn";
self.gibSpawnTag4 = "J_Knee_LE";
}

precache()
{
//codescripts\character::precacheModelArray(xmodelalias\char_ger_honorgd_bodyzalias::main());
codescripts\character::precacheModelArray(xmodelalias\char_inmate_zombie_head_alias::main());
codescripts\character::precacheModelArray(xmodelalias\char_inmate_zombie_alias::main());
codescripts\character::precacheModelArray(xmodelalias\char_guard_zombie_head_alias::main());
codescripts\character::precacheModelArray(xmodelalias\char_guard_zombie_alias::main());

precacheModel("char_ger_honorgd_body1_g_rarmspawn");
precacheModel("char_ger_honorgd_body1_g_larmspawn");
precacheModel("char_ger_honorgd_body1_g_rlegspawn");
precacheModel("char_ger_honorgd_body1_g_llegspawn");
precacheModel("char_ger_honorgd_body1_g_upclean");
precacheModel("char_ger_honorgd_body1_g_behead");
}

and I add my own precache array files

Code Snippet
Plaintext
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY
main()
{
a[0] = "bo2_c_zom_guard_body";
a[1] = "bo2_c_zom_guard_body_g_larmoff";
a[2] = "bo2_c_zom_guard_body_g_legsoff";
a[3] = "bo2_c_zom_guard_body_g_llegoff";
a[4] = "bo2_c_zom_guard_body_g_lowclean";
a[5] = "bo2_c_zom_guard_body_g_rarmoff";
a[6] = "bo2_c_zom_guard_body_g_rlegoff";
a[7] = "bo2_c_zom_guard_body_g_upclean";
a[8] = "bo2_c_zom_guard_hat";
return a;
}




Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: DeletedUser on April 27, 2014, 05:01:23 pm
i dont have any models (srry) but id like to see a shangri-la package, Nuketown and or a Green-Run package! that would be awesome! keep up the great work Bam! ;D
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: shippuden1592 on April 29, 2014, 03:55:31 pm
I count on all models of BO1 DLCs if you're interested.
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: RamboBadass on April 29, 2014, 04:57:43 pm
I count on all models of BO1 DLCs if you're interested.
Skype me
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: fatboypro on May 13, 2014, 11:39:22 pm
why are my zombie the default player model when i play my map?
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: chromastone10 on May 28, 2014, 07:05:07 pm
can anyone else make crawlers? because I cant seem to make any :/
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: Alerion on May 28, 2014, 07:07:38 pm
can anyone else make crawlers? because I cant seem to make any :/

That shouldn't be caused by the custom models.. when a model is missing it automatically changes back to the Der Riese zombies.
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: chromastone10 on May 28, 2014, 07:14:19 pm
I was able to make crawlers but then I added the models and now I cant
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: FATKIDSLOV3CAK3 on May 29, 2014, 12:28:02 pm
I was able to make crawlers but then I added the models and now I cant

yh i can still make crawlers on my map chroma and i have these models working fine with mine

Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: HitmanVere on May 29, 2014, 01:12:32 pm
I count on all models of BO1 DLCs if you're interested.

Can you give me COTD zombies, please?
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: chromastone10 on May 29, 2014, 04:46:31 pm

yh i can still make crawlers on my map chroma and i have these models working fine with mine

is there a script or somehting somewhere that disables zombie gibbing or making crawlers?
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jei9363 on May 29, 2014, 06:07:19 pm
is there a script or somehting somewhere that disables zombie gibbing or making crawlers?

Code Snippet
Plaintext
self thread zombie_gib_on_damage(); 

in _zombiemode_spawner.gsc

assuming you changed it for a boss?
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: chromastone10 on May 29, 2014, 06:36:51 pm
Code Snippet
Plaintext
self thread zombie_gib_on_damage(); 

in _zombiemode_spawner.gsc

assuming you changed it for a boss?

I still have it, I am using the zombiemode_spawner you sent me though, the one that has bo style spawning, my friend did make some changes to it but I dont think he disabled crawlers

Post Merge: May 29, 2014, 07:16:29 pm
ok ya, I unchecked the zombiemode_spawner that you sent me bam and now I can make crawlers but I want to use the BO stye spawning :(
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: jei9363 on May 30, 2014, 02:40:23 pm
my file probably has it commented out because i had it disabled in bbf2
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: pashan on June 02, 2014, 04:34:37 pm
you should make one for origins and buried zombies.
Title: Re: [Drag-and-Drop] Mob of the Dead zombies in your map!
Post by: OfficialMT22 on August 28, 2014, 12:59:06 pm
i cant seem to make crawlers... zombies legs blow off but then zombies get real stiff as if your in radiant looking at an actor/axis