Need Help pros

40 views
Skip to first unread message

Musaad Al Sudayri

unread,
Jun 24, 2010, 9:13:44 AM6/24/10
to aoc-dev
Hello there

I just needed some help with adding some simple scripts to a good
DeathMatch Map that we usualy play

now this is the script of the map after I opened as note:

---------------Script SRART--------------

/* ******* MICHI ALL CLEAR ******** */
/* 2008 */
/* Created by 2Do */
/* ************************************ */
<PLAYER_SETUP>
random_placement
/* ************************************ */
<LAND_GENERATION>

start_random
percent_chance 33
#define FOREST_MAP
percent_chance 33
#define ALPINE_MAP
percent_chance 34
#define TROPICAL_MAP
end_random

if FOREST_MAP
base_terrain FOREST
elseif ALPINE_MAP
base_terrain PINE_FOREST
elseif TROPICAL_MAP
base_terrain JUNGLE
endif
create_player_lands
{
terrain_type GRASS2
land_percent 96
base_size 8
left_border 5
right_border 5
top_border 5
bottom_border 5
border_fuzziness 10
set_zone_by_team
other_zone_avoidance_distance 26

}

/* ************************************ */
<OBJECTS_GENERATION>

/* PLAYER START OBJECTS */

create_object TOWN_CENTER
{
set_place_for_every_player
group_placement_radius 18
min_distance_to_players 0
max_distance_to_players 0
}

create_object VILLAGER
{
number_of_objects 12
set_place_for_every_player
min_distance_to_players 7
max_distance_to_players 7
}

/* BIG GOLD */
create_object GOLD
{
number_of_objects 20
group_placement_radius 2
set_tight_grouping
set_gaia_object_only
set_place_for_every_player
min_distance_to_players 10
max_distance_to_players 15
min_distance_group_placement 7
}
/* MEDIUM GOLD */
create_object GOLD
{
number_of_objects 16
group_placement_radius 2
set_tight_grouping
set_gaia_object_only
set_place_for_every_player
min_distance_to_players 25
max_distance_to_players 40
min_distance_group_placement 7
max_distance_to_other_zones 7
}
/* FAR GOLD */
create_object GOLD
{
number_of_objects 15
group_placement_radius 1
set_tight_grouping
set_gaia_object_only
set_place_for_every_player
min_distance_to_players 33
max_distance_to_players 66
min_distance_group_placement 7
max_distance_to_other_zones 7
}

/* NEAR STONE */

create_object STONE
{
number_of_objects 18
group_placement_radius 2
set_tight_grouping
set_gaia_object_only
set_place_for_every_player
min_distance_to_players 15
max_distance_to_players 20
min_distance_group_placement 7
max_distance_to_other_zones 7
}

/* MEDIUM STONE */
create_object STONE
{
number_of_objects 15
group_placement_radius 2
set_tight_grouping
set_gaia_object_only
set_place_for_every_player
min_distance_to_players 20
max_distance_to_players 25
min_distance_group_placement 7
max_distance_to_other_zones 7
}
/* FAR STONE */
create_object STONE
{
number_of_objects 12
group_placement_radius 2
set_tight_grouping
set_gaia_object_only
set_place_for_every_player
min_distance_to_players 30
max_distance_to_players 40
min_distance_group_placement 7
max_distance_to_other_zones 7
}
/* ****************************************************** */

---------------Script END--------------

As you see each player starts with 10 villagers ,
what I want was to
add to the chinese civil 5 more villagers as total 15
& to add for mayans 3 more as 13 villagers total

Now we mostly pick random civs so I need the exact script that does
that please.
I tried to do it by my own but I couldnt figure out what they ment by
this....

Example:

#load-if-defined DEATH-MATCH
(defconst dark-age-villagers 6)
#else
(defconst dark-age-villagers 22)
#end-if


also we play post imp age and idk what word to use in there.

the 2nd and last add I wish you to add please is a text message that
tells each team what the other team civils are ... and if you please
could make each civil name with the same color of that civil player
is.
( Note: the text message will be just to the other team , so they dont
see their own civs names , and each team can see just three words ...
example: Franks Britons Mayans )

I also tried to do it by my own but I couldnt figure out what they
ment by this....

Example:

#load-if-defined BRITON-CIV
(defrule
(true)
=>
(chat-to-all "I am Briton")
(disable-self)
)
#end-if

#load-if-defined TURKISH-CIV
(defrule
(true)
=>
(chat-to-all "I am Turkish")
(disable-self)
)
#end-if

#load-if-defined JAPANESE-CIV
(defrule
(true)
=>
(chat-to-all "I am Japanese")
(disable-self)
)
#end-if


I really wish you could help me with that

thanks

Musaad Al Sudayri

unread,
Jun 24, 2010, 5:01:15 PM6/24/10
to aoc-dev
Hi again

Sorry !  .. I just notice that this map version has 12 villagers set not 10 as I explained earlier .. 

create_object VILLAGER
{
 number_of_objects 12
 set_place_for_every_player
 min_distance_to_players       7
 max_distance_to_players       7
 }

so I will change this script part as  (( number_of_objects 10 ))
and the number of villagers I asked to be added before remains the same , chinese 15 , mayans 13

I just wanted to be sure that everything is clear so I don't mess up your thoughts

thank you very much
Reply all
Reply to author
Forward
0 new messages