Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Clash of Civilizations > The script language and the Clash program engine.
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Blade Runner is offline Blade Runner
Prince
Belgium
Jan 1970
time: 06:13
Question  Old Post 14-03-2000 17:25
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
The script language and the Clash program engine. Got spare money?

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 is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Thumbs up  Old Post 17-03-2000 10:34 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

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.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0305 seconds (85.02% PHP - 14.98% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net