Page 1 of 6

[Release] Start Choices

Posted: Fri Jan 18, 2013 8:31 pm
by spara
When starting a new game, this oxp gives you some start-up choices of various difficulty.

Image

Image

Image

Download from [EliteWiki] the wiki

Re: [WIP] Start Choices oxp 0.1

Posted: Fri Jan 18, 2013 9:05 pm
by Switeck
That seems an awesome way to start the game.

Keep in mind that my savegame the "broke" Adder also has no missile or heat shielding.

Re: [WIP] Start Choices oxp 0.1

Posted: Fri Jan 18, 2013 9:15 pm
by spara
Switeck wrote:
That seems an awesome way to start the game.

Keep in mind that my savegame the "broke" Adder also has no missile or heat shielding.
Ah. You're right, I overlooked those. Have to remove them.

I enjoy very much starting the game with "broke" Adder. At first the only option is to go blasting some asteroids. Then, when you have about 10 credits, you can buy something and start trading with that cargo hold of 2 :D. Then finally you can upgrade your hold to 5 and do some "serious" trading. Just love it :mrgreen:.

Re: [WIP] Start Choices oxp 0.1

Posted: Sat Jan 19, 2013 3:21 am
by Wildeblood
Can you start in different systems or charts, or only with different ships? If not, scripting seems an inferior solution than a selection of save-game files.

Re: [WIP] Start Choices oxp 0.1

Posted: Sat Jan 19, 2013 7:10 am
by spara
Wildeblood wrote:
Can you start in different systems or charts, or only with different ships?
Don't think that's possible with the present version of Oolite.
Wildeblood wrote:
If not, scripting seems an inferior solution than a selection of save-game files.
You're right about that with savefiles you can set the start system, amongst other things. However, from the user experience side, I find this solution nicer. As a personal preference, I actually only want to change the ship when I start a new game.

Re: [WIP] Start Choices oxp 0.1

Posted: Sat Jan 19, 2013 9:48 am
by Pleb
Wildeblood wrote:
Can you start in different systems or charts, or only with different ships? If not, scripting seems an inferior solution than a selection of save-game files.
It is possible to modify the source code to reach this kind of option, although instead of reading savegames I had the code read a starting-players.plist file in the Config folder. This made it like Frontier, where you could press 1, 2 or 3 instead of Space at the beginning of a new game to select different starting settings (ship, position, money, legal status). However as was stated before, I do not believe changing the start position with existing scripting commands is achievable... :(

But to be honest this is is an excellent OXP taking full advantage of what is available with the current code and scripting abilities. Good job spara! :mrgreen:

Re: [WIP] Start Choices oxp 0.2

Posted: Mon Jan 21, 2013 6:39 pm
by spara
New version (0.2) is up.

* Added spinning ships, text and sub screens for choices.
* Remover missiles and heat shielding from Adder Broke start
* Removed easy start

Could someone english speaking friendly soul :D read the text I have written and correct the errors for me. After that I will up the version to 1.0 and make a release.

Re: [WIP] Start Choices oxp 0.2

Posted: Mon Jan 21, 2013 7:21 pm
by JeX
Corrected English (and took some artistic liberties in changing some of the wording):
:)

I have copy/pasted it directly from the code, so that's why there's still some "\" left.

Welcome greeting:

Code: Select all

"Greetings Commander. You are about to start your new career of space flight, combat and trading starting from the space station orbiting the planet Lave. Before embarking you will need to select a starting ship.\n\nBelow are options ranging from the 'Classic' Oolite Start to the more challenging 'Broke Adder' Start. You can examine the choices in detail by selecting them before making your final decision.\n\nAfter having made your choice, go to options and choose your name by saving the game."
Cobra MK 3:

Code: Select all

"The most successful medium-size ship ever built and a versatile fighter/trader ship.\"
Cobra MK 1:

Code: Select all

"The first truly effective solo fighter/trader ship, but now superceded by the Mk III.\"
Adder Hard start:

Code: Select all

"An agile and compact ship favored by couriers, customizers and professional racers.\"
Adder Harder Start:

Code: Select all

"An agile and compact ship favored by couriers, customizers and professional racers, although you must find a way to earn credits for fuel, equipment and upgrades.\"

Re: [WIP] Start Choices oxp 0.2

Posted: Mon Jan 21, 2013 9:04 pm
by Cmd. Cheyd
Adder Harder Start:
The Lord tells me he can get me out of this mess, but he's pretty sure you're fucked.
:lol:

Re: [Release] Start Choices oxp 1.0

Posted: Mon Jan 21, 2013 9:42 pm
by spara
This simple oxp is now released. Version upped to 1.0.

* Text is read proofed. Big thanks to JeX.
* Nice background added.
* Hud's shown and not shown corrected.

Re: [Release] Start Choices oxp 1.0

Posted: Tue Jan 22, 2013 1:52 am
by UK_Eliter
spara wrote:
This simple oxp is now released. Version upped to 1.0.

* Text is read proofed. Big thanks to JeX.
* Nice background added.
* Hud's shown and not shown corrected.
Nice! :) I especially like your having the corolis graphic (as shown at the start of the thread).

Re: [Release] Start Choices oxp 1.1

Posted: Wed Jan 23, 2013 8:23 am
by spara
A small update (1.1). This has been a learning experience :D. Maybe this can be an example to someone.

In version 1.0 I used ship-data override to give the shown player ships a special role, so that they can be shown on the selection page. However, I realized, that some other oxp can do the same and oxps clash. Then I looked at the like_ship property, and presto, I can create a special ships of my own, that are in practice clones of the originals. All I have to do is rewrite the roles property. No more clashes.

Re: [Release] Start Choices oxp 1.1

Posted: Wed Jan 23, 2013 1:55 pm
by Switeck
I think in Oolite v1.77 you can call a ship by name rather than resorting to roles, so you need not create more ships just to display what already exists.

Re: [Release] Start Choices oxp 1.1

Posted: Wed Jan 23, 2013 2:41 pm
by spara
Switeck wrote:
I think in Oolite v1.77 you can call a ship by name rather than resorting to roles, so you need not create more ships just to display what already exists.
I thought so too, but could not find a way to do it. :( I would appreciate an example, if it can be done.

Re: [Release] Start Choices oxp 1.1

Posted: Wed Jan 23, 2013 2:52 pm
by cim
spara wrote:
Switeck wrote:
I think in Oolite v1.77 you can call a ship by name rather than resorting to roles, so you need not create more ships just to display what already exists.
I thought so too, but could not find a way to do it. :( I would appreciate an example, if it can be done.
Enclose the ship's data key in square brackets. e.g. [cobra3-player]