Are there any plans of opening the game to modders?

Buzz Aldrin's Space Program Manager (SPM) Road to the Moon is the ultimate game of space exploration.

Moderators: Nacho84, N_Molson

nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: Are there any plans of opening the game to modders?

Post by nico7550 »

Mach25, never say "No" to the Lead Developer ;-)

The file here is "MainMenu03.dds" from "MainMenu-16.9.unity3d"...

Cheers
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: Are there any plans of opening the game to modders?

Post by nico7550 »

To illustrate this:
http://www.ejectionsite.com/x15seat.htm

I share this:
X15-eject.jpg
X15-eject.jpg (243.89 KiB) Viewed 3370 times
;-)

But black screen when leaving the mission control screens (we also can see the missing image in lower left).

Cheers
Mach25
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 17
Joined: Sat Nov 08, 2014 9:45 pm
Location: USA

Re: Are there any plans of opening the game to modders?

Post by Mach25 »

nico7550 wrote:Mach25, never say "No" to the Lead Developer ;-)

The file here is "MainMenu03.dds" from "MainMenu-16.9.unity3d"...

Cheers

Got it...I was able to extract those with Disunity, but now comes the task of trying to figure out how to replace them... :D
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: Are there any plans of opening the game to modders?

Post by nico7550 »

But for the moments there is no way to inject data in .unity3D files...
Nacho84
SPM Moderator
SPM Moderator
Posts: 1382
Joined: Thu Feb 07, 2013 6:32 pm
Location: Brighton, UK

Re: Are there any plans of opening the game to modders?

Post by Nacho84 »

nico7550 wrote:Mach25, never say "No" to the Lead Developer ;-)
On the contrary! I'd always try to say "Yes" if there's something I can do to make the game more enjoyable.

Regarding the .unity3d files: I believe the only way to create them is by using Unity. Notice that we didn't do this on purpose in order to prevent player from modifying the game or anything. It's just that the game features tons of assets and, since asset bundles allow us to store them in compressed form, we went for that route.

Cheers,
Ignacio Liverotti
Lead Developer of Buzz Aldrin's Space Program Manager

Polar Motion
Twitter
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: Are there any plans of opening the game to modders?

Post by nico7550 »

Disunity will maybe do it one day...

After searching, I found that there is 2 ways to bypass Unity3D files, but it need a lot of coding... so it's better to focus on part 2 and patch 1.2...

.Net System IO file Class
http://answers.unity3d.com/questions/38 ... and-j.html

Unity WWW Class
http://answers.unity3d.com/questions/27 ... phone.html

The request I made is the minimum needed to offer more contents to the players from the players.

Cheers
nico7550
SPM Contributor
SPM Contributor
Posts: 66
Joined: Mon Nov 11, 2013 8:23 am

Re: Are there any plans of opening the game to modders?

Post by nico7550 »

Hi,

Since patch 1.1, custom missions cannot be schedule, black screen when trying to go to the MC assignment screen.

Anyway, it didn't work earlier now :-)

main 1.1 output errors are:
Cannot find object MissionMed_26-00-03 inside asset bundle MissionConfigurations
Cannot find object badges_26_X-15_RESEARCH_III inside asset bundle Goals

In 1.0, the blackscreen appear after mission
and the main error was
Cannot find object badges_26_X-15_RESEARCH_III inside asset bundle Goals

Looking at the output, I also found this:

Code: Select all

starting www download: file://L:/Buzz Aldrin's Space Program Manager/SPM-Windows_Data/AssetBundles/MicroDiagramsBackgrounds/16.9/missionStepsLrg_G11-I2 - Earth ground High speed flight+16.9.unity3d
Exception: WWW download has an error: Couldn't open file /Buzz Aldrin's Space Program Manager/SPM-Windows_Data/AssetBundles/MicroDiagramsBackgrounds/16.9/missionStepsLrg_G11-I2 - Earth ground High speed flight+16.9.unity3d. Asset bundle name: MicroDiagramsBackgrounds/16.9/missionStepsLrg_G11-I2 - Earth ground High speed flight+16.9
  at AssetsProvider+<RetrieveAssetBundleInner>c__Iterator7.MoveNext () [0x00000] in <filename unknown>:0 
