UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Scripted zombie(all types) & dog spawners

broken avatar :(
Created 3 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
629 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Howdy,

Here i have created scripted zombie spawners(all types) & dog spawners.
For zombie spawners "all types" i mean:
risers
barriers
&
non-barrier-non-riser.

CREDITS:
MakeCents - for his "freakshow" spawner mod. From his mod i was able to understand how spawning works.
I figured out how to spawn risers, dogs and barrier zombs by myself. But only after what i learnt from MakeCents mod. So props to him!
& of course the "gang":
JohnDoe
Numan
Dr. Dronken
 - for all their help along the way. :)

Link to the steam mod folder
https://mega.nz/file/RgQElLrY#18T7xXlRXH6YEJiX9XXGrR0yzWGgFIU4Jg9rp4mqg2Q

Link to the map_source file
https://mega.nz/file/xhQkWZxI#nDpoFWMFi_1y1-wrk5DnfMBoOWx2XvU0SV3_wYQaoys

End result video:
https://www.youtube.com/watch?v=h6ChVamMO_g&ab_channel=PhilGibson
Video Note: I triggered the riser spawner trigger twice and the reason 1 spawns in start_zone is becuase the struct in front of the trigger is a start_zone struct and obv the 1 in the other room is the start_zone/start_zone struct. More details on why this is, is mentioned below.

NOTE:
For Risers:
The riser spawners only spawn on "start_zone" riser structs atm.
When i figure out how to change that ill then update this.
Theres no code bugs that im aware of. The risers only spawning on start_zone structs is only due to my lack of knowledge.
But ill figure it out at some point and update this as mentioned above.

For Dogs:
To use scripted dogs you have to have dogs enabled(obv) & then also have a start_zone volume and start_zone dog struct but... your dogs will spawn on your struct.

Installation:
Code Snippet
Plaintext
Download the .zip file and add the-
scripted_dogs.gsc file
& the-
scripted_zombies.gsc file to your root>mods>mapname>maps folder

Downlaod the map_source file. Then open it and copy what ever spawners/trigs you want to use.

in mapname.gsc
add-
maps\scripted_zombies::init();
thread maps\scripted_dogs::init();
under-
maps\_zombiemode::main();

Then-

open _zombiemode_spawner.gsc

search-
zombie_think() func

then under-
else
{
    max_dist = 500;
}

add-
if( isDefined( self.script_string ) && isSubStr( self.script_string, "non_barrier_non_riser" ) )
{
    self zombie_setup_attack_properties();
    self thread find_flesh();
    return;
}
if( isDefined( self.script_string ) && isSubStr( self.script_string, "zomb_group" ) )
{
    self zombie_setup_attack_properties();
    self thread find_flesh();
    return;
}
Hope you enjoy it!
Phil

 
Loading ...