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 > On the subject of scenarios
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   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:34
  Old Post 30-05-2004 05:29
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Full PM-box? Change here!

That, Laurent, is exactly what I have in mind. Because of the way the save/restore system works, I see it as a way of having detailed maps of areas of interest, without having to look at a huge map, most of whose areas are not used at a particular time.

Cheers

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:34
  Old Post 05-06-2004 01:58
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Increase Your PM Length

From the Demo 8 near to completion? thread, moved per Laurent's suggestion there.

...

-(In conjunction with following comment)
Need to remove the need for the scenario index file and simply have the game recognize each folder in the scenario directory as a runnable scenario. Also have each scenario have it's own resource folder (mimicking the standard's structure - see next comment), even if it's empty. So you would have the following for scenario file locations:

...Clash\Scenarios\Scenario1Folder\Scenario1.xml
...Clash\Scenarios\Scenario2Folder\Scenario2.xml
...Clash\Scenarios\Scenario3Folder\Scenario3.xml
...etc.
And the following for resources locations:
...Clash\Scenarios\Scenario1Folder\Resources
...Clash\Scenarios\Scenario2Folder\Resources
...Clash\Scenarios\Scenario3Folder\Resources
...etc.

I see this as the best way to handle this at the moment, though if someone has a better idea, speak up. This allows all maps, mods and scenarios (including the standard game) to be treated equally. If any given scenario doesn't define some element of the scenario (religions, ethnic groups, techs, map, artwork, sounds, etc.), it is simply loaded from the standard game.



-(In conjunction with previous comment)
Since the standard Clash game will simply be a scenario of many possible scenarios, I believe we need to reorganize the Clash directory somewhat.

