to use AT_TEAM put
The normal way to use it is in create_land, put the line
For the next team, e.g. team 2, use
Now, here's an important thing. You need to have as many create_land constructors as you have players on a team. So if you have 2 players on team 1, then you need to have two constructors using
Which player gets placed first? Which player gets placed second? I do not know.
Does
More note: the create_land constructors are read in order. If you have more constructors than players and are using
Well, lets say you have 5 assign_to AT_TEAM commands. But you only have 4 players. The first 4 commands are used. The fifth seems to be discarded.
to randomize land position, I suggest to use the rnd(MIN,MAX) function. rnd is short for random. Do not confused rnd with md like I tend to..
USA
katsup or mustard
#const AT_TEAM 2
and direct_placement
in player setupThe normal way to use it is in create_land, put the line
assign_to AT_TEAM 1 0 0
. This assigns a land to one player of the first team the game detects (not necessarily team 1)For the next team, e.g. team 2, use
assign_to AT_TEAM 2 0 0
Now, here's an important thing. You need to have as many create_land constructors as you have players on a team. So if you have 2 players on team 1, then you need to have two constructors using
assign_to AT_TEAM 1 0 0
Which player gets placed first? Which player gets placed second? I do not know.
Does
grouped_by_team
work with direct_placement
?More note: the create_land constructors are read in order. If you have more constructors than players and are using
assign_to AT_TEAM [1-4] 0 0
...Well, lets say you have 5 assign_to AT_TEAM commands. But you only have 4 players. The first 4 commands are used. The fifth seems to be discarded.
to randomize land position, I suggest to use the rnd(MIN,MAX) function. rnd is short for random. Do not confused rnd with md like I tend to..
land_position 0 0
starts at the left corner of the map. land_position 0 100
marks the bottom corner. so land_position 100 0
and land_position 100 100
are the top and right corners.USA
katsup or mustard