New player, Elite Veteran

General discussion for players of Oolite.

Moderators: winston, another_commander

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:

Re: New player, Elite Veteran

Post by Cody »

ralph_hh wrote:
I like the idea of giving me some extra storage room beyond the 35t.
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).
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!
ralph_hh
---- E L I T E ----
---- E L I T E ----
Posts: 297
Joined: Tue Nov 11, 2014 12:42 pm
Location: Germany

Re: New player, Elite Veteran

Post by ralph_hh »

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?
User avatar
SirArian
Dangerous
Dangerous
Posts: 104
Joined: Fri Feb 28, 2014 3:18 am
Location: Diqudi in chart 3

Re: New player, Elite Veteran

Post by SirArian »

ralph_hh wrote:
Any suggestions? Do I have to invent (and buy) a new ship?
For the Cobra 3, find the file called "shipdata.plist," go to line 1222 and change the "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."
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New player, Elite Veteran

Post by Smivs »

"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

Code: Select all

	"cobra3-player" =
	{
		max_cargo = 100;
	};
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.
Commander Smivs, the friendliest Gourd this side of Riedquat.
ralph_hh
---- E L I T E ----
---- E L I T E ----
Posts: 297
Joined: Tue Nov 11, 2014 12:42 pm
Location: Germany

Re: New player, Elite Veteran

Post by ralph_hh »

Hey, thank's so far :D

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 :mrgreen:

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.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New player, Elite Veteran

Post by Smivs »

ralph_hh wrote:
Regarding the question when better stop cheating...
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.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Imaginos
Deadly
Deadly
Posts: 139
Joined: Tue Nov 04, 2014 2:06 pm

Re: New player, Elite Veteran

Post by Imaginos »

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.
ralph_hh
---- E L I T E ----
---- E L I T E ----
Posts: 297
Joined: Tue Nov 11, 2014 12:42 pm
Location: Germany

Re: New player, Elite Veteran

Post by ralph_hh »

Smivs wrote:
In a text editor, type the following

Code: Select all

	"cobra3-player" =
	{
		max_cargo = 100;
	};
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
Pretty simple instructions, hard to do anything wrong. I failed.. Anything wrong with that code or the filename?
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?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: New player, Elite Veteran

Post by cim »

ralph_hh wrote:
Anything wrong with that code or the filename?
Try

Code: Select all

{
   "cobra3-player" =
   {
      max_cargo = 100;
   };
}
User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: New player, Elite Veteran

Post by Tricky »

Do NOT use Notepad for Windows either. Use Wordpad or even better Notepad++.
ralph_hh
---- E L I T E ----
---- E L I T E ----
Posts: 297
Joined: Tue Nov 11, 2014 12:42 pm
Location: Germany

Re: New player, Elite Veteran

Post by ralph_hh »

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.
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:

Re: New player, Elite Veteran

Post by Cody »

ralph_hh wrote:
The two additional braces did it.
Welcome to the darkside - have a cookie!
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
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New player, Elite Veteran

Post by Smivs »

ralph_hh wrote:
... The two additional braces did it.
And it's shipdata-overrides with "-" not "_"...
Oops, that will teach me not to try to suggest things before I've actually woken up!
Glad you got it working :)
Commander Smivs, the friendliest Gourd this side of Riedquat.
Post Reply