|
TheBirdMan
|
 |
A real Master of CTP-PBEM - together with all the others.....
Sep 1999 time: 05:13
|
|
I found this in a script.slc from a senario. Someone else has made the stuff.
But I have used it myself in the pbem games "Fly High" and "Giant Bird" with 10 settlers and 10 advances in the first game and 15 settlers in the second.
This below is for 5 settlers but you can add more, just add
CreateUnit(player,UnitType("UNIT_SETTLER"),unit.1.location,x);
where x are next number. It works. Remember one line per settler.
trigger 'MakeSettlers' when (unit.beginturn && (g.year == 0)) {
message(player.1, 'MakeSettlersMessage');
}
messagebox 'MakeSettlersMessage' {
Abort();
CreateUnit(player,UnitType("UNIT_SETTLER"),unit.1.location,0);
CreateUnit(player,UnitType("UNIT_SETTLER"),unit.1.location,1);
CreateUnit(player,UnitType("UNIT_SETTLER"),unit.1.location,2);
CreateUnit(player,UnitType("UNIT_SETTLER"),unit.1.location,3);
CreateUnit(player,UnitType("UNIT_SETTLER"),unit.1.location,4);
KillUnit(unit.1);
GrantAdvance(player,Agriculture);
GrantAdvance(player,Toolmaking);
GrantAdvance(player,Mining);
GrantAdvance(player,Domestication);
GrantAdvance(player,Bronze_Working);
}
For the advances in this file I have also have added some more, using the same advances also in the DiffDB.txt (remember the DiffDB.txt is divided in skill-sections).
Something like
ADVANCE_STONE_WORKING 100 100
ADVANCE_SHIP_BUILDING 100 100
in the DiffDB.txt and added
GrantAdvance(player,Stone_Working);
GrantAdvance(player,Ship_Building);
in script.slc.
------------------
Woodstock was here!
|