Recent content by Mercury314

  1. M

    Want to change leader traits

    It will automagically appear as an option in the load a mod menu of the game.
  2. M

    multithreaded

    Fat chance. Rewriting code not originally designed for multithreating to be multithreated is nearly impossible. Sorry to say, but don't count on it.
  3. M

    Want to change leader traits

    Thats easy. You need to create a folder in the mods directory in C:\Program Files (x86)\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\ The directory could be named "Ghandi" with a subdirectory Assets, XML under that and Civilizations under that: C:\Program Files (x86)\Firaxis...
  4. M

    Coding problem regarding Goodies

    The spelling is correct. In fact it appears as if none of the techs, original or new, work using getInfoTypeForString. Very strange. I am trying to work around it atm...
  5. M

    Crusade: War until end.

    There is an always war and an always peace option in the custom game menu. Perhaps you could look there for answers? I don't know exactly how it works myself, as diplomacy is not my area of expertise, unfortunately, but thats where I would look. Alternatively, you could set the relationship...
  6. M

    Coding problem regarding Goodies

    I have further narrowed it down. (TechTypes)GC.getInfoTypeForString("TECH_BLADE") does not produce the desired result. Instead it returns a NO_TECH to which the isHasTech function always returns true, hence my problem. What would be the proper method of getting a TechTypes from a String?
  7. M

    Coding problem regarding Goodies

    So far the problem appears to lie within this line: GET_TEAM(getTeam()).isHasTech((TechTypes)GC.getInfoTypeForString("TECH_BLADE")) Perhaps this is the wrong way of going about it?
  8. M

    Coding problem regarding Goodies

    Hey all, I am writing some code in the SDK to disallow a certain Goody if a certain tech has been discovered (effectively disabling or enabling a Goody after a certain time). To do this, I am using the following code in the bool CvPlayer::canReceiveGoody(CvPlot* pPlot, GoodyTypes...
  9. M

    XML Edit for Culture?

    That definitely cannot be done in XML, but it can be done in Python I believe, not sure...
  10. M

    Losing in Python

    I was wondering if anyone knew how to trigger a loss in Python. Specifically I have a unit, upon losing which, the player loses the game. I know how to trigger the code, but not how to code that the owner of the unit loses the game. Does anyone have any idea's how to do this?
  11. M

    Non-Modder needs a wee bit of help.

    You might want to look in the mod folders for the expansions instead of the original game (or vice versa). The trick is, Civ4 actually has multiple mod folders (and depending upon what expansion you load, different mods are available). So open the "Beyond the Sword" folder and look in the Mod...
  12. M

    Non-Modder needs a wee bit of help.

    This is an XML mod, so anyone could do it in theory. Make a copy of the mod, look in the leaderhead file and change the details to fit with the details of Roosevelt. Shouldn't be too difficult.
  13. M

    Penguin Units Possible?

    You could give them the ability to walk on ice features as well, maybe allow them to work a fishing ground? For fun, add a flying specimen.
  14. M

    Sea Settlers?

    I think there is a global variable to allow this, so you can mod it yourself. I think it breaks on settlers in transports, but not sure.
  15. M

    Is there an easier way of creating city improvements when creating a scenario?

    You can start the base game at a different era, that gives various buildings for free, I think? Not really sure how it works exactly though.
Back
Top Bottom