[GS] Load Order Issue

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
Hi all,
The UNIT_OTTOMAN_JANISSARY keeps coming up in my log as does not exist in Units and yet it does exist in the Poland Scenario, I presume its a Load Order issue, I have set my mod load order to 200 do I need to change that?

Regards
Riker13:crazyeye:
 
It's not a Load Order issue.

UNIT_OTTOMAN_JANISSARY is only added to the game database if the scenario is being played. RULESET_SCENARIO_POLAND is a criteria for all the actions in the Poland Scenario's modinfo file.
 
Ahh thanks LeeS, so do I add:
RULESET_SCENARIO_POLAND in my .modinfo Under criteria?
 
No because that would make your code only execute when the user is playing the Poland Scenario.

Even if you use this sort of thing like Rob does for Anno Domini to load certain data from the expacs into his custom Anno Domini Ruleset I'm not sure it would work because the action you would be trying to activate would still only execute I think when the Poland Scenario ruleset was being used:
Code:
  <InGameActions>
    <UpdateDatabase id="AnnoGameplay">
      <Properties>
        <LoadOrder>135</LoadOrder>
      </Properties>
      <Include mod_id="1B28771A-C749-434B-9053-D1380C553DE9" action_id="Expansion1_MajorContent" />
      <Include mod_id="1B28771A-C749-434B-9053-D1380C553DE9" action_id="Expansion1_XP2" />
      <Include mod_id="643EA320-8E1A-4CF1-A01C-00D88DDD131A" action_id="NubiaGameplay" />
      <Include mod_id="643EA320-8E1A-4CF1-A01C-00D88DDD131A" action_id="NubiaGameplay_XP1" />
      <Include mod_id="643EA320-8E1A-4CF1-A01C-00D88DDD131A" action_id="NubiaGameplay_XP2" />
      <Include mod_id="E2749E9A-8056-45CD-901B-C368C8E83DEB" action_id="MacedoniaGameplay" />
      <Include mod_id="E2749E9A-8056-45CD-901B-C368C8E83DEB" action_id="MacedoniaGameplay_XP1" />
      <Include mod_id="E2749E9A-8056-45CD-901B-C368C8E83DEB" action_id="MacedoniaGameplay_XP2" />
Because the action in question from the Poland Scenario is this one
Code:
	<ActionCriteria>
		<Criteria id="PolandScenario">
			<RuleSetInUse>RULESET_SCENARIO_POLAND</RuleSetInUse>
		</Criteria>
	</ActionCriteria>
	<InGameActions>

		<UpdateDatabase id="PolandScenarioGameplay" criteria="PolandScenario">
			<Properties>
				<LoadOrder>100</LoadOrder>
			</Properties>
			<Include mod_id="3809975F-263F-40A2-A747-8BFB171D821A" action_id="PolandJadwigaGameplay" required="1" />	
			<File Priority="1">Data/PolandScenario_RemoveData.xml</File>
			<File>Data/PolandScenario_AI.xml</File>
			<File>Data/PolandScenario_Barbarians.xml</File>
			<File>Data/PolandScenario_Beliefs.xml</File>
			<File>Data/PolandScenario_Civilizations.xml</File>
			<File>Data/PolandScenario_DiplomacyInfo.xml</File>
			<File>Data/PolandScenario_Eras.xml</File>
			<File>Data/PolandScenario_GameSpeeds.xml</File>
			<File>Data/PolandScenario_GlobalParameters.xml</File>
			<File>Data/PolandScenario_Gossip.xml</File>
			<File>Data/PolandScenario_Leaders.xml</File>
			<File>Data/PolandScenario_LoadingInfo.xml</File>
			<File>Data/PolandScenario_GreatPeople.xml</File>
			<File>Data/PolandScenario_GreatWorks.xml</File>
			<File>Data/PolandScenario_Misc.xml</File>
			<File>Data/PolandScenario_Units.xml</File>
			<File>Data/PolandScenario_Victories.xml</File>
		</UpdateDatabase>

,,, etc
Which would result in stuff you really do not want.
 
Back
Top Bottom