snippets.aoe2map.net

Share Age of Empires 2 Random Map Script snippets online

Capture the Relic for WololoKingdoms (part3/3): Spawning the relic and monastery
/* to play the Capture the Relic gamemode on Wololokingdoms you need to put victory condition: Relics */

/* part3/3: Spawning the relic and monastery */

<OBJECTS_SELECTION>
/* Spawning the monastery for each player */
/* put this section underneath the towncenter, scout and villager generation parts */

create_object MONASTERY
{
   set_place_for_every_player
   number_of_objects           1
   min_distance_to_players 10
   max_distance_to_players 12
   min_distance_group_placement 4
   max_distance_to_other_zones 4
}

/* REMOVE all relics from the map and replace by: */

create_object RELIC
{
   number_of_objects           1
   place_on_specific_land_id 9
   min_distance_to_players 0
   max_distance_to_players 0
}