Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MOD_NAME=Van Doorn in March
- AUTHOR=hawkeye2777
- DESCRIPTION=Sets Van Doorn's mission as the [first] council mission in March. Tested with LW beta 15b, but may work on b14i as well.
- UPK_FILE=XComStrategyGame.upk
- OBJECT=XGFundingCouncil.DetermineNewFCMission:AUTO
- // March (first year) = 0, April = 1, and so on...
- ALIAS=Month:<%b 0>
- ALIAS=AIGetMonth:19 1B <AI> 16 [@] <XGStrategyAI.GetMonth.ReturnValue> 00 ( 1B <GetMonth> 16 )
- [REPLACEMENT_CODE] // mostly generated by HexToPseudoCode
- 0B
- 07 [@label_0x0064] 9A 38 3A 00 <.eMission> 38 3A 24 1E 16
- 0F 00 <.eMCountry> 38 3D 19 1B <Continent> 19 1B <HQ> 16 [@] <XGHeadQuarters.GetContinent.ReturnValue> 00 ( 1B <GetContinent> 16 ) 16 [@] <XGContinent.GetRandomCouncilCountry.ReturnValue> 00 ( 1B <GetRandomCouncilCountry> 16 )
- 06 [@label_0x0078]
- [#label_0x0064]
- 0F 00 <.eMCountry> 1B <DetermineFCMissionCountry> 16
- [#label_0x0078]
- 07 [@label_0x017C] 9A 38 3A 00 <.eMission> 38 3A 24 00 16
- 07 [@label_0x00FA] 1B <IsProgenyActive> 16
- 07 [@label_0x00FA] 84 82 9A 38 3A 01 <@m_eNextProgenyMission> 38 3A 24 19 16 18 [@] ( 97 19 1B <AI> 16 [@] <XGStrategyAI.GetMonth.ReturnValue> 00 ( 1B <GetMonth> 16 ) 25 16 16 ) 18 [@] ( 77 1B <PSILABS> 16 2A 16 16 )
- 0F 00 <.eMission> 01 <@m_eNextProgenyMission>
- [#label_0x00FA]
- 07 [@label_0x0138] 9A 38 3A 00 <.eMission> 38 3A 24 00 16
- 07 [@label_0x0138] 82 1B <IsChryssalidHiveValid> 16 18 [@] ( 81 1B <HasPlayedChryssalidHive> 16 16 16 )
- 0F 00 <.eMission> 24 1D
- [#label_0x0138]
- // if (eMission == 0)
- 07 [@notMarch] 9A 38 3A 00 <.eMission> 38 3A 24 00 16
- // if (AI().GetMonth() == 0)
- 07 [@notMarch] 9A <!AIGetMonth> 38 3A 24 <!Month> 16
- // eMission = 14
- 0F 00 <.eMission> 24 0E
- [#notMarch]
- 07 [@label_0x017C] 9A 38 3A 00 <.eMission> 38 3A 24 00 16
- 0F 00 <.eMission> 1B <ChooseNextMissionByType> 1B <GetRegionByCountry> 00 <.eMCountry> 16 00 <.eMCountry> 16
- [#label_0x017C]
- 0F 00 <.kMission> 1B <BuildMission> 00 <.eMission> 00 <.eMCountry> 16
- 1B <OnValidMissionAdded> 00 <.kMission> 16
- 55 01 <@m_arrPreviousMissions> [@] ( 35 <XGFundingCouncil.TFCMission.eMission> <@TFCMission> 00 00 00 <.kMission> 16 )
- 1B <CreateMission> 00 <.kMission> 16
- 07 [@label_0x0263] 81 1B <ISCONTROLLED> 16 16
- 19 1B <GEOSCAPE> 16 [@] <NullRef> 00 ( 1B <Alert> 19 1B <GEOSCAPE> 16 [@] <XGGeoscape.MakeAlert.ReturnValue> 00 ( 1B <MakeAlert> 24 2B 38 3A 35 <XGFundingCouncil.TFCMission.ECountry> <@TFCMission> 00 00 00 <.kMission> 4A 4A 4A 16 ) 16 )
- [#label_0x0263]
- 14 19 1B <SITROOM> 16 [@] <XGFacility.m_bRequiresAttention> 00 ( 2D 01 <XGFacility.m_bRequiresAttention> ) 27
- 19 1B <SITROOM> 16 [@] <NullRef> 00 ( 1B <SetDisabled> 28 16 )
- 04 27
- 04 3A <.ReturnValue>
- 53
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement