UGX-Mods

Call of Duty 5: World at War => Downloadable Items for Mappers => Custom Maps, Mods & Tools => Scripts => Topic started by: shippuden1592 on October 09, 2021, 10:28:08 pm

Title: COD Online - Goliath
Post by: shippuden1592 on October 09, 2021, 10:28:08 pm

www.mediafire.com

 
Code Snippet
Plaintext
https://www.mediafire.com/file/soh9qtkfjrnartw/shippuden_utility.gsc/file
1.-Once unpacked and put everything in place to go to _zombiemode and add this:
Code Snippet
Plaintext
maps\_zombiemode_ai_goliath::init();
under:
Code Snippet
Plaintext
maps\_zombiemode_auto_turret::init();
2.-In radiant add prefab that comes in the rar "napalm_spawn" and put it in areas where you want to make napalm respawn
 
3.-In each info_volume have their areas add this:
Code Snippet
Plaintext
script_noteworthy    player_zone
4.-Go to _zombiemode_powerups and find this function "nuke_powerup( drop_item )" and below:
Code Snippet
Plaintext
if( zombies[i].animname == "boss_zombie" )
        {
            continue;
        }
add this:
Code Snippet
Plaintext
if( zombies[i].animname == "goliath_zombie" )
        {
            continue;
        }
search "check_for_instakill( player )" and below:
Code Snippet
Plaintext
if( self.animname == "boss_zombie" )
        {
            return;
        }
add this:
Code Snippet
Plaintext
if( self.animname == "goliath_zombie" )
        {
            return;
        }
5.-In this generic_human.atr below:
Code Snippet
Plaintext
body
{
put this:
Code Snippet
Plaintext
ai_goliath_atk_leap_01
    ai_goliath_atk_multi_01
    ai_goliath_atk_multi_02
    ai_goliath_atk_run_01
    ai_goliath_atk_single_01
    ai_goliath_atk_single_02
    ai_goliath_atk_sprint_01
    ai_goliath_death
    ai_goliath_ground_smash
    ai_goliath_headbutt
    ai_goliath_idle
    ai_goliath_push
    ai_goliath_roar
    ai_goliath_run
    ai_goliath_spawn_a
    ai_goliath_spawn_b
    ai_goliath_sprint
    ai_goliath_stumble_stationary
    ai_goliath_walk
6.-Add this to your mod.csv
Code Snippet
Plaintext
include,online_goliath

You are free de`modificar these:
Code Snippet
Plaintext
set_zombie_var( "goliath_first_round",            1 );         //Round to start + RandomIntRange( level.zombie_vars["goliath_rnd_min"], level.zombie_vars["goliath_rnd_max"] )
    set_zombie_var( "goliath_rnd_max",            5 );        //Maximum spawn next round between
    set_zombie_var( "goliath_rnd_min",            3 );        //smaller number of rounds from next spawn
    set_zombie_var( "goliath_health_multiplier",        25 );        //Increased life
    set_zombie_var( "goliath_alive",                false );    //goliath Live / Dead
    set_zombie_var( "goliath_damage_wonder",        80 );        //Wonder weapon damage
    set_zombie_var( "goliath_smash_cooldown",            250 );        //Time to strike again
    set_zombie_var( "goliath_smash_chance",            60 );        //Chance to attack
    set_zombie_var( "goliath_smash_distance",            90 );        //Distancia del impacto
    set_zombie_var( "goliath_smash_distance_plr",                15 );        //Impact distance
    set_zombie_var( "goliath_smash_damage_min",                15 );        //Maximum damage generated by impact
    set_zombie_var( "goliath_smash_damage_max",                15 );        //Minimal damage generated by impact
At the end use you like more ;)
Title: Re: COD Online - Goliath
Post by: Smol on December 04, 2021, 04:56:33 pm
Hi, Im getting this error in my console:
 
********************
ERROR: script runtime error
(see console for details)
undefined is not an array, string, or vector
********************
 
Pls help me
thx
Title: Re: COD Online - Goliath
Post by: shippuden1592 on January 03, 2022, 07:35:50 pm
 
Hi, Im getting this error in my console:
 
********************
ERROR: script runtime error
(see console for details)
undefined is not an array, string, or vector
********************
 
Pls help me
thx
 
Can you put developer 1 on the console and reload the map?
Title: Re: COD Online - Goliath
Post by: Smol on January 04, 2022, 05:36:35 am
I got him to work i think patching my map seemed to fix it :D.
appreciate your answer. btw can i use your hazmat boss and goliath at the same map?
Title: Re: COD Online - Goliath
Post by: shippuden1592 on January 04, 2022, 04:33:13 pm
I got him to work i think patching my map seemed to fix it :D.
appreciate your answer. btw can i use your hazmat boss and goliath at the same map?
 
Sure it can!
Title: Re: COD Online - Goliath
Post by: Smol on January 04, 2022, 05:26:06 pm
Insane work thanks.
1 problem is that only the hazmat is spawning but not the goliath
(map is gonna be out soon,hopefully.)


Double Post Merge: January 04, 2022, 06:43:35 pm
Ahw my bad im just stupid :(
Title: Re: COD Online - Goliath
Post by: shippuden1592 on January 05, 2022, 07:00:37 pm
 
Insane work thanks.
1 problem is that only the hazmat is spawning but not the goliath
(map is gonna be out soon,hopefully.)
 

Double Post Merge: January 04, 2022, 06:43:35 pm

Ahw my bad im just stupid :(
 
I try to do them separately or separately it doesn't work either
Title: Re: COD Online - Goliath
Post by: Smol on January 21, 2022, 09:46:35 pm
Hey shippuden1592
 
Goliath works great in Standoff :D
but i want to implement your ported bo1 wonderweapons.
The problem with the wonderweapons from your port is that they 1 shot the boss which i dont want to happen and i wanted to ask you if there is a way to fix this :/
 
Btw Did you update the pack with Gersch device and claymores and more?
 
Thanks
-Smol
Title: Re: COD Online - Goliath
Post by: shippuden1592 on January 23, 2022, 07:17:26 pm
Hey shippuden1592
 
Goliath works great in Standoff :D
but i want to implement your ported bo1 wonderweapons.
The problem with the wonderweapons from your port is that they 1 shot the boss which i dont want to happen and i wanted to ask you if there is a way to fix this :/
 
Btw Did you update the pack with Gersch device and claymores and more?
 
Thanks
-Smol
 
What wonder weapons are you using?
Title: Re: COD Online - Goliath
Post by: Smol on January 23, 2022, 09:24:08 pm
Im using the Zapgun and the babygun but it also happened with the FreezeGun and the Wunderwaffe
 
basicly every infinite damage wonder weapon
 
k works now :D
Title: Re: COD Online - Goliath
Post by: shippuden1592 on January 26, 2022, 08:01:56 pm
Im using the Zapgun and the babygun but it also happened with the FreezeGun and the Wunderwaffe
 
basicly every infinite damage wonder weapon
 
k works now :D
 
In all your wonderweapons add this line of code. Of are the others #include
Code Snippet
Plaintext
#include maps\shippuden_utility;
In each of your wonder weapon (gsc) files look for a line similar to this:
Code Snippet
Plaintext
for ( i = 0; i < zombies.size; i++ )
Sometimes I replace the letter i with the letters k or p.
But look for something similar to this line. In some codes there may be more than one. And under the brace ({) add this:
Code Snippet
Plaintext
    if( Is_Boss( zombies[i] ) )
    {
        continue;
    }
It should be like this:
Code Snippet
Plaintext
    for ( i = 0; i < zombies.size; i++ )
    {
        if ( Is_Boss( zombies[i] ) )
        {
            continue;
        }

        if ( !IsDefined( zombies[i] ) || !IsAlive( zombies[i] ) )
        {
            // guy died on us
            continue;
        }
       
        .
        .
        .
Remember to change the letter i inside the sentence: "if ( Is_Boss( zombies) )" to the letter used in this line: "for ( i = 0; i < zombies.size; i++ )"
Title: Re: COD Online - Goliath
Post by: ghetto_wizzz on May 16, 2022, 06:39:21 am
Hey shippuden, I got this console error about mid fight with one of the Goliath's
Code Snippet
Plaintext
dobj for xmodel 'c_zom_goliath_body_v2' has more than 128 bones (see console for details)
Any idea on how to fix the exceeded bone issue? Thanks in advanced ;)
Title: Re: COD Online - Goliath
Post by: Smol on May 21, 2022, 11:39:29 pm
Try to patch your map worked for me
Title: Re: COD Online - Goliath
Post by: ghetto_wizzz on May 25, 2022, 10:31:52 pm
Thanks for the Tip Smol! but sadly I was using my patch file for something else, So I couldn't just simply compile the patch.. But I haven't recieved this error since weirdly enough! If it happens again i'll most likely try to find a way to remove that model from the script seeing that it only called for that one specific Goliath.
Title: Re: COD Online - Goliath
Post by: YoLeeroy on August 10, 2023, 05:47:55 pm
KOOL! i keep getting a animation ai_goliath_atk_multi_02 not defined in generic_human error
Title: Re: COD Online - Goliath
Post by: YoLeeroy on August 15, 2023, 07:50:45 am
i dont understand do i use the prefab goliath or the actor zombie goliath