I just want to remove the settler unit.

Masri

Chieftain
Joined
Oct 13, 2006
Messages
9
Location
United Arab Emirates
how do I edit a mod or scenario to remove settlers?

i mainly want this because when I play real earth maps i don't want people founding new cities. :mad:

sorry if I posted this in the wrong place
 
I think making them available with Future Tech would work. No one would be able to build them then.
 
And as i understand it's impossible to remove settler - remove the tags in UnitClassess, Unitsinfos, UnitsFormation CivilizationsInfos?

HINT: The easiest way that civilizations won't produce settlers is to make them as unique - it works well in my mod - you can still add settlers in worldbuilder or make it available only for selected civilizations (you need in CivilizationsInfos to add possibility to build this unique unit). So all you have to do
is in CIV4UnitClassInfos.xml

<UnitClassInfo>
<Type>UNITCLASS_SETTLER</Type>
<Description>TXT_KEY_UNIT_SETTLER</Description>
<iMaxGlobalInstances>-1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances>
<DefaultUnit>UNIT_SETTLER</DefaultUnit>
</UnitClassInfo>

change too


<UnitClassInfo>
<Type>UNITCLASS_SETTLER</Type>
<Description>TXT_KEY_UNIT_SETTLER</Description>
<iMaxGlobalInstances>-1</iMaxGlobalInstances>
<iMaxTeamInstances>-1</iMaxTeamInstances>
<iMaxPlayerInstances>-1</iMaxPlayerInstances>
<DefaultUnit>NONE</DefaultUnit>
</UnitClassInfo>

Be carefull - cause civilizatoins needs city or settler - when it doesn't have one of this - it loose game
 
Can't you just make their Cost -1 in the Civ4UnitInfos.xlm file? Then no one will build them.

What about at the very beginning of a scenario/mod, where the map loads. Can you prevent settlers being placed on the map?
 
okay so that is in the assests\xml\units folder.

so it should be okay if i already gave them cities correct?

much thanks :)

yup

@ wotan -without a settler and city if i remeber well - the game would told that .... have been defeated - probably it's possible to change it in sdk and python
 
without a settler and city if i remeber well - the game would told that .... have been defeated - probably it's possible to change it in sdk and python

Yes, that is true. What I plan to do is give one unit to the first civ and always choose that civ in making scenarios. In your ww2:1939 scenario I do not think I will ever start a new game that needs settlers, so this should be okay. Thanks for your feedback and help.
 
Thanks very much for the info i am also making a world map placing start cities for each civ in a game i am placing cities where i want them and nothing is more irritating than a civ plopping a settler where i dont want it.i have placed cities on the map and except for the start cities for Civs i have chosen the rest of the cities are controlled by barbarians
 
Nope, the game does not give a "you have been defeatesd" if you don't have a settler. It only gives it if you don't have anything in the map. In WWII Europe, where I've removed the settler alltogether, the game gives you a few Garrison troops in the beginning, if you start a new game.
 
Back
Top Bottom