settler city name change

Lady Wandbender

Chieftain
Joined
May 4, 2008
Messages
51
Location
atlanta ga
I was showing a friend Heaven and started a settler game so he wouldn't end up overwhelmed (not a lot of civ4 expierence) and it asked him to name his cities (or the default) when did this happen? I've never seen it before and assuming it's a difficulty thing, is that xml controlled or in the sdk? It'd be so handy for elven cities.
 
????

I'm always asked to name my cities. I play Prince difficulty. It's a feature I couldn't do without late game ;)

Al
 
so strange, we were playing on his machine, on his copy of the game, I just checked my own, and setting it from diety to settler I can never change the names of my cities (even going into the city screen) I must have somethign set differently but none of the options looked like what would control it...I wonder if it's in the global... hopefuly somebody wiser will enlighten us, this is a mystery.
 
I was showing a friend Heaven and started a settler game so he wouldn't end up overwhelmed (not a lot of civ4 expierence) and it asked him to name his cities (or the default) when did this happen? I've never seen it before and assuming it's a difficulty thing, is that xml controlled or in the sdk? It'd be so handy for elven cities.
Like Alzara, I'm puzzled by this. In Vanilla, Warlords and BtS the naming/accept default name option is a standard game feature. And in the games of FfH II I've played to date, the feature has worked as normal.
 
Lady Wand: Check that he is using the latest version. I think that up until .30 you were not presented the option automatically to change the city name, but still could be zooming in to the City view and clicking on the name.
 
yeah I did something to my game somewhere, I loaded orginal Heaven and went through it, and could change the names and in my 2nd version (my playing with things) it would still work, but then on my 3rd version (where I was messing with the the damn scorch spell to create a new spell to create peaks, it's messed up. I guess I hadn't noticed the name change switch as I was focused on other things.

if anybody's run into this little fopah and did something similiar and then figured out what they did let me know, my curiousity is up about what I broke and how I broke it even though I can go back a version and fix it.
 
Lady Wand: Check that he is using the latest version. I think that up until .30 you were not presented the option automatically to change the city name, but still could be zooming in to the City view and clicking on the name.

I've been asked in every version since 016 as far as I recall...
 
no it was my screwup somewhere, not the official versions of the game, but the gamechanges i made messed something up somewhere, dunno what, I noticed also that now that I am back to straight-from-the-box heaven Orthrus works again (I hadn't noticed he wasn't though I swear I saw his axe since i've started playign with things)
 
Sounds like you messed up your CvEventManager.py file then. Both are handled in there (as well as hundreds of other aspects of the game. Must have been very wierd playing if the entire file went bad).

In def onCityBuilt:
Code:
		if (city.getOwner() == gc.getGame().getActivePlayer()):
			self.__eventEditCityNameBegin(city, False)	
		CvUtil.pyPrint('City Built Event: %s' %(city.getName()))

is what allows you to change your city name, calling the function:
Code:
	def __eventEditCityNameBegin(self, city, bRename):
		popup = PyPopup.PyPopup(CvUtil.EventEditCityName, EventContextTypes.EVENTCONTEXT_ALL)
		popup.setUserData((city.getID(), bRename))
		popup.setHeaderString(localText.getText("TXT_KEY_NAME_CITY", ()))
		popup.setBodyString(localText.getText("TXT_KEY_SETTLE_NEW_CITY_NAME", ()))
		popup.createEditBox(city.getName())
		popup.setEditBoxMaxCharCount( 15 )
		popup.launch()

to accomplish it.

Orthus is spawned up in def onGameStart, in case you were insterested.

Additionally, it was in the first few versions BtS FfH, before Shadow (so .25 basically) that you didn't have the pop-up for changing your city name. Thread first pointing it out is here.
 
Back
Top Bottom