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

need an experienced scripter

broken avatar :(
Created 8 years ago
by ville88
0 Members and 1 Guest are viewing this topic.
2,327 views
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 2 months ago
Posts
303
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
who knows how to build a zone in radiant?
My unsuccessful attempt ...  http://www.mediafire.com/download/5q66s2srhyx7lqe/nazi_zombie_return.zip
on this foundation:




   maps\_zombiemode::main("receiver_zone_spawners");

   level.zone_manager_init_func = ::factory_zone_init;
   level thread maps\_zombiemode_zone_manager::manage_zones( "receiver_zone" );

//
//   Create the zone information for zombie spawning
//
factory_zone_init()
{
   // Note this setup is based on a flag-centric view of setting up your zones.  A brief
   //   zone-centric example exists below in comments

   // Outside East Door
   add_adjacent_zone( "receiver_zone",      "outside_east_zone",   "enter_outside_east" );

   // Outside West Door
   add_adjacent_zone( "receiver_zone",      "outside_west_zone",   "enter_outside_west" );

   // Wnuen building ground floor
   add_adjacent_zone( "wnuen_zone",      "outside_east_zone",   "enter_wnuen_building" );

   // Wnuen stairway
   add_adjacent_zone( "wnuen_zone",      "wnuen_bridge_zone",   "enter_wnuen_loading_dock" );

   // Warehouse bottom
   add_adjacent_zone( "warehouse_bottom_zone", "outside_west_zone",   "enter_warehouse_building" );

   // Warehosue top
   add_adjacent_zone( "warehouse_bottom_zone", "warehouse_top_zone",   "enter_warehouse_second_floor" );
   add_adjacent_zone( "warehouse_top_zone",   "bridge_zone",         "enter_warehouse_second_floor" );

   // TP East
   add_adjacent_zone( "tp_east_zone",         "wnuen_zone",         "enter_tp_east" );
   flag_array[0] = "enter_tp_east";
   flag_array[1] = "enter_wnuen_building";
   add_adjacent_zone( "tp_east_zone",         "outside_east_zone",   flag_array,         true );

   // TP South
   add_adjacent_zone( "tp_south_zone",         "outside_south_zone",   "enter_tp_south" );

   // TP West
   add_adjacent_zone( "tp_west_zone",         "warehouse_top_zone",   "enter_tp_west" );
   flag_array[0] = "enter_tp_west";
   flag_array[1] = "enter_warehouse_second_floor";
   add_adjacent_zone( "tp_west_zone",         "warehouse_bottom_zone", flag_array,      true );

   /*
   // A ZONE-centric example of initialization
   //   It's the same calls, sorted by zone, and made one-way to show connections on a per/zone basis

   // Receiver zone
   add_adjacent_zone( "receiver_zone",      "outside_east_zone",   "enter_outside_east",      true );
   add_adjacent_zone( "receiver_zone",      "outside_west_zone",   "enter_outside_west",      true );

   // Outside East Zone
   add_adjacent_zone( "outside_east_zone",   "receiver_zone",      "enter_outside_east",      true );
   add_adjacent_zone( "outside_east_zone",   "wnuen_zone",         "enter_wnuen_building",      true );

   // Wnuen Zone
   add_adjacent_zone( "wnuen_zone",      "tp_east_zone",         "enter_tp_east",         true );
   add_adjacent_zone( "wnuen_zone",      "wnuen_bridge_zone",   "enter_wnuen_loading_dock",   true );

   // TP East
   add_adjacent_zone( "tp_east_zone",      "wnuen_zone",         "enter_tp_east",         true );
   flag_array[0] = "enter_tp_east";
   flag_array[1] = "enter_wnuen_building";
   add_adjacent_zone( "tp_east_zone",      "outside_east",         flag_array,               true );
   */
}


//
Last Edit: January 08, 2016, 02:53:43 am by ville88
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Code Snippet
Plaintext
add_adjacent_zone( "<zone_from>",   "<zone_to>",         "<script_flag>" );

<zone_from> = first zone you would like to link. This is typically the zone the player is already in as is buying from.
<zone_to> = the zone that is being activated
<script_flag> = the script_flag on the blocker trigger that will tell the script to activate the zone

Last Edit: January 08, 2016, 03:04:11 am by daedra descent
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 2 months ago
Posts
303
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
Code Snippet
Plaintext
add_adjacent_zone( "<zone_from>",   "<zone_to>",         "<script_flag>" );

<zone_from> = first zone you would like to link. This is typically the zone the player is already in as is buying from.
<zone_to> = the zone that is being activated
<script_flag> = the script_flag on the blocker trigger that will tell the script to activate the zone

It is very difficult to translate ...

how it should look in the radiant?

info_volume: targetname - wnuen_zone     target - wnuen_zone_spawners
blocker: script_flag - enter_wnuen_building
axis_spawner_zombie:  targetname - wnuen_zone_spawners

like this?
Last Edit: January 08, 2016, 03:20:32 am by ville88
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
It is very difficult to translate ...

how it should look in the radiant?

info_volume: targetname - wnuen_zone     target - wnuen_zone_spawners
blocker: script_flag - enter_wnuen_building
axis_spawner_zombie:  targetname - wnuen_zone_spawners

like this?

Yes.
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 2 months ago
Posts
303
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
Yes.

does not work(((
zombies spawn only in "receiver zone"

broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
does not work(((
zombies spawn only in "receiver zone"

Did you do the script part right? If your using what you said before, it should look like this:

Code Snippet
Plaintext
add_adjacent_zone( "receiver_zone",      "wnuen_zone",   "enter_wnuen_building" );

Edit:

I'd really recommend using your own zone names and script_flag stuff. Not that it won't work, its just that its easier for you to figure out.

Last Edit: January 08, 2016, 04:10:11 am by daedra descent
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 2 months ago
Posts
303
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
Did you do the script part right? If your using what you said before, it should look like this:

Code Snippet
Plaintext
add_adjacent_zone( "receiver_zone",      "wnuen_zone",   "enter_wnuen_building" );

Edit:

I'd really recommend using your own zone names and script_flag stuff. Not that it won't work, its just that its easier for you to figure out.


just want to know how to construct the original map of the treyarch (der reise/ nazi_zombie_factory)
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet

just want to know how to construct the original map of the treyarch (der reise/ nazi_zombie_factory)

Your doing a remake then? All but a few use add_adjacent_zone. The only think you would be changing is what the script looks for in the map file, not how the function itself works.
broken avatar :(
×
broken avatar :(
Location: rueurope
Date Registered: 2 January 2012
Last active: 2 months ago
Posts
303
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
ville88's Groups
Your doing a remake then? All but a few use add_adjacent_zone. The only think you would be changing is what the script looks for in the map file, not how the function itself works.

I use all the files (csv,gsc,csc)  from nazi_zombie_factory(der reise). everything is working.but it does not work zone..

Only the creators (treayrch) know how things work in the MAP ) :-D
Last Edit: January 08, 2016, 04:37:51 am by ville88

 
Loading ...