I want to determine if a player/team is at war. If so, then be able to build some building. Plugging the code under cannotConstruct in CvGameUtils. I wrote this little piece of code:
### Tomb of the Unknowns begin ###...
Is there any way to change the travel time of a spaceship with Python?
I found these:
INT getVictoryDelay (VictoryType eVictory)
INT getVictoryDelayPercent ()
INT getVictoryDelayTurns ()
INT victoryDelay (VictoryType eVictory)but not their change- and set- counterparts.
Anyone knows where the construction queues are stored/saved, which you can define with keys 1 to 9?
I don't think they are stored within the gamesaves.
I just upgraded my mod from BUG 3.6 to BUG 4.2. All went fine except the Python Callbacks don't work anymore. After talking to EF, I post my files here:
Here's the stripped ANDGameUtils.py. All default functions are removed. They are ofcourse still in the original BTS CvGameUtils.py.
and...
This pack contains a lot of building construction sounds which can be used by modmakers. All sounds start with a "dink".
Grabbed sounds from internet as well as some good old CIV2 sounds.
Included in the pack are 66 sounds, code snippets for Audio2Dscripts.xml and AudioDefines.xml. Also...
Is there a function in Python to detect when a civilization changes its civic(s)?
I did not find it in the CvEventManager.py :(
Think of something like:
def onCivicChanged(self, argsList):
*** CODE ***
or
def onEndRevolution(self, argsList):
*** CODE ***
Someone has a clue?
Heroes 2 - get them by Technology - Do It Yourself
Here's a little modcomp based on the existing Heroes modcomp: http://forums.civfanatics.com/showthread.php?t=310628 by Edgecrusher
This modcomp is Python/XML only. There's no download, just do it yourself.
What does it?
This modcomp...
Some mods have a religious victory condition but as far as I know there is no proper endmovie for it.
I am wondering if there is need for this kind of movie.
If so, I would like to know:
1. what should be in it?
2. soundtrack?
3. length?
Suggestions are welcome.
When playing on low quality graphics setting (for big MODS) some buttons appear small and blurry. It just doesn't look good. Because I don't have Photoshop I had to find another solution. I did find info on the forum but fixing the buttons required Photoshop :(
But I found a simple (and free)...
REQUESTS
These are the requests I am aware of:
UNDER CONSTRUCTION:
Inquisition - Xenomorph
Church of St. George - dacubz
Kuwaiti Towers - dacubz
Konserthuset - dacubz
Anglo American - dacubz
GE - dacubz
Coca-cola - dacubz
Ford - dacubz
Channel S.A. - dacubz
Maruha - dacubz...
Typo found in CIV4ArtDefines_Misc.xml (sorry no TABS):
<MiscArtInfo>
<Type>ART_UNITGROUP_COIN</Type>
<Path>None</Path>
<fScale>1.0</fScale>
<NIF>Art/Units/Flag/Mediallion.nif</NIF>
<KFM>Art/Units/Flag/Medallions.kfm</KFM>
</MiscArtInfo>
should be...
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.