Recent content by rcuddy

  1. R

    Help with Modding needed

    Make sure you 'copied' the part from the drydock and didn't actually 'cut' it. If you accidently cut those lines out of the drydock section it will certainly cause what your'e seeing.
  2. R

    How do you...

    I guess I wasn't clear. Dont call them to test but instead add your code into one of them and do a check if the buildingtype allready exists in that city and return approriate true or false to tell the system to allow or disallow the building.
  3. R

    How do you...

    cvgameutils has methods for canconstruct and cannotconstruct. Among the args passed in are the building and the city so you can add code to just check the city for building or buildingclass and then return value to allow or disallow as you wish.
  4. R

    Catch bombard event?

    Has anyone figured out how to catch the bombard event (air or naval) ? If so would you give me a pointer to where in the event management system you are doing so please? These missions have event codes so I keep thinking I should be able to intercept the actions but I've had 0 success with...
  5. R

    [PYTHONCOMP] Python utility library (includes INI file reading)

    It seems it would not take much to turn this into an extensions type of framework. For example: Mods don't mess with the events manager directly at all A standard events manager in the 'framework' looks at all files in a standard named directory say 'exts' and creates and instance of any...
  6. R

    Distant fishing question

    I did use the plural above but I didn't mean to imply having one unit supply multiple cities. A one to one correspondence would definitely be in order to me at least. It could be as simple or complex as desired. Production from boat is tied to city that created it Production from boat...
  7. R

    Microworld! (32x20 Earth map with 18 Civs)

    Played through a game on this map last night. It was great. Played the Chinese. Egypt and Aztec were the other major powers by the time I hit mid ADs but I got to flight first and that was enough to put them back. Great map!!
  8. R

    Modding Barbarian Technology

    From what I've seen playing around with it a bit it's like with us. Setting it to noble makes life harder for the barbs, setting it to chieftan makes it easier.
  9. R

    Distant fishing question

    That is a great concept. You could iterate through all a players units on their begin turn event and then add food, gold, whatever to cities if a 'fishing boat unit' was on a suitable tile. That would not be too complicated.
  10. R

    How to save unique names for units in WB?

    There is a guide to the wbs file format in the tutorial section but it would indicate that the wbs doesn't support saving unit names. If you have to have the names I'd say you need to place and name the units in a python script called on the begin game event. If you have a lot of units to...
  11. R

    few more python questions

    I think you need to make it UNIT_MECHANIZED_INFANTRY you use the string inside the type tags.
  12. R

    Modding Barbarian Technology

    In GlobalDefines the barbarian handicap is set to chieftan and the regular AIs to noble. Rachet up the level on the barbarians and see if it makes a diff.
  13. R

    Problem on huge map only

    The map size interacts with the <iNumBuildingNeeded>1</iNumBuildingNeeded> In CIV4WorldInfo.xml there are seperate WorldInfo tags you use to control the various ways map size figures into a lot. For a huge map you have <WorldInfo> <Type>WORLDSIZE_HUGE</Type>...
  14. R

    New subforum request

    Great idea, a sub forum for lib type code, snippets etc would be wonderful.
  15. R

    Why is domain none making my gunship invincible, when no-one else talks of this prob?

    Changing nothing from the original settings but the domain to NONE I also get the invincible chopper effect. To be exact it just suffers very very small damage completely out of line from the amount it receives against same opponents with domain set to DOMAIN_LAND.
Back
Top Bottom