BTS Next War MOD - Python?

twistedspark

Chieftain
Joined
May 9, 2008
Messages
4
Location
Ur garage selling ur stuff on eBay
I like to play Next War, but it ALWAYS ends in cracked Earth due to AI's lack of restraint.
Can I disallow this event somehow without having to learn to use Python?
I have an XML Editor, but I think to get rid of this event I'd need to modify
Mods\Next War\Assets\Python\CvEventManager.py

Am I wrong? Any help would be greatly appreciated.

P.S. I read the "A Modders Guide to Beyond the Sword" thread, but I'm no programmer. Most of that was Greek to me. Can this be done without learning to speak Greek?
 
I like to play Next War, but it ALWAYS ends in cracked Earth due to AI's lack of restraint.
Can I disallow this event somehow without having to learn to use Python?
I have an XML Editor, but I think to get rid of this event I'd need to modify
Mods\Next War\Assets\Python\CvEventManager.py

Am I wrong? Any help would be greatly appreciated.

P.S. I read the "A Modders Guide to Beyond the Sword" thread, but I'm no programmer. Most of that was Greek to me. Can this be done without learning to speak Greek?

A simple way is right at the top of the EventManager file (which you can open in Notebook) there is:

g_iNumNukesWarningMessage = 7
g_iNumNukesGameOver = 20

Spoiler :
Code:
## Sid Meier's Civilization 4
## Copyright Firaxis Games 2006
## 
## CvEventManager
## This class is passed an argsList from CvAppInterface.onEvent
## The argsList can contain anything from mouse location to key info
## The EVENTLIST that are being notified can be found 


from CvPythonExtensions import *
import CvUtil
import CvScreensInterface
import CvDebugTools
import CvWBPopups
import PyHelpers
import Popup as PyPopup
import CvCameraControls
import CvTopCivs
import sys
import CvWorldBuilderScreen
import CvAdvisorUtils
import CvTechChooser

import pickle

gc = CyGlobalContext()
localText = CyTranslator()
PyPlayer = PyHelpers.PyPlayer
PyInfo = PyHelpers.PyInfo


# globals
###################################################


[B]g_iNumNukesWarningMessage = 7
g_iNumNukesGameOver = 20[/B]



class CvEventManager:
	def __init__(self):
		#################### ON EVENT MAP ######################
		#print "EVENTMANAGER INIT"
				
		self.bCtrl = False

Change the 20 to a ridiculously high number and the game won't end after 20 Nukes.
 
You could just go into world builder an get ride of the opponents uranium
 
Odd. Most of my NW games we ban nuclear weapons fairly early. I did play one as America Inc. where I built up a storage of about 60 ICBMs in Denver and went nuke happy all over the world. I guess most of them got swallowed up by SDI because I have yet to see the earth crack.
 
Top Bottom