Putchuco
Aug 05, 2007, 02:40 AM
Defense was one of the last Mods I tried now in BtS, and I kind of like it, except for the countdown. If I wanted to play a hectic 'tactic' shooter I would buy one... Like in many of the other Mod in BtS Firaxis certainly has enriched the Civ4 world with many new features, most probably aimed at giving the Mod community new tools. But for playing the Defense Mod itself and still have fun, I'd prefer it without countdown.
Anyone tried disabling or modifying the countdown?
I would assume it can easily be upped to 5min per turn or something, where would I need to look?
flamingzaroc121
Aug 06, 2007, 01:48 PM
i thought that when you put something down the countdown restarted, im not on my CIv comp so i cant check
Infantry#14
Aug 06, 2007, 09:15 PM
you can pause the game between each your moves with the pause button
ebo
Aug 06, 2007, 09:17 PM
In order to make it so the turn timer never stops your turn change the following code. It is located in \Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Defense\Assets\Python\Screens\CvMainInt erface.py. It is about line 750 of the file you can search for "here it ends".
if Defense.bIsInAdvancedStart == 0 and Defense.bTurnTimerOff == 0:
if 1 == 2: #Defense.iTurnTimer >= Defense.iTurnTimerTrigger:
# here it ends the Turn
CyMessageControl( ).sendTurnComplete( )
Defense.iTurnTimer = 0
Defense.bTurnTimerOff = 1
self.doHideTurnTimer()
self.doHideEnemyCounter()
else:
if not self.isInCombat() and not CyGame().isPaused():
Defense.iTurnTimer += 1
self.doShowTurnTimer( Defense.iTurnTimer, Defense.iTurnTimerTrigger )
self.doShowEnemyCounter( Defense.iTotalMobs, Defense.iMobsKilled )
return 0
I changed the second line to say if 1==2 : #Defense.iTurnTimer >= Defense.iTurnTimerTrigger:
What that did was comment out the check for ending the turn and set a condition up that will never occur
Putchuco
Aug 07, 2007, 02:29 PM
In order to make it so the turn timer never stops your turn change the following code. It is located in \Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Mods\Defense\Assets\Python\Screens\CvMainInt erface.py. It is about line 750 of the file you can search for "here it ends".
if Defense.bIsInAdvancedStart == 0 and Defense.bTurnTimerOff == 0:
if 1 == 2: #Defense.iTurnTimer >= Defense.iTurnTimerTrigger:
# here it ends the Turn
CyMessageControl( ).sendTurnComplete( )
Defense.iTurnTimer = 0
Defense.bTurnTimerOff = 1
self.doHideTurnTimer()
self.doHideEnemyCounter()
else:
if not self.isInCombat() and not CyGame().isPaused():
Defense.iTurnTimer += 1
self.doShowTurnTimer( Defense.iTurnTimer, Defense.iTurnTimerTrigger )
self.doShowEnemyCounter( Defense.iTotalMobs, Defense.iMobsKilled )
return 0
I changed the second line to say if 1==2 : #Defense.iTurnTimer >= Defense.iTurnTimerTrigger:
What that did was comment out the check for ending the turn and set a condition up that will never occur
Super! Thx much for the effort, I cannot wait to get back home and try that!!
This would make Defense playable for me again.
ichbinsehselber
Oct 04, 2007, 03:22 PM
Thanks!
when I play a turn based game, I also want to eat during playing or whatever. But no stress...
thelebk
Dec 14, 2007, 07:13 PM
I could not find these strongs to modify after the 1.3 patch. :(