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.
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.
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.
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...
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...
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...
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!!
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.
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.
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...
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.
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>...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.