I should mention the golden rule: if you tweak anything internally, restart Oolite with the shift key pressed 'til the spinning Cobra appears (to flush the cache).ralph_hh wrote:I like the idea of giving me some extra storage room beyond the 35t.
New player, Elite Veteran
Moderators: winston, another_commander
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: New player, Elite Veteran
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!
And any survivors, their debts I will certainly pay. There's always a way!
Re: New player, Elite Veteran
Well, I made it without the changed sound. The Military laser made all the difference.
Reading through a lot of stuff here, I reckon that I was trying to hit far beyond my beam lasers range.
Mostly harmless now, 10 kills...
No success with some Basic Trials to manipulate the ships cargo capacity. One oxp file with the single line
player.ship.cargoSpaceCapacity = 100 did exactly nothing.
Any suggestions? Do I have to invent (and buy) a new ship?
Reading through a lot of stuff here, I reckon that I was trying to hit far beyond my beam lasers range.
Mostly harmless now, 10 kills...
No success with some Basic Trials to manipulate the ships cargo capacity. One oxp file with the single line
player.ship.cargoSpaceCapacity = 100 did exactly nothing.
Any suggestions? Do I have to invent (and buy) a new ship?
Re: New player, Elite Veteran
For the Cobra 3, find the file called "shipdata.plist," go to line 1222 and change the "ralph_hh wrote:Any suggestions? Do I have to invent (and buy) a new ship?
max_cargo = 20;
" to something such as "max_cargo = 50;
" I'm not sure where it is in Windows or Mac, someone else will have to come along and let you know, but with Linux it is in /home/[USERNAME]/GNUstep/Applications/Oolite/oolite.app/Resources/Config/.
(If you do a home directory install.) It ought to be something like that on the other two operating systems too, but I don't know. You could also install Norby's Miner Cobra OXP. It has a larger cargo hold, (75tc,) but at the expense of lower max energy, lower recharge, only two missile slots, and no side lasers. You can download it from his box account. That is what I am currently flying, and I am enjoying it. That may be easier than trying to edit the files, and is only 107,000 Cr, so you won't have to save for a billion years just to get it.
"May Duralium ever stand between you and the Vacuum."
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: New player, Elite Veteran
"player.ship.cargoSpaceCapacity" is a javascript property, so would be used as part of a shipscript. As SirArian suggested you will need to change the shipdata.plist to increase the cargo space for your player ship.
It is not considered good practice to alter the core game's code though, so I suggest you make a shipdata_overrides.plist to simply over ride the main plist.
In a text editor, type the following
if you want 100TC capacity. Save this file (named as shipdata_overrides.plist) in a folder called Config and place this in your AddOns folder - note that this is not the same folder that the game installs managed addons (OXZs) in. Hold down 'shift' as you start the game and you should be OK.
BTW, although the temptation is there to change such things, sometimes it is worth holding off and giving the ship a fair trial in standard form. In time you may conclude that 35TC is ample, and that bumping it up could affect gameplay in various ways, not always good ones.
It is not considered good practice to alter the core game's code though, so I suggest you make a shipdata_overrides.plist to simply over ride the main plist.
In a text editor, type the following
Code: Select all
"cobra3-player" =
{
max_cargo = 100;
};
BTW, although the temptation is there to change such things, sometimes it is worth holding off and giving the ship a fair trial in standard form. In time you may conclude that 35TC is ample, and that bumping it up could affect gameplay in various ways, not always good ones.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: New player, Elite Veteran
Hey, thank's so far
I had added a cargo.oxp in the addon folder with a cargo.js file - no mess up with the original core code. Did not work... I'll try the shipdata override thing.
Regarding the question when better stop cheating... Yes, valid point, absolutely. In the past 30 years of computer gaming I have mostly resisted cheating. I.e. Diablo II which was heavily loaded with cheats and hacks even in the online community. Was more fun to play "clean". It's true, cheating destroys the game balance and thereby often the fun. But nevertheless, the occasional game that allowed a few things was nice to give it a try to see, how the result works out. I mean, its not that I could not do OOlite without... Owning a military laser and 7000 in cash, I assume I was successfull so far
I remember frontier-Elite where I would like to have altered this. If I remember correctly, the small ships were able to flay far while the large ships could carry cargo but only go short distances. As if a B747 is made for domestic flights but you'd take a cessna to cross the Atlantic. The game was crap.
I had added a cargo.oxp in the addon folder with a cargo.js file - no mess up with the original core code. Did not work... I'll try the shipdata override thing.
Regarding the question when better stop cheating... Yes, valid point, absolutely. In the past 30 years of computer gaming I have mostly resisted cheating. I.e. Diablo II which was heavily loaded with cheats and hacks even in the online community. Was more fun to play "clean". It's true, cheating destroys the game balance and thereby often the fun. But nevertheless, the occasional game that allowed a few things was nice to give it a try to see, how the result works out. I mean, its not that I could not do OOlite without... Owning a military laser and 7000 in cash, I assume I was successfull so far
I remember frontier-Elite where I would like to have altered this. If I remember correctly, the small ships were able to flay far while the large ships could carry cargo but only go short distances. As if a B747 is made for domestic flights but you'd take a cessna to cross the Atlantic. The game was crap.
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: New player, Elite Veteran
Ha, it's not so much cheating - strictly in a single player game you can't really cheat as there are no competitors to gain an advantage over (unless you count the NPCs). It's more a case of changing game balance. For example with a greater hold capacity you can carry loads of 'Pirate fodder' as well as a 'value' cargo, but with a limited capacity choices and decisions have to be made, such as "Do I take a risk and only carry 2TC of food as payoff, or shall I play it safe and carry 5TC but reduce my profit on this run? Often how well you choose can be a key factor in game satisfaction. These aspects can seem quite subtle, but are part of what makes the game so good.ralph_hh wrote:Regarding the question when better stop cheating...
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: New player, Elite Veteran
That's the great thing about Oolite... with all the versatility of OXPs & OXZs - you can choose to play the game however you want. Personally, I have chosen to only install cosmetic changes such as BGS and the like rather than anything that actually changes the mechanics of game-play.
Re: New player, Elite Veteran
Pretty simple instructions, hard to do anything wrong. I failed.. Anything wrong with that code or the filename?Smivs wrote:In a text editor, type the following
if you want 100TC capacity. Save this file (named as shipdata_overrides.plist) in a folder called Config and place this in your AddOns folderCode: Select all
"cobra3-player" = { max_cargo = 100; };
The file is in Config folder, Config folder is in AddOns folder. (Together with another oxp that works fine.)
Do I have to start a new Commander or should this by working on my existing savefile?
Re: New player, Elite Veteran
Tryralph_hh wrote:Anything wrong with that code or the filename?
Code: Select all
{
"cobra3-player" =
{
max_cargo = 100;
};
}
- Tricky
- ---- E L I T E ----
- Posts: 821
- Joined: Sun May 13, 2012 11:12 pm
- Location: Bradford, UK. (Anarchic)
Re: New player, Elite Veteran
Do NOT use Notepad for Windows either. Use Wordpad or even better Notepad++.
Re: New player, Elite Veteran
Ha!
Thanks. The two additional braces did it. Used Notepad++ already before...
And it's shipdata-overrides with "-" not "_"...
Found this in the original config folder.
Thanks. The two additional braces did it. Used Notepad++ already before...
And it's shipdata-overrides with "-" not "_"...
Found this in the original config folder.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: New player, Elite Veteran
Welcome to the darkside - have a cookie!ralph_hh wrote:The two additional braces did it.
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: New player, Elite Veteran
Oops, that will teach me not to try to suggest things before I've actually woken up!ralph_hh wrote:... The two additional braces did it.
And it's shipdata-overrides with "-" not "_"...
Glad you got it working
Commander Smivs, the friendliest Gourd this side of Riedquat.