Quote from: Epyk on January 07, 2015, 05:32:50 AM
Love the mod!
I think I'd rather make it out with with no survivors or gear. Just the fantastic intro is enough for me.
I hope I'm not a bother, but can you teach me how to remove the radiation thing/event? I'm not a huge fan of it.
You can change it in xml. Go to mods foldier, then CrashLanding\Defs\ThingDefs\. Open buildings_shipParts.xml it contains reactor ThingDef.
If you raplace
Code Select
<thingClass>CrashLanding.Building_CrashedShipReactor</thingClass>
with
Code Select
<thingClass>Building</thingClass>
the reactor will stop emiting radiation. But still produce power. You can remove power production by deleting
Code Select
<comps>
<li>
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>-4000</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
</comps>
So it become just building that do nothing.
You can also replace an event. Go to CrashLanding\Defs\IncidentDefs\Incidents_CrashParts.xml. Find <defName>ShipReactorCrashIncident</defName>. And replace a string below it
Code Select
<workerClass>CrashLanding.IncidentWorker_ShipReactorCrash</workerClass>
with (for example)
Code Select
<workerClass>CrashLanding.IncidentWorker_ShipEngineCrash</workerClass>
It will make the ship engine crash instead of ship reactor.
I think this examples will be enough for you, to start experiments with building parameters and events.