tech unit unlock

Vegetius7

Chieftain
Joined
Dec 29, 2010
Messages
19
This maybe the wrong forum...but didn't feel like posting a noob question in the experienced modder's forum.

I really believe the "bomber" unit should not be a modern age unlock, it should be unlocked with "Radio" in the industrial age. As I'm not an experienced modder, I have dabbled in a few things. However, I desire to change this aspect of the game, so how exactly would I do such a thing? I've looked into the modders forum, but really didn see anything that pertains to my particular dilemma.

I've also went into the gameplay>xml>tech folder and brought up the xml page. But my expertise ends right about there...lol...it seems the unit unlock is directly correlated by a number code to another parameter....well at least thats what I deduced from it. Anyways, could use a helping hand or a point in the right direction...thank you.
 
Take a look at Kael's Modding Guide to start with as that gives a good introduction to modding. What you want to do is alter the Units table and change the PrereqTech of the Bomber unit. So an UpdateDatabase XML Mod like the following should work:
Code:
<GameData>
  <Units>
    <Update>
      <Set PrereqTech="TECH_RADIO"/>
      <Where Type="UNIT_BOMBER"/>
    </Update>
  </Units>
</GameData>
Note that the above is untested so hopefully I didn't mess up the syntax.

Please don't be worried about posting noob questions in the modder's forum; that's what it's for. ;)
 
and don't change any file in your original civ 5 folder because that will cause you A LOT of problems in multiplayer games
 
Thanks Mousey, I appreciate the input/info. I'll look into that. As for not changing any default XML scripts, I'm going to kind of have too. Reason being, I've tried to launch Modbuddy, and it get a windows error "cannot find one of the components". I've tried 2 reinstall's, as well as using google to try to find solutions, which apparently I have not. So my idea was to copy the default for a backup and edit the existing script.

I don't really play multiplayer on CIV5, just run all my games on diety level, so I'm not worried about MP. I'm more concerned about it causing a CTD...but trial and error.
 
Thanks for the shell download. I've actually tried downloading that before, however once I get to the VSI part, it asks me to route the installiation through a program "vsi_setup.msi" which I cannot find, even did a search for it on the pc.

I think if I can figure that out, and get that squared away I shhould be able to use modbuddy. However, in the mean time I went through with the orginal plan, and the XML changes worked just fine, in regard to changing the bomber (and American bomber) to radio.
 
Back
Top Bottom