Announcement

Collapse
No announcement yet.

CITY IMPROVEMENTS, WONDERS and UNITS for only Certain Civ2 Civilizations

Collapse
X
Collapse
  •  

  • CITY IMPROVEMENTS, WONDERS and UNITS for only Certain Civ2 Civilizations

    I have received a number of inquiries into changing Civ II to accomplish a number of things. One of the premier requests deals with a fairly advanced capability in the Mod Pack area. I will answer this in this file:

    Making Certain Units and Improvements Available to only Certain Civilizations

    Civ II has built in functionality to allow for this. Most of this is built into the stock game, but some of the finer points require the Scenario CD version of the game included on the Scenario CD.

    Basically, modifications to RULES.TXT make this possible and it begins with the Technical Advances, and their various prerequisites, and the "technology tree" that results from them. It also involves the use of scenarios. Basically, you must decide the premise for your scenario, create it and the civilizations involved, and then give the civilzations involved certain basic technologies. Then in RULES.TXT, through use of the "no" option on technical advance prerequisites, you insure that the possible technical advances for each race are "blocked" off from each other. Once you have created these "individual" tech trees for your civilizations (and they can apply to single civilizations or several, depending on what advances are given in the scenario), then you move onto the City Improvements and Units areas of RULES.TXT.

    In the City Improvements, Wonders and Units areas, just insure that the prerequisites for particular advances fall within the technology tree of the civilization you want to receive them. The same can be done with government types. You will of course have to deal with the units.gif, icons.gif, etc for new or modified units and improvements or wonders that you want to appear differently in the game.

    Now, the only problem is civilizations being able to require technology outside of "their" tree through negotiations and conquering. With respect to negotiations and trading between civilizations. The EVENTS.TXT file available through the new Scenario CD gives you an event called NEGOTIATION where you can prevent one or all civilizatons from entering into negotiations. This can be used to insure that certain civilizations can not negotiate (and thus trade) with one another. Without the Scenario CD, you can keep yourself, the human player, from trading, but the computer players may still do so. To offset this, you can use the AI and CIVILIZED modifiers of the technical advance in RULES.TXT to make the advance less desirable to computers, but then it applies to all of them. This also is true for aquiring certain technologies via conquering. I have not figured out any way to avoid the potential resulting from conquering to date.

    At any rate, this methodology works and can be used to accomplish the desired results. As with all modifications, there are peculurarities of the civ2.exe which will have to be dealt with as they arise and are discovered. Most of these are simply undocumented limitations or aspects of the game.

    Hope this helps. Good Luck!
      Posting comments is disabled.

    Latest Articles

    Collapse

    • The Rocky Mountain Civilization II Site presents: Mod Packs, Scenarios, Units, Hints and Tips
      by Martin Gühmann

      The Rocky Mountain Civilization II Site presents:

      Mod Packs, Scenarios, Units, Hints and Tips provided by our site are SHAREWARE
      This means that you are free to look at them, download them, use them, abuse them, etc. If you like ours, and they are of benefit to you, we ask that you consider sending us the following to offset the site subscription, email, counter, etc. costs, so we can continue providing all of this to Civ II enthusiasts around the world:
      Our Hints & Tips that help ......................... $ 1.00 (US)
      Our Scenarios you like ............................... $ 1.50 (US)
      Our Mod Packs you like ............................. $ 2.00 (US)
      *The Rocky Mountain Civilization II Site
      P.O. Box 295
      Nephi, UT 84648
      Thanks for your consideration.

      HINT or TIP : Microprose Scenario CD Impact

      Regarding the new Civ II Scenario CD by Micropprose and it's impact on Mod Packs. They have done some really good things that I will summarize below:

      a) They have included a number of very good scenarios, each of which is a virtual Mod Pack of its own. They have made switching between the scenarios, and all of the respective mods for each, very easy. They did this by establishing a SCENARIO sub-directory under the main Civ II directory which contains each scenario as another sub-directory. Within the sub-directory for each scenario are all of the .GIF and .TXT files for the mod, and a SOUND sub-directory whcih includes any new .WAV files. The Civ II program uses the mods in the sub-directory under SCENARIO when you start up a scenario or saved game from that sub-directory.

      b) The Civ II program now returns to the main, start-up menu whenever you quit, win or resign from a game. No more restaring the program each time you stop playing.

      c) They have created a nice macro language for creating conditional events within your scenarios. The conditional (IF, THEN) statements are included in an "event.txt" file for each scenario sub-directory and are then executed during the game according to the conditional statements in the "event.txt" file. For example, one could cuase any civilization to have its treasury increaded by X amount according to conditional happenings in the game; or, you can create new units for any civilization according to conditions you establish; or, you could have certain units move to various places on the map based on conditional statements at some point in the game; or, you could play a special .WAV file based on conditions, etc., etc..

      The net effect of this has been to force players to make one of two decisions

      1) You can take your existing Mods under MODPACK created by the Mod Pack manager and move each sub-directory under SCENARIO. A sub-directory called SOUND will have to be created for each for any .WAV files. For example, for a Mod Pack called "MoreReal", you would end up with:

      c:\civ2\scenario\morereal\sound

      .WAV Mod files for MoreReal go into "sound" directory of path above. .TXT and .GIF Mods files for MoreReal go into "morereal" directory of path above.

      2) You can load the new scenarios into a temporary place on disk, and then move the scenario sub- directories that come with the CD under your Mod Pack directory, doing away with the SOUND sub- directory for each and loading the .WAV files into the respective Mod Pack directory. This will allow you to use your current operation with Mod Pack manager, and the GAME.TXT and LABELS.TXT modifications for each Mod Pack.

      I opted for the first option. Changing between Mod Packs is much faster, and I've got the best of both worlds. All of the Mod Packs I've accumulated work, and I have the new stuff. Hope this helps.

      IMPORTANT

      Specific changes to GAME.TXT and LABELS.TXT files for each Mod Pack are rendered obsolete by the new civ2.exe. This is because these files have changed to accomodate the new functionality in Civ II, and the program does not use any GAME.TXT or LABELS.TXT files in the SCENARIO sub-directories. So, you'll have to change them once for your own general environment and put them in the main civ2 directory, then risk having to update them with any new releases.

      ...
      September 3, 2012, 18:01
    • Civilization II SAV/SCN file format
      by Mercator
      PrologueThis thread is intended to become a reference guide to the Civilization II savegame and scenario file format. It is a vital first step if we ever want to see a universal civ2 scenario editor. I started this thread to make it a more public and centralized effort, as opposed to Allard's Hex Editing document. While being an indispensable initiative, I believe it's become almost unmanageable. There never was one central place to post new discoveries, making it impossible to keep up to date.But for this new effort to succeed, we need your help. So, please post your discoveries about the file format here.However, this is mostly meant to be a raw file format reference, not (yet) a complete guide to how every single byte can be used in making your scenarios. When you do have a new discovery, please keep it concise and to the point. But feel free to add comments or ask questions, as long as they're specifically about this reference, and not about hex-editing in general.Please do NOT ask your hex-editing questions here. If you have a question, post a new thread.As you will notice, apart from the table of contents the file format is still mostly uncompleted. That's not because we know so little, but simply because I haven't added all of it yet. This thread will probably always remain a work in progress. And for the moment certainly not only for the file format itself. I will also be adding notes on the notation and some of the terms used. Notes will follow right after the table of contents, including notes on the table of contents itself.Table of ContentsNotesCreditsFile FormatHeader (12)Settings (CiC:558, FW/MGE:572, ToT:1238)??? (ToT:640)Menu (16)Game (38)Technologies (200, CiC: 186)First to Discover (100, CiC:93)Discovered By (100, CiC:93)Wonders (56)??? (262, ToT:288)Civilizations (13118, ToT:28478)Names (7 * 242 = 1694)Properties (8 * 1428 = 11424, ToT: 8 * 3348 = 26784)Transporters (ToT10: 4 + 14 * transporters, ToT11: 172 + 14 * transporters)MapsHeader (14, ToT:16)Data, repeat for all maps in ToT (13 * surface, ToT: 13 * surface + 2)Visible Improvements (7 * surface)Map (6 * surface)Resource Seed (ToT:2)??? (2 * 6th header value * 7th header value)??? (1024, ToT:10240)Units (26 * units, MGE: 32 * units, ToT: 40 * units)Cities (84 * cities, MGE: 88 * cities, ToT: 92 * cities)???Passwords (MGE/ToT: 224)???Conquest History (338)EventsHeader (FW: 6, ToT: 8)Events (FW: 298 * events, ToT: 276 * events)String HeapNotesTable of ContentsLet me start off with some comments about the notational use in the table of contents. Due the differences between the various game versions, as well as the presence of variable-size sections I have refrained, and will refrain, from using file offsets. Instead, I indicate the size in bytes of all different parts of the file format. You should be able to calculate the exact position yourself.So, in parentheses is mentioned the size in bytes of that (sub-)section. Differences between the game versions are marked with their respective abbreviations:CiCCivilization II Scenarios: Conflicts in Civilization and all prior versions, including the original "classic" Civilization II v2.42.FWCivilization II: Fantastic WorldsMGECivilization II: Multiplayer Gold Edition with the latest patch version 1.3 and all equivalent versions, including Civilization II: Ultimate Classic Collection and the add-on Civilization II: MultiplayerToTCivilization II: Test of TimeToT10More specifically, the unpatched version of Test of Time, version 1.0ToT11Patched Test of Time v1.1A size unmarked by any abbreviation applies to all versions, with the possible exception of any marked sizes. E.g. Header (12) means the header is 12 bytes for all versions, Header (14, ToT:16) means the header is 14 bytes for all versions except Test of Time, for which it is 16 bytes. Passwords (MGE/ToT: 224) means this section only exists in the MGE and ToT versions, where it is 224 bytes.File FormatData TypesOnto the file format notes. So far, there are three data types: The null-terminated string is a variable length type for text. It always ends with a byte value of zero, meaning a string of 9 bytes only has place for at most 8 characters. The signed short integer is a numeric data type taking up 2 bytes. It can take values from -32768 to +32767. The unsigned byte should be self-explanatory. It takes values from 0 to 255.DescriptionIf the specific order of a section with multiple values is not specified, you can assume the order as used in the RULES.TXT. This applies, for instance, to the technology and wonder sections.HexadecimalsI mark hexadecimals with the prefix "0x". In this guide I write them in big-endian notation. In other words, in the same way you'd see them in your Windows calculator. However, in the binary file format, the numeric data types use a reverse, little-endian, notation with the least significant value first. The bytes appear in reverse order. E.g. for a short integer value, your hexadecimal calculator might say 27, ...
      June 12, 2012, 12:03
    • The Rocky Mountain Civilization II Site Presents: RULES.TXT Comments and Notes
      by Martin Gühmann
      ;------------------------------------------------------------------------------------------------------------- 
      ; The Rocky Mountain Civilization II Site 
      ;-------------------------------------------------------------------------------------------------------------- 
      ; 
      ;   RULES.TXT Comments and Notes 
      ; 
      ;    May 1997 by Jeff Head and the Rocky Mountain Civilization II Site 
      ; 
      ;	What follows are the notes and comments that I have made in my own rules.txt file
      ;	for the changes I make to Civ II when making a Mod Pack.  Some of it is the stock
      ;	notes that Microprose sent out with the game, a lot of it has been added to or
      ;	clarified based on my many “trial and error” experiences.
      ;
      ;	We release this as a help to those making Mods, not as an “end-all”. Although
      ;	these comments represent our general experiences, they could well be sub-sets
      ;	of the actual game operation and programming, meaning they may not work as
      ;	stated in all cases.
      ;-------------------------------------------------------------------------------------------------------------- ...
      	
      April 8, 2011, 17:30
    • Advanced Scenario Design in Civ2
      by Martin Gühmann

      Advanced Scenario Design

      Leon Marrick (Leon2M at aol.com), assisted by Harlan Thompson (harlant at hawaii.edu) and others.
      Please see Credits for details.

      This manual is designed to assist those with both a firm understanding of the map editor and of the Cheat menu used in preparing scenarios to improve and polish their work. Novices are urged to read some of the excellent documents for beginners found on the "Ultimate Civ2 Page" now Apolyton, and practice with a design or two before delving too deeply into this document.

      This is a long essay, but not even close to being comprehensive. Additions are welcomed.

      If you see a section referance - example "(Section 5a)" - that section of the document (in this case, the discussion of the rules.txt file's cosmic principles area) will have further information on the subject.
      ...
      March 26, 2011, 20:10
    • CITY IMPROVEMENTS, WONDERS and UNITS for only Certain Civ2 Civilizations
      by Martin Gühmann
      I have received a number of inquiries into changing Civ II to accomplish a number of things. One of the premier requests deals with a fairly advanced capability in the Mod Pack area. I will answer this in this file:
      ...
      March 25, 2011, 18:41
    • Civilization 2: A few words about ...
      by Martin Gühmann
      • 'Conflicts in Civilization', Microprose's Civ2 Scenario Disk
      • 'Evolution - The dawn of humanity', Actura's Civ2 Scenario Disk
      • 'Scenarios & Maps für CivilizationII', Tewi's Civ2 Scenario Disk
      • 'The official strategy guide', Prima's Book for Civ2
      ...
      March 25, 2011, 18:31
    Working...
    X