A simple Clash Directory Proposal:
...Clash\Docs (lists all documentation, readme's and such)
...Clash\Game (program code - won't go into further detail on this one)
...Clash\Help (in game help system - i.e. Civlopedia - no details since it doesn't exist)
...Clash\Saves (save games - once coded, won't go into detail here either)
...Clash\Scenarios (a folder for all scenarios, including the standard one-see next for option)
...Clash\StandardGame (standard scenario, moved up from scenario folder as an option if people prefer to see it here rather than lumped with other scenarios)

Leaving us with a single folder (per scenario) in the actual Scenario folder of the following:
...ScenarioName\ScenarioName.xml (scenario file)
...ScenarioName\Resources (resource folder)

And the following in the Resources Folder:
...Resources\Art
...Resources\Sounds
...Resources\XMLorText (if any extras are even needed)

The following for the Art Folder:
...Art\Terrain
...Art\Misc.
...Art\Units
...Art\Cities
...Art\Interface
...Art\AnyOthersImMissing

The sound folder would have the same basic internal structure as the art folder, so I won't list it. And the xml/text folder would have any additional xml or text files needed, though I don't think there currently are any.

Also, the code to recognize the folder in the scenario directory as a scenario could be rehashed and reused to recognize a folder under Terrain as a terrain type, ditto for units, cities, etc.

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:34
  Old Post 05-06-2004 02:09
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Browse Apolyton AD-FREE

Laurent replied:
quote:
About the scenarios folders, I guess Gary's editor will make the point moot. There will be resource files that the editor will compile into a single scenario file. Better discussed in the scenarios thread.


To my understanding, this scenario file will only be the xml resourses compiled into a single zip file (essentially), not the artwork and sounds. I haven't talked to Gary about his plans/current musings on it though. If I'm correct here, then that makes loading the standard xml resourses left undefined in a scenario just that much easier to code. And even if the artwork and sounds are zipped with everything else, the directory structure could still work as intended in my post, it will just be zipped.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:34
  Old Post 15-06-2004 00:32
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Suffering from ads?

quote:
Need to remove the need for the scenario index file and simply have the game recognize each folder in the scenario directory as a runnable scenario.

That is the way it used to work. For good reasons that, regrettably, I cannot at this moment remember, I changed it. I will try and remember.

quote:
And the following for resources locations:
...Clash\Scenarios\Scenario1Folder\Resources
...Clash\Scenarios\Scenario2Folder\Resources
...Clash\Scenarios\Scenario3Folder\Resources
...etc.

The problem with this is that the resources are essentially the same for all the scenarios.

quote:
...Clash\StandardGame (standard scenario, moved up from scenario folder as an option if people prefer to see it here rather than lumped with other scenarios)

What is the point of this? What makes you think there will be only one standard game?

quote:
The following for the Art Folder:
...Art\Terrain
...Art\Misc.
...Art\Units
...Art\Cities
...Art\Interface
...Art\AnyOthersImMissing


What is the advantage of doing this? It merely seems to add complications.

Cheers

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:34
  Old Post 15-06-2004 13:20
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Originally posted by Gary Thomas
That is the way it used to work. For good reasons that, regrettably, I cannot at this moment remember, I changed it. I will try and remember.


I'm interested to know exactly what that reason was.

quote:
Originally posted by Gary Thomas
The problem with this is that the resources are essentially the same for all the scenarios.


Exactly the reason for the standard resource directory, which I assumed would fall under a standard scenario. If there truly is no standard scenario, then we can just have a plain resource directory instead of loading the resources from the standard scenario's resource directory. My main point here is that you don't want to have to duplicate any files on the hard drive, because they are mostly the same from scenario to scenario. The resource file directories for each individual scenario would, then, only contain files that DIFFER (f.e., if I changed the tech tree around for my scenario) from those in the standard resource directory or DO NOT EXIST (f.e., the image files for a new unit I added to my scenario) in the standard folder.

quote:
Originally posted by Gary Thomas
What is the point of this? What makes you think there will be only one standard game?


I assumed there would be a "standard" game, as has always been the case for every game of this type previously, even if the "standard" was nothing but a scenario in and of itself.

See point above, this should be replaced with:
...Clash\StandardResources
All resources will be loaded from this directory, unless there is an over-riding file in the ....Scenario\Resources directory.

quote:
Originally posted by Gary Thomas
What is the advantage of doing this? It merely seems to add complications.


Mostly, it's an organizational thing, which you must not underestimate considering we may end up with hundreds of unit images, terrains, etc. But also, from my previous post:

quote:
Originally posted by alms66
Also, the code to recognize the folder in the scenario directory as a scenario could be rehashed and reused to recognize a folder under Terrain as a terrain type, ditto for units, cities, etc.


The point of this, was to reduce redundant information. Though, thinking back on it now, it's useless for resources due to the fact that (if a standard resource folder is used) a unit, for example, may exist in the standard resource folder, but not in a particular scenario so the information is actually not redundant.

Gary Thomas is offline Gary Thomas
Prince
New Zealand
Mar 2001
time: 17:34
  Old Post 16-06-2004 06:12
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Remove this text

quote:
I'm interested to know exactly what that reason was.

I am pretty sure that it was to do with testing, so half-baked (and half-written) scenarios would not automatically appear in the list until, as it were, officially added. This still seems to be an adequate reason, unless a corresponding reason is advanced for the other way of doing it. The claim that it is simpler (and it is) isn't enough.

Cheers

LDiCesare is offline LDiCesare
King
La Ferté sous Jouarre France
Jan 2001
time: 05:34
  Old Post 19-06-2004 17:11
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Remove this text

It may have to do with testing, but also with the grouping together of certain scenarios, like the random scenarios (random maps actually).

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:34
  Old Post 19-11-2004 06:20
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Martin the Dane
Garry, is the document you are refering to the dataformat.html, included in the testbed. It does have some description on the variouse tags used in the scenarioes.


I'd just like to add that in my own attempt at creating a scenario, this document has proved useful, though it is severely out of date. Is there an updated doc or at least a list of updates made floating around?

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:34
  Old Post 19-11-2004 07:23 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Support Apolyton, buy Civilization 2

I just sent you files that should allow you to build your own relatively current testbed. It has the most up to date version of dataformat (although it may still be not current with the code).

LDiCesare is offline LDiCesare
King
La Ferté sous Jouarre France
Jan 2001
time: 05:34
  Old Post 20-11-2004 21:53
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Avatar Enlargement: We've got the solution

Mark's document should be the most uptodate available. I forgot to add it in the jar I sent you, but I didn't touch it so it should still be valid. alms, if you didn't get my mail 'since that happened twice), ask Mark for a new testbed.

 
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:34.
Apolyton Time is 00:34.
    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.0534 seconds (90.89% PHP - 9.11% 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