UGX-Mods

Call of Duty 5: World at War => Help Desk => Topic started by: ProRevenge on February 26, 2015, 08:01:17 pm

Title: Help with doors, zones and spawners
Post by: ProRevenge on February 26, 2015, 08:01:17 pm
Im new to mapping and have a small box map im using to get used to the mod tools, and I am trying to set up a second room, the first zone in room 1 is start_zone and is working properly with spawners and everything.

however after buying the debris I set up to the second zone  zone_2 the rounds begin to skip and I get something along the lines of "you have placed exactly 1 dog struct in this zone start_zone" when im not even in the start zone but the other one, I set zone adjacency in mapname.gsc and set up the debris and spawner using the zombiemodding tuts, however I think those are dated as they told me to set up a wallgun with triggers, models and kvps etc when there are premade prefabs like the perks.

the spawner has a yellow line going from the zone (zone_2) to it in radiant, with a red line from the spawner to debris.

if anyone could help me solve it and get it so that when the debris is bought, zone 2 activates and the zombies there spawn it would be appreciated
Title: Re: Help with doors, zones and spawners
Post by: HitmanVere on February 26, 2015, 08:18:06 pm
Door trigger needs to have script_flag enter_zone_2. And there shouldnt be line coming from spawner to debris. Also check, if zones volume is set right
Title: Re: Help with doors, zones and spawners
Post by: ProRevenge on February 26, 2015, 08:21:20 pm
I think thats my problem, the spawnflag enter_zone_2 is on the debris itself (a bookshelf) rather than the trigger.

Im not on my PC now ive just gone off but ill try it tomorrow and see if it works.

So should the spawner be tied to JUST the zone, and he will spawn correctly?
Title: Re: Help with doors, zones and spawners
Post by: Harry Bo21 on February 27, 2015, 01:59:00 am
The error text you described is normal if the zone isnt active

Its part of zonemanager, on start up, it checks all the zones are set up right, if theres a problem it tells you right away

Wont neccesarily function wrong, its just telling you that you "should" have at least 2 risers and dogs in each zone, but you dont, thats all :)

You can get rid of those warnings if you want (in fact youll need to before you release your mod anyway)

And yeah i believe the script_flag needs to be on the trigger
Title: Re: Help with doors, zones and spawners
Post by: HitmanVere on February 27, 2015, 06:21:17 pm
So should the spawner be tied to JUST the zone, and he will spawn correctly?

Yes, and yes to as well on script_flag needs to be in trigger
Title: Re: Help with doors, zones and spawners
Post by: ProRevenge on February 27, 2015, 09:16:14 pm
Got it working now, thanks! :)

unrelated question: can I change the name of a custom map after I have made it? if im using UGX script placer 2 to create it because I cant think of a name before ive even made a map.
Title: Re: Help with doors, zones and spawners
Post by: HitmanVere on February 28, 2015, 06:52:55 am
Got it working now, thanks! :)

unrelated question: can I change the name of a custom map after I have made it? if im using UGX script placer 2 to create it because I cant think of a name before ive even made a map.

You would need to run script placer again to change console name, but you can change folder name later on, so it shows up as new name in game and not as console command.

Also, mark topic as solved, since my answer helped you