Search results

  1. P

    Unit can only move inside its cultural borders

    How can I set it so a unit cannot move outside its cultural borders? I have some ideas of how this could be done but really I'm just guessing and I don't know how to do it in practice. Now my guess is I will have to add a tag to UnitInfos like bNotOutsideBorders, which I can do but I'm not...
  2. P

    Help Needed With Building That Gives Free Unit Class

    Background I want to add an Office building for Corporations. These buildings are to be built in the normal way but will give you a CEO of the particular corporation to which the office is related. the plan is to add a tag OfficeCorporation, to the BuildingInfos.XML. There is a tag, in...
  3. P

    Help with Function's for projects and UNvote

    Hi everybody, looking for some advice on a couple of functions I would like to adapt for my Mod. These relate to Nuclear Weapons, I want to make it a more complex process to be able to build Nukes. Part of this process is to have two projects each which, at the moment, enable a building for...
  4. P

    How can I prevent certain units from being hurried?

    Hi everybody, I'm a bit stuck with this, I want to stop nukes from being hurried with gold. So I've looked through the xml and can't see any thing there; apart from the ability is given through the civic info's. Now my guess is that I can do it in the Python, but I have no idea how to start...
  5. P

    How do I Check adjacent tile to make valid

    I want to add to ImprovementInfos XML a bCoastMakesValid tag, so that a worker can only build a certain improvement next to a coast tile. How do I check an adjacent plot is coast to make an improvement valid? My guess is that this checks if the adjacent plot is coast, (I think) bool...
  6. P

    Having Trouble Allowing Para drops from Airbase (SDK)

    Having got the hang of the XML part of modding, I'm now trying to break into the SDK and could do with some help :crazyeye: What I want to do in my mod is to remove Air units and Sea units ability to base in forts but keep the fort's, control of resource's ability (the bActAsCity tag)...
Top Bottom