probs editing oxps

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Post Reply
bagman
Mostly Harmless
Mostly Harmless
Posts: 2
Joined: Wed Dec 01, 2010 9:00 pm

probs editing oxps

Post by bagman »

I would like to make my own OXPs. So Im thinking start small. change some numbers in a OXP something like the price on a ship. So I opened cober3njx.oxp/config/shipyard.PLIST with notepad++ changed the line <real>0.4</real> to <real>1</real> this as I understand will make it 100% to come up at the ship yard. Then the price of the ship <integer>274000</integer> to <integer>4000</integer> . This will make the ship 4000 credits and always available at a ship yard of the appropriate tech level. So I saved the file and launched the game only to find that there is no change?? Where am I going wrong?? Do I need to do some sort of encoding?? :(
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

Hi bagman and welcome.

When you restarted the game, did you hold 'shift' down until the spinning Cobra appears?
If you edit a plist, you need to do this to clear the cache.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
bagman
Mostly Harmless
Mostly Harmless
Posts: 2
Joined: Wed Dec 01, 2010 9:00 pm

Post by bagman »

Just tried starting game with shift held down but still no change? :cry:
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

Ah… then you’ll have to wait for one of our experts to come along… I’m just a player.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Post by Svengali »

Welcome onboard, bagman.

It would be pretty useful to know about your OS and Oolite version and the location of Oolite (e.g. C:\Oolite). And if you have a logfile (stderr.txt or Latest.log) this could also be a winner .-)

...But strange enough - VirtualStore springs to my mind...
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Re: probs editing oxps

Post by Lestradae »

bagman wrote:
... I opened cober3njx.oxp/config/shipyard.PLIST with notepad++ changed the line <real>0.4</real> to <real>1</real> this as I understand will make it 100% to come up at the ship yard. ... So I saved the file and launched the game only to find that there is no change?? Where am I going wrong?? ...
There's another thing that might go wrong, how many ship oxps do you have installed?

Because if you have lots of them, the "<real>1</real>" part does not automatically translate into "100% to come up at the ship yard"!

After which method the game then chooses which ships to offer and which not and how/where it stops offering is something probably only one of the devs can answer.

Hope that helps.
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Post by Switeck »

You may have to jump out and back into the high-tech system to see shipyard changes (which are saved in your savegames).
Post Reply