playerships.xml not sticking

A place to discuss mods in development and concepts for new mods.
Post Reply
Bob7k
Anarchist
Anarchist
Posts: 4
Joined: Fri Feb 24, 2012 9:04 pm

I dont know if im just not editing the right file or something, but im having trouble boosting the cargo capacity of any of the starter ships. I believe my mods to the limit on devices worked, but not the cargo parts. Ive got other mods loaded and running fine, and im using the PlayerShip.xml.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Ok, all you have to do is change the cargoSpace value at the same xml where you changed the device slot value.

<!-- Player Ship: Sapphire-class Yacht -->

<ShipClass UNID="&scSapphirePlayer;"
manufacturer= "Zubrin Systems"
class= "Sapphire"
type= "yacht"
score= "95"

mass= "30"
reactorPower= "150"
fuelCapacity= "37500"
cargoSpace= "50"
thrust= "150"
rotationCount= "40"
maneuver= "2"
maxSpeed= "20"

maxArmor= "6000"
maxCargoSpace= "150"
maxDevices= "8"

leavesWreck= "30"

attributes= ""
>
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Bob7k
Anarchist
Anarchist
Posts: 4
Joined: Fri Feb 24, 2012 9:04 pm

I changed cargo space to 500, saved the file in /extensions/ and started the game. I opened the menu with S, but the cargo was 49, one ton for fuel, the cargo changes just wont take effect.
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

You have to start a new game for your changes to take effect.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Bob7k
Anarchist
Anarchist
Posts: 4
Joined: Fri Feb 24, 2012 9:04 pm

Tried that, also deleted the save file, but the cargo mods wont take effect.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

You're trying to alter the decompiled xml. The game never loads that stuff, it loads the tsb file it came from. You need to create a mod that overwrites the ship you want to alter.
Literally is the new Figuratively
Bob7k
Anarchist
Anarchist
Posts: 4
Joined: Fri Feb 24, 2012 9:04 pm

I dont quite understand, how would I do that?
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

You have to make a new .xml that copies the playership and overrides it. There is a tutorial on how to override.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Post Reply