How to remove settler in a scenario

Gen. Maximus

Warlord
Joined
Sep 7, 2002
Messages
160
Location
Lordaeron & Azeroth
I'm sure this has been asked before, is there some pointers or prior links before?

In Civ4, a toggle button takes care of it. I don't see something that easy in Civ5 worldbuilder. And there are policy that gives free settler, so it is not easily deleted.
 
I don't think you can do it in Worldbuilder. Worldbuilder for CiV frankly sucks. How I do it is in XML in a mod. After you create a mod, add a new XML file and add the following code:

Code:
<GameData>
	<Units>
		<Update>
			<Where Type="UNIT_SETTLER" />
			<Set PrereqTech="TECH_FUTURE_TECH" />
		</Update>
	</Units>
</GameData>

That just sets the Prereq Tech for the Settler to Future Tech. There is probably a better way to do it but this works just fine for me.

As far as the policy giving a free Settler then you may have to also edit the Policy. That code would look like:

Code:
<GameData>
	<Policy_FreeUnitClasses>
		<Update>
			<Where PolicyType="POLICY_COLLECTIVE_RULE"/>
			<Set UnitClassType="NONE"/>
		</Update>
	</Policy_FreeUnitClasses>
</GameData>

Not as sure about that code since I just made it up on the fly. I tested it in-game and the Settler didn't spawn when I selected Collective Rule so it worked but I don't know if it will have any side effects.

If you don't know how to create a mod then I recommend reading Kael's guide here: http://forums.civfanatics.com/showthread.php?t=385009

Good luck! :)
 
Thanks, I agree that by deferring the availability of settler will overcome a lot more modification when you try to delete it.
An alternate way I can think of avoiding the free settler given by policy is to give the policy in advance to all civilisation involved in the case where I am creating a medieval era scenario.

Kael's guide helps but doesn't cover the basics on using the modbuddy interface, that's the problem. It have to be read with this Dale's blog guide that part that show it step-by-step. I finally know how to change my warrior movement from 2 to 3 in a modding trial shot using the link below.

http://www.weplayciv.com/forums/entry.php?42-Civ-5-Modding-Tutorial-2-Religion-Mod-XML
 
Back
Top Bottom