For testing purposes, here is the testing materials and basic notes needed to add a test mission.
:!: WARNING :!:
everything works but
For 1.1: Only until the schedule where the screen turn black instead of assignment screen.
For 1.0: Until the end of the mission animation where the screen turn black instead of showing result screen.
Notice that there is missing images or placeholder images everywhere, this test mod is only for testing purpose.
Black screen seems to be related to some placeholder images missing.
Safety:
1. Allways save the SPM-Windows_Data before testing a mod
2. Restore if any problem
X15 - One mission MOD Test - For BASPM V1.1

0.
Naming rules use in file names:
Each mission use a code ID, for example:
26: space plane
27: one person capsule
28: 2 persons capsule

Then a sub code to subdivide again, for example:
26-00: X15
26-01: PKA
27-00: Mercury

Then Another subcode for mission
26-00-00: X15 - test flight
26-00-01: X15 - altitude flight
26-00-02: X15 - speed flight

Then a last subcode for turn duration (if you want a mission that have multiple turn duration, you will need one file by turn. Take a look in the long range probe files).
01 is default to use, depending of the types of files, you can found a S before, it mean 'Season'. Mars missions will need at last 5 turns to complete...
26-00-00-01: X15 - test flight - 1 turn mission
26-00-01-01: X15 - altitude flight - 1 turn mission
26-00-02-01: X15 - speed flight- 1 turn mission
1.
Data part, in SPM-Windows_Data\Scripts\Data Scripts\

11.
In SPM-Windows_Data\Scripts\Data Scripts\General Container

111.
Tweak MsnCnfg26-00.xml
I duplicate the mission block 2 goal, into this, bold for values to take care:
<MsnCnfg ID='3' NameStringID='6' DescriptionStringID='7' DurationInSeasons='1' MissionControlLayoutID='MC-X-15' FlightCrewLayoutID='FC-X-15' MacroDiagramPrefix='EarthOrbit1Season' NumLaunches='1' > <!-- Experimental flight III -->
<LaunchInformation ID='1' LaunchType='NA' HistoricalRocketUsedID='N/A' HistoricalLaunchClip='N/A' HistoricalDeploymentClip='N/A' NumStepsInDeployment='0' MissionComponentID1='X-15' NumMissionComponents='1'/>
<PrestigeGrantedOnSuccess FirstTime='200' SecondTime='100' LaterTime='60'/>
<PrestigeDeductedOnFailure Value='288'/>
<GoalsAchieved ID1='26_X-15_RESEARCH_III' NumGoals='1'/>
<StrictGoalDependency ID='26_X-15_RESEARCH_II'/>
</MsnCnfg>
112.
Tweak MsnCnfgsPerGoal.xml
I duplicate the Research 2 goal, into this, bold for values to take care
<Goal ID='26_X-15_RESEARCH_III' NumMsnCnfgs='1'>
<MsnCnfg PgmCtgID='26' PgmID='00' MsnCnfgID='3'/>
</Goal>
113.
Tweak Goals.xml
I duplicate the Research 2 goal, into this, bold for values to take care:
<Goal ID='26_X-15_RESEARCH_III' Generic='FALSE' ProgramCategoryGroupID='1' RelatedCategoryID='26' PrestigeGrantedFirstTime='400' PrestigeGrantedSecondTime='200'> <!-- X-15 Hypersonic research at the edge of space - Level III -->
12.
In SPM-Windows_Data\Scripts\Data Scripts\Mission Simulations Container\Program Category 26 Container

121.
Duplicate MsnSim26-00-02-01.xml into MsnSim26-00-03-01.xml
122.
Tweak MsnSim26-00-03-01.xml
Here I will add a new step in an existing animation, I duplicate the Ascent step, paste it after the High-speed leg (step 4) and tweak it into this (step 5), bold for values to take care.
Also change all ID and NameStringID to match the addition:
<!-- Ascent2 -->
<Step ID='5' NameStringID='5' CrewCanPerish='True' TypeID="ASCENT2">
<PrestigeGrantedOnSuccess FirstTime='0' SecondTime='0' LaterTime='0'/>
<PrestigeDeductedOnFailure Value='0'/>
<MsnCmpInvolved ID='X-15' Amount='100'/>
<FlightControllerInvolved SlotID='0' Amount='40'/>
<FlightControllerInvolved SlotID='1' Amount='40'/>
<FlightControllerInvolved SlotID='2' Amount='20'/>
<AstronautInvolved SlotID='0' Amount='100' NumSkillsUsed='3' SkillUsedIndex0='0' SkillUsedIndex1='1' SkillUsedIndex2='4' SkillInvolvement0='20' SkillInvolvement1='50' SkillInvolvement2='30'/>
<Failure ID='2'/>
<Failure ID='3'/>
<Failure ID='4'/>
<Failure ID='5'/>
<AnimatedPictureData/>
</Step>

<!-- Descent -->
<Step ID='6' NameStringID='6' CrewCanPerish='True' TypeID="DESCENT">
<PrestigeGrantedOnSuccess FirstTime='0' SecondTime='0' LaterTime='0'/>
<PrestigeDeductedOnFailure Value='0'/>
<MsnCmpInvolved ID='X-15' Amount='100'/>
<FlightControllerInvolved SlotID='2' Amount='40'/>
<FlightControllerInvolved SlotID='1' Amount='60'/>
<AstronautInvolved SlotID='0' Amount='100' NumSkillsUsed='3' SkillUsedIndex0='0' SkillUsedIndex1='1' SkillUsedIndex2='4' SkillInvolvement0='20' SkillInvolvement1='50' SkillInvolvement2='30'/>
<Failure ID='7'/>
<AnimatedPictureData/>
</Step>

<!-- Landing -->
<Step ID='7' NameStringID='7' CrewCanPerish='True' TypeID="LANDING">
<GoalAchieved ID='26_X-15_RESEARCH_III'/>
<PrestigeGrantedOnSuccess FirstTime='100' SecondTime='100' LaterTime='100'/>
<PrestigeDeductedOnFailure Value='0'/>
<MsnCmpInvolved ID='X-15' Amount='100'/>
<FlightControllerInvolved SlotID='2' Amount='30'/>
<FlightControllerInvolved SlotID='1' Amount='70'/>
<AstronautInvolved SlotID='0' Amount='100' NumSkillsUsed='3' SkillUsedIndex0='0' SkillUsedIndex1='1' SkillUsedIndex2='4' SkillInvolvement0='30' SkillInvolvement1='60' SkillInvolvement2='10'/>
<AnimatedPictureData/>
</Step>
Please also add comment on the top of the file to describe mission or give mission name
13.
In SPM-Windows_Data\Scripts\Data Scripts\Mission Failures Container\Program Category 26 Container

131.
Duplicate MsnFailures26-00-02.xml into MsnFailures26-00-03.xml
132.
Tweak MsnFailures26-00-03.xml
Duplicate MissionStepTypeID ASCENT, give the same name than in 122 and place this:
<AllMissionFailuresForMissionStep MissionStepTypeID="ASCENT2">
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_CATASTROPHIC" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_FAILURE" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH_SOLVED" NumFailures="0" />
</AllMissionFailuresForMissionStep>
after this
<AllMissionFailuresForMissionStep MissionStepTypeID="HIGH-SPEED_LEG">
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_CATASTROPHIC" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_FAILURE" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH_SOLVED" NumFailures="0" />
</AllMissionFailuresForMissionStep>
133.
Duplicate MsnFailures26-00-02-01.xml into MsnFailures26-00-03-01.xml
134.
Tweak MsnFailures26-00-03-01.xml
Duplicate MissionStepTypeID ASCENT, give the same name than in 122 and place this:
<AllMissionFailuresForMissionStep MissionStepTypeID="ASCENT2">
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_CATASTROPHIC" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_FAILURE" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH_SOLVED" NumFailures="0" />
</AllMissionFailuresForMissionStep>
after this
<AllMissionFailuresForMissionStep MissionStepTypeID="HIGH-SPEED_LEG">
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_CATASTROPHIC" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_FAILURE" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH" NumFailures="0" />
<MissionFailuresForMissionStep AssociatedMsnStepOutcomeType="MSN_STEP_OUTCOME_MINOR_GLITCH_SOLVED" NumFailures="0" />
</AllMissionFailuresForMissionStep>
2.
Text part, in SPM-Windows_Data\Scripts\Text Scripts\

21.
In SPM-Windows_Data\Scripts\Text Scripts\General Container\EN

211.
Tweak MsnCnfg26-00StringsEN.xml
Duplicate the ID 26-00-2 and tweak into this, bold for values to take care:
<String ID="26-00-3-Name" Text="Experimental flight III (Speed record)"/>
<String ID="26-00-3-Description" Text="This mission involves the performance of a experimental flight in order to set a new speed record by reaching velocities over Mach 6.5, providing information on the aerodynamics behaviour beyond transonic speeds."/>
You may also correct or alter others descriptions, to match the continiuty with your new mission.
212.
Tweak GoalsStringsEN.xml
Duplicate ID 26_X-15_RESEARCH_II and tweak into this, bold for values to take care:
<String ID="26_X-15_RESEARCH_III-Name" Text="Hypersonic research at the edge of space - Level III"/> <!-- (26-0-3) -->
<String ID="26_X-15_RESEARCH_III-Description" Text="Accomplishment of this goal requires the successful performance of a flight test that sets a new speed record by reaching velocities of up to Mach 6.5."/>
Notice that the Goal I and II are switched, a bug !?
213.
Tweak MissionsConfigurationsHistoricFactsStringsEN.xml
Duplicate ID 26-00-2 and tweak into this, bold for values to take care:
<!-- Experimental flight III -->
<String ID="26-00-3" Text="The fastest flight was the 188th., reaching a speed of 7273 Km/h. It was conducted by Pete Knight on October 1967."/>
22.
In SPM-Windows_Data\Scripts\Text Scripts\Mission Simulations Container\Program Category 26 Container\EN

221.
Duplicate MsnSim26-00-02-01StringsEN.xml into MsnSim26-00-03-01StringsEN.xml
222.
Tweak MsnSim26-00-03-01StringsEN.xml
As I add a new step in 122, I should add it there too.
I duplicate the ID 3, because STRING_004 is related to ASCENT (see SPM-Windows_Data\Scripts\Text Scripts\General Container\EN\MsnSimCommonStringsEN.xml).
Also change all ID to match the addition:
Bold for values to take care:
<String ID="3" TextID="STRING_004" CommonTextScriptType="Global" Type="Name" />
<String ID="4" TextID="HIGH_SPEED_LEG_NAME" CommonTextScriptType="Global" Type="Name" />
<String ID="5" TextID="STRING_004" CommonTextScriptType="Global" Type="Name" />
<String ID="6" TextID="LANDING_NAME" CommonTextScriptType="Global" Type="Name" />
<String ID="7" TextID="STRING_023" CommonTextScriptType="Global" Type="Name" />
23.
In SPM-Windows_Data\Scripts\Text Scripts\Mission Failures Container\Program Category 26 Container\EN

231.
Duplicate MsnFailures26-00-02_StringsEN.xml into MsnFailures26-00-03_StringsEN.xml
232.
Duplicate MsnFailures26-00-02-01_StringsEN.xml into MsnFailures26-00-03-01_StringsEN.xml
3.
Animation part, in SPM-Windows_Data\

31.
In SPM-Windows_Data\MissionAnimationsMixAndMatchScripts

311.
Duplicate 26-00-02-S01-Mission-L1.xml into 26-00-03-S01-Mission-L1.xml
312.
Tweak 26-00-03-S01-Mission-L1.xml
Copy from <MissionStepAnimationData Name='Ascent'> to the first </AnimationData>
Paste it just before <MissionStepAnimationData Name='Descent'>
Files pack, FOR CRASH TESTING ONLY
SWD_11_X15-TEST-MOD_NAU-17112014.7z
(52.88 KiB) Downloaded 151 times
Cheers
Post Reply

Return to “Buzz Aldrin's Space Program Manager”