pokeravi
Warlord
Hi. I'm making a scenario and I can't let any of the civs build any cities. Of course I've already made cities for all the civs but I want to make it so that they can't build anymore. Any tips? Thanks.
pokeravi said:Hi. I'm making a scenario and I can't let any of the civs build any cities. Of course I've already made cities for all the civs but I want to make it so that they can't build anymore. Any tips? Thanks.
Jeckel said:In file Mods\<yourmodname>\assets\xml\units\unitinfos.xml
search for UNIT_SETTLER
read down from there and find the line
<Found>1</Found>
and change it to
<Found>0</Found>
or, to do as woodelf suggests, look for the line
<PrereqTech>NONE</PrereqTech>
and replace the NONE with
TECH_FUTURE_TECH
The first way stops Settlers from being allowed to build cities and the second way doesn't allow settlers to be built until Future Tech is learned. You could also use any other tech besides Future Tech, my buddies and me use to put settlers allowed by Engenireing just so city spread wasn't so crazy in CivIII.
BeginGame
Era=ERA_ANCIENT
Speed=GAMESPEED_EPIC
Calendar=CALENDAR_SEASONS
Option=GAMEOPTION_RAGING_BARBARIANS
ForceControl=FORCECONTROL_SPEED
Victory=VICTORY_TIME
Victory=VICTORY_CONQUEST
Victory=VICTORY_DOMINATION
Victory=VICTORY_CULTURAL
Victory=VICTORY_SPACE_RACE
Victory=VICTORY_DIPLOMATIC
GameTurn=1
MaxTurns=600
MaxCityElimination=0
TargetScore=0
StartYear=-4000
Description=
ModPath=Mods\FirstAge
EndGame
Jeckel said:@pokeravi
Ahh, sorry. To do that, open your scenario's world builder save file in Notepad or some other text editor. At the top you should see somthing like this
Code:BeginGame Era=ERA_ANCIENT Speed=GAMESPEED_EPIC Calendar=CALENDAR_SEASONS Option=GAMEOPTION_RAGING_BARBARIANS ForceControl=FORCECONTROL_SPEED Victory=VICTORY_TIME Victory=VICTORY_CONQUEST Victory=VICTORY_DOMINATION Victory=VICTORY_CULTURAL Victory=VICTORY_SPACE_RACE Victory=VICTORY_DIPLOMATIC GameTurn=1 MaxTurns=600 MaxCityElimination=0 TargetScore=0 StartYear=-4000 Description= ModPath=Mods\FirstAge EndGame
It prob won't look exactly like this, but just make sure something like 'ModPath=Mods\<YourModName>' is in there and you should be golden. :>
Jeckel said:You put the world builder file in <Civ4 main dir>\PublicMaps I think its call. Then, when your ingame, load your mod (Advanced => Load A Mod), then start your scenario just as you would normally. :>