Apolyton Civilization Site Forums
  Clash of Civilizations
  Game modify

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:   Game modify Format for Better Printing
Blade Runner
Warlord
Belgium
b.02-15-99
posted May 27, 1999 05:06   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
Scenario making and game edit.

Just a few thought about the scenario possibility and game editing. Please send me feedback. If something is not clear (I'm not a native speaker) just ask, I try to explain again.

1. We need to think about the game modify from the start. I suspect the other games (CTP, CIVI &II, SMAC) just get these parts, when the game was finished. (I don't speak about the script and text files, which contain game information). We can get a better system with less effort if we plan these parts together with the main part of the game. The another advantage is to get working editors from the beginning: we can use to produce quickly different rules, game situations to check the game balance, the interface parts, the AI and kill the bugs.
2. I find a site with a donationware embedded javascript interpreter. The javascript code can use the variables from the java program. Because the interpreted codes are slow we can use this possibility where the speed is not too relevant. We need to produce javascript code, where the user needs to modify the code to get full control about the events, units, etc. The URL:
http://home.worldcom.ch/~jmlugrin/fesi/ext.html
3. OK. So what we need to produce:
· Map editor.
· Unit editor.
· Governments editor
· Resources and economy editor
· Technology tree editor
· Game rules editor
· Javascript codes to control the game
· ?
4. I will produce a parser, which can read the information from text files to the game. When a programmer use a static information (like a unit hit point) he needs immediately write this information to the unit text file, and the parser will send back this information from the text file to the game code.
5. The text files needs to contain all the relevant information about the units, governments, economy, etc. I will produce little programs to modify all this text files.
6. My suggested text file format:

Variable = value; //comment

This way the programmers can use the standard C, C++, java expression so there will be less error and problem. The users can change the values easily also. They just use the editor which write the changes to the text file in correct format.

I think the javasript or any other kind of macro language possibilities needs more brainstorming.

Blade Runner

F Smith
Chieftain
Austin, Tx, USA
May 99
posted May 27, 1999 08:51   Click Here to See the Profile for F Smith   send a private message to F Smith
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
You're completely right, that is the way we will need to go. There's been some discussion and a few example editors already.

Using the browser's file save abilities (javascript i/o and cookies) from within Java is a simple matter. It's going to have to be our preferred method of file saves.

Altho we can sign applets if we absolutely decide we must have full file i/o from within the applet.

Druid2
Warlord
Dallas,TX
May 99
posted May 27, 1999 09:38   Click Here to See the Profile for Druid2Click Here to Email Druid2  send a private message to Druid2
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Good idea, BR! My thoughts:

3. AI script editor for various AI functions:
movement, city development, combat

In general, I'd also suggest --*especially for the building and debugging stage*-- that the editor always write out a 'before change' image of the file, so that the change can be 'undone' easily. Or maybe it would be easier to 'comment out' the old data when writing in the new... either would work.

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