westamastaflash
Lord Commander
- Joined
- Nov 1, 2007
- Messages
- 933
No I'm just a ******.
Yes i was thinking along the same linesThanks for the feedback.
What exact change did you make for fuel trucks? Did you give them *both* counter and city defense, or only counter? Looking at your screenies, I would almost rather have a few gas trucks in non-fuel-using stacks, rather than a big stack of trucks sitting idle in a city. So I will try it.
Sounds interesting. And yes i think the Dacaying of the Capitol was the most troubling thing.A capitol might be founded when the civ already has a previous state vision. If this happens, the founding civ should switch to this vision. They went to the trouble of building the capitol, at least they should use it. That will cause the previous state vision to decay everywhere inside the civ. That should be pretty easy to change, and it looks like this was a top issue of yours.
btw: thanks for making this mod. i just started to beta test this one two days ago, and i must say i like it
comment: can you explain the map script, and maybe perhaps release a couple more that are different?
refar said:A really bad thing is the Holy City decay.
At some point two other AI founded visions of they own. But since they were in Alpha Complex state vision already, they holy cities just decayed (quite fast...), so they did not feel compelled (nor had the means) to spread they own faith.
# When capitol is built, select religion. AI will pick favorite or
# any avail; popup for human player
def onBuildingBuilt(self, argsList):
pCity, iBuildingType = argsList
iCapitol = self.gc.getInfoTypeForString("BUILDING_CAPITOL")
if iBuildingType != iCapitol: return
# Make list of available religions
lAvail = []
iPlay = pCity.getOwner()
pPlay = self.gc.getPlayer(iPlay)
if pPlay.isHuman(): iGoal = -1
else: iGoal = self.dFavoriteReligion[pPlay.getLeaderType()]
bExact = false
for iRel in range(self.gc.getNumReligionInfos()):
if not CyGame().isReligionFounded(iRel):
lAvail.append(iRel)
if iRel == iGoal: bExact = true
# If leader's favorite is available, take it; otherwise pick random
if bExact:
self.gc.getGame().setHolyCity(iGoal, pCity, 1)
pPlay.convert(iGoal) # <== first added line
elif pPlay.isHuman():
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_PYTHON)
popupInfo.setText("You have completed a Capitol Building. Which vision do you choose for the world?")
popupInfo.setData1(iPlay)
popupInfo.setData2(pCity.getID())
popupInfo.setOnClickedPythonCallback("furyFoundPopup")
for iRel in lAvail:
s = self.gc.getReligionInfo(iRel).getText()
popupInfo.addPythonButton(s, "")
popupInfo.addPopup(iPlay)
else:
iRel = lAvail[CyGame().getSorenRandNum(len(lAvail), "")]
self.gc.getGame().setHolyCity(iRel, pCity, 1)
pPlay.convert(iRel) # <== second added line
I do not know the details, but I think the requirement is that the religion must be *founded*
for each team
if total number of cities > 2 * number of players alive
for each religion
if this team owns the holy city
if the religion percent of this religion is over the threshold
we have a winner