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
  Clash of Civilizations
  The script language and the Clash program engine.

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:   The script language and the Clash program engine. Format for Better Printing
Blade Runner
Warlord
Belgium
b.02-15-99
posted March 14, 2000 07:25   Click Here to See the Profile for Blade RunnerClick Here to Email Blade Runner  send a private message to Blade Runner
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
1. The most important trigger functions: BeginTurn, BeginXPlayerTurn, EndXPlayerTurn, EndTurn, PlayerUnitDefeated, PlayerAreaOccupied, PlayerDefeated, PlayerWin, UnitMove, LandUnitMove, SeaUnitMove, AirUnitMove, UnitMoveXYField, WonderReadyNextTurn, WonderReady, BuildingReadyNextTurn,BuildingReady, UnitReady, Hunger, LowFund, DiplomaticMessageArrived, DiplomaticMessageSent. If you have new ideas please let me know!
2. We must built-in a control function to check if we need to call a trigger script (it has user code) or not (empty). IMO the best to check it in the start procedure, and store it in a boolean array.
3. We need to declare an interface with the most important variable values. These values are copies of the original values in the game engine. A copy program will copy the real values from the engine to the dummy scripts variables, and copy back (with value control!). We need to provide also a few read only values too.
4. We must implement a flexible MessageBox function too. The game engine and the user script can call this function. IMO we need four different type of them:
(1) normal MessageBox(„Your capital is defeated!”)
(2) radiobuttons MessageBoxR(„Your XY units are too weak! You want to:”, Upgrade them, Disband them, Do nothing) : number
(3) value MessageBoxV(„Which year you want to start the game?”, number) : number
(4) MessageBoxC(„You realy want to disband this unit?”) : boolean
5. I just cannot detect the entire possible user programming problems with the scripts. (I.e. endless cycles, etc.) So the user has a freedom to write perfect scenarios or they can defect the system too.
6. I have a few ideas about the important data values for the users: (map data file, users data file, technology tree, turns, wonders, units, buildings) If you have new ideas please let me know!

Blade Runner

[This message has been edited by Blade Runner (edited March 14, 2000).]

Mark_Everson
Clash of Civilizations
Project Lead

Canton, MI, USA
b.02-15-99
posted March 16, 2000 12:34   Click Here to See the Profile for Mark_EversonClick Here to Email Mark_Everson  send a private message to Mark_EversonSend a Message to UIN: 30578681 Visit Mark_Everson's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hi Blade Runner!

This looks reasonable to me, although my brains are admittedly mushy at this point. You might want to look in the Civ3 list and suggestions area and see if they have any additional good suggestions there for trigger types etc.

Apolyton Civilization Site Forums
> > > Clash of Civilizations 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.

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