X2 - Starting positions: is it possible?

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

maverick82
Posts: 680
Joined: Wed, 1. Nov 06, 11:24
x3

X2 - Starting positions: is it possible?

Post by maverick82 »

Hi! I'm planning (some day...) to restart X2 with scrips and mods, and I was wandering of a possible script idea:

Is it possible to add some starting profiles to choose from (like in X3) with different values for the race reputations and/or different starting equipments/race?


Obviously I don't expect the ingame menu-like options of X3: I was thinking of a script that I could edit like a text file (or it could be done also with an html form that dumps an spk file...) in which one could choose from a preset of starting positions or (with some limitations) edit one-by-one the single values...

Does something similar ever exist? If not is it possible to implement?

Thanks for reply (if any) :)
Bye!
Do you know the one -- "All I ask is a tall ship, and a star to steer her by..."
The ship is yours, you can feel her... and the stars are still there.

~~~
:star: James T. Kirk, stardate 4729.4
User avatar
Stevio
Posts: 2271
Joined: Sat, 4. Jun 05, 10:36
x3tc

Post by Stevio »

it is possible

you just need a copy of the (galaxy.Example.initplayership) script named = galaxy.{anyname} the example script is already in the script editor
and a copy of the "Example" map from the \maps folder in your directory - the map needs to be named Exactly! the same as the '{anyname}' part of the galaxy.script

the script will already consist of create ship commands and add money commands etc.
it is also commented to help you edit it yourself
maverick82
Posts: 680
Joined: Wed, 1. Nov 06, 11:24
x3

Post by maverick82 »

Hmmm, thanks, you mean the example script is already in the X2-vanilla main tree? Anyhow I still need to activate the script editor with that 'thereshallbewing', right? :?
And does it work even for a plot game?
Do you know the one -- "All I ask is a tall ship, and a star to steer her by..."
The ship is yours, you can feel her... and the stars are still there.

~~~
:star: James T. Kirk, stardate 4729.4
User avatar
Stevio
Posts: 2271
Joined: Sat, 4. Jun 05, 10:36
x3tc

Post by Stevio »

no to use the new start position you go to Custom game at the start menu and the choose your created map the game then calls the respectively named script i.e. galaxy.mapname

In to activate the script editor you type "Thereshallbewings" During ingame flight
maverick82
Posts: 680
Joined: Wed, 1. Nov 06, 11:24
x3

Post by maverick82 »

OK, thanks for the infos, so a script is no really needed :P
Bye!
Do you know the one -- "All I ask is a tall ship, and a star to steer her by..."
The ship is yours, you can feel her... and the stars are still there.

~~~
:star: James T. Kirk, stardate 4729.4
User avatar
Stevio
Posts: 2271
Joined: Sat, 4. Jun 05, 10:36
x3tc

Post by Stevio »

yes it is needed ;)

the script and the map are like a pencil and a paper
the map is where everything happens and the script is what makes it happen ;)

Return to “X²: The Threat - Scripts and Modding”