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

zombies and zoning

broken avatar :(
Created 9 years ago
by suckafoola
0 Members and 1 Guest are viewing this topic.
2,835 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 13 July 2015
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
suckafoola's Groups
suckafoola's Contact & Social Links
I currently have two zones in my map, each one separated by buyable doors. The thing is, Zombies that spawn from start zone wont cross o continue chasing me if I cross over to the second zone. They just stand there and not do anything. If I'm in the second One and zombies start spawning from the start zone,  then what they'll do is run over to where I placed placed player spawn points and just hang around there. I've placed pathbodes correctly and almost sure I've set up zones correctly in game file so I don't know what I'm doing wrong.

Any ideas?

As a side question, is there any way to make zombies spawn behind a window without barriers? I've tried but they spawn and don't move.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
Did you tick the 'DYNAMIC_PATH' spawnflag on the door-parts in radiant?


For you second question, try adding this KVP to the zombie-spawner when it's not behind barriers:

Code Snippet
Plaintext
script_string - zombie_chaser
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 15 September 2013
Last active: 4 years ago
Posts
50
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
GAM3VIDZ's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
GAM3VIDZ's Contact & Social LinksGAM3VIDZGAM3VIDZMy Website
Yea what BluntStuffy said, Dynamic_path in the entity window on the door. I had that issue on my last map, I was like zombie why you not follow me lol
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 13 July 2015
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
suckafoola's Groups
suckafoola's Contact & Social Links
I'll try this when I get the chance and I'll update you guys on what the outcome is. Thanks!

By the way, on the topic of doors, how do I make it so two doors with the same name slide open in opposite directions? I've tried making one door move -100 units and the other 100 units, but if I try doing that, both doors are set to the same number for the vector kvp :(. So what am I doing wrong? Is there a more simple way to do this other than what I'm trying to do?

Double Post Merge: July 25, 2015, 07:43:50 pm
Update: okay so checking dynapicpath worked like a charm! Thanks

I tried adding the zombie_chaser kvp, but it's still not working :/

Sorry for double post BTW don't know how to edit
Last Edit: July 25, 2015, 07:43:50 pm by suckafoola
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 15 September 2013
Last active: 4 years ago
Posts
50
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
GAM3VIDZ's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
GAM3VIDZ's Contact & Social LinksGAM3VIDZGAM3VIDZMy Website
for the zombies without a window try
Code Snippet
Plaintext
script_notworthy | find_flesh
this is what risers use to just find a player, not sure if it'll work though
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
not just risers, any zombie that starts of "on this side" of a barrier, so they look for a player and not a barrier

So not that you ever would, but regular zombies would use this logic too, if you were spawning them right by you or something silly like that
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 15 September 2013
Last active: 4 years ago
Posts
50
Respect
Forum Rank
Rotting Walker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
GAM3VIDZ's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
GAM3VIDZ's Contact & Social LinksGAM3VIDZGAM3VIDZMy Website
not just risers, any zombie that starts of "on this side" of a barrier, so they look for a player and not a barrier

So not that you ever would, but regular zombies would use this logic too, if you were spawning them right by you or something silly like that

but would those zombies jump through windows?
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
if they have the find flesh kvp no

they would still jump traverses, but zombie barriers they would ignore

without find flesh, they will target a window, after getting past the winder, they then default onto find flesh anyway ;)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 13 July 2015
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
suckafoola's Groups
suckafoola's Contact & Social Links
Well it's hard to explain the situation, so I'll just attach some screen shots. Basically I want that zombie that you see there to travel to that barrier-less window, jump over it, and target the player. Hopefully the screenshots help with that
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
asusming there is no barrier, but you have placed the zombie traverse

no kvp
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
for the zombies without a window try
Code Snippet
Plaintext
script_notworthy | find_flesh
this is what risers use to just find a player, not sure if it'll work though

That won't work since normal zombie spawners use the script_noteworthy - zombie_spawner allready. The find_flesh goes on the rise-struct normally, not on the spawner.
I added these line's in my spawner, that's how i made the script_string - zombie_chaser KVP work:

in the zombie_think() function in _zombiemode_spawner, right under these line's:

Code Snippet
Plaintext
	else
{
self notify("no_rise");
}

Add these;
Code Snippet
Plaintext
	if( IsDefined( self.script_string ) &&  self.script_string == "zombie_chaser" )
{
rise_struct_string = "find_flesh";
}


Zombies that have that script_string will still use traverse's ( wall-hop etc ), but will not look for barrier's ( wooden-boards )
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 13 July 2015
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
suckafoola's Groups
suckafoola's Contact & Social Links
Damn I hit my post limit yesterday so I couldnt reply in time and i completely forgot to post the link to the screenshots sorry!

Anyway, heres what I have http://imgur.com/a/RWFPs
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
That won't work since normal zombie spawners use the script_noteworthy - zombie_spawner allready. The find_flesh goes on the rise-struct normally, not on the spawner.
I added these line's in my spawner, that's how i made the script_string - zombie_chaser KVP work:

in the zombie_think() function in _zombiemode_spawner, right under these line's:

Code Snippet
Plaintext
	else
{
self notify("no_rise");
}

Add these;
Code Snippet
Plaintext
	if( IsDefined( self.script_string ) &&  self.script_string == "zombie_chaser" )
{
rise_struct_string = "find_flesh";
}


Zombies that have that script_string will still use traverse's ( wall-hop etc ), but will not look for barrier's ( wooden-boards )

lol forgot about the KVP, I recscripted spawner slightly, so mines a little different, whoops ;)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 13 July 2015
Last active: 9 years ago
Posts
54
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
suckafoola's Groups
suckafoola's Contact & Social Links
I'm still a little confused on what to do :/ like on my _zombiemode_spawner gsc file I have

self notify("do_rise");

not

self notify("no_rise");

like you do and there are other lines after it as well, so what am I supposed to do exactly?

 
Loading ...