Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP2-Creation
  SLIC SCENERIO HElP??

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   SLIC SCENERIO HElP?? Format for Better Printing
junito13
Settler
tallahasssee,fl usa
Mar 2001
posted March 06, 2001 05:14   Click Here to See the Profile for junito13Click Here to Email junito13  send a private message to junito13
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Can anyone provide me with a basic slic format for creating scenerio events such as , creating units or text on a certain turn?
Locutus
Prince
Apolyton Borg Hengelo/Enschede, The Netherlands
Nov 1999
posted March 14, 2001 06:37   Click Here to See the Profile for LocutusClick Here to Email Locutus  send a private message to LocutusSend a Message to UIN: 52912776 Visit Locutus's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Well, those examples are simple enough:

code:
HandleEvent(BeginTurn) 'SomeEvent' post {
location_t tmpLoc;
city_t tmpCity;

if (g.year == 100) { // in turn 100
Message(1, 'TestMessage'); // display a message for player 1 (normally the human player)
}
if (g.year == 25) { // in turn 25
GetCityByIndex(1, 0, tmpCity); // store oldest city of player 1 in tmpCity variable

// give player 0 (=barbarian) a warrior on a random tile 1 squares away from the oldest city of player 1:
CreateUnit(1, UnitDB(UNIT_WARRIOR), tmpCity.location, 0);
// give player 1 a warrior in his oldest city (random tile 0 squares away from oldest city == city itself):
CreateUnit(0, UnitDB(UNIT_WARRIOR), tmpCity.location, 1);
}
if (g.year == 125) { // in turn 125
MakeLocation(tmpLoc, 25, 40); // store location (25, 40) in variable tmpLoc

// give player 3 a hoplite on location (25, 40):
CreateUnit(3, UnitDB(UNIT_HOPLITE), tmpLoc, 0);
}
}

Message 'TestMessage' {
Text(ID_TEST_MESSAGE); // displays text TEST_MESSAGE (must be defined in text files) in a message
}


Hope this helps...
[This message has been edited by Locutus (edited March 14, 2001).]

junito13
Settler
tallahasssee,fl usa
Mar 2001
posted March 15, 2001 11:20   Click Here to See the Profile for junito13Click Here to Email junito13  send a private message to junito13
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hey well thanks alot Locutus, i do appreciate your help.
Apolyton Civilization Site Forums
> > > CtP2-Creation Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

AltaVista Type or paste text or Web address (beginning with http://) here:
Powered
by Systran
Translate from: 

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site