who knows how to build a zone in radiant?
My unsuccessful attempt ...
http://www.mediafire.com/download/5q66s2srhyx7lqe/nazi_zombie_return.zipon 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 );
*/
}
//