HELP; game options replacing

xxJFKxx

Chieftain
Joined
May 26, 2006
Messages
90
Location
Germany
hi folks,


i am not a modder so i hope you can help me.
i started playing a great scenario but i wanted to deactivate tech trading, brookering. so i opened the wbs and changed to first lines to:

Version=11
BeginGame
Era=ERA_INDUSTRIAL
Speed=GAMESPEED_MARATHON
Calendar=CALENDAR_SEASONS
Option=GAMEOPTION_LEAD_ANY_CIV
Option=GAMEOPTION_NO_TECH_TRADING
Option=GAMEOPTION_NO_TECH_BROKERING
Victory=VICTORY_CONQUEST
Victory=VICTORY_DOMINATION
Victory=VICTORY_CULTURAL
Victory=VICTORY_DIPLOMATIC
GameTurn=1
MaxTurns=750
MaxCityElimination=0
NumAdvancedStartPoints=1080
TargetScore=0
StartYear=1862
Description=
ModPath=

as you can see i added this two game option lines but when i start playing it still allows tech tradding. what am i doing wrong?
 
I think you need to add a "ForceContorl" statement, to actually make those settings fixed. I think right after "Calendar=" and right before the first "Option=" would be the right place. Something like:

ForceControl=FORCECONTROL_OPTIONS

You might also need to add similar statements for Gamespeed or Victory conditions. Below the list of all Force-Controlls form the XML:
Spoiler :
Code:
<ForceControlInfos>
		<ForceControlInfo>
			<Type>FORCECONTROL_SPEED</Type>
			<Description>TXT_KEY_FORCE_CONTROL_SPEED</Description>
			<Help>TXT_KEY_FORCE_CONTROL_SPEED_HELP</Help>
			<bDefault>0</bDefault>
		</ForceControlInfo>
		<ForceControlInfo>
			<Type>FORCECONTROL_HANDICAP</Type>
			<Description>TXT_KEY_FORCE_CONTROL_HANDICAP</Description>
			<Help>TXT_KEY_FORCE_CONTROL_HANDICAP_HELP</Help>
			<bDefault>0</bDefault>
		</ForceControlInfo>
		<ForceControlInfo>
			<Type>FORCECONTROL_OPTIONS</Type>
			<Description>TXT_KEY_FORCE_CONTROL_OPTIONS</Description>
			<Help>TXT_KEY_FORCE_CONTROL_OPTIONS_HELP</Help>
			<bDefault>0</bDefault>
		</ForceControlInfo>
		<ForceControlInfo>
			<Type>FORCECONTROL_VICTORIES</Type>
			<Description>TXT_KEY_FORCE_CONTROL_VICTORIES</Description>
			<Help>TXT_KEY_FORCE_CONTROL_VICTORIES_HELP</Help>
			<bDefault>0</bDefault>
		</ForceControlInfo>
		<ForceControlInfo>
			<Type>FORCECONTROL_MAX_TURNS</Type>
			<Description>TXT_KEY_FORCE_CONTROL_MAX_TURNS</Description>
			<Help>TXT_KEY_FORCE_CONTROL_MAX_TURNS_HELP</Help>
			<bDefault>0</bDefault>
		</ForceControlInfo>
		<ForceControlInfo>
			<Type>FORCECONTROL_MAX_CITY_ELIMINATION</Type>
			<Description>TXT_KEY_FORCE_CONTROL_MAX_CITY_ELIMINATION</Description>
			<Help>TXT_KEY_FORCE_CONTROL_MAX_CITY_ELIMINATION_HELP</Help>
			<bDefault>0</bDefault>
		</ForceControlInfo>
	</ForceControlInfos>
 
Back
Top Bottom