Register Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
abouffard

Registered:
Posts: 14
Reply with quote  #1 
I'm writing a script for my son's birthday party.

What do I have to edit if I want the player ship to be named something other than "Artemis".

Thanks

--Andy
ryleyra

Registered:
Posts: 2,439
Reply with quote  #2 
When the script creates the player ship, it uses a command in the start block, such as:

<create type="player" name="Artemis" raceKeys="TSN" hullKeys="Light Cruiser" x="50000" y="0" z="50000" />

If the name attribute is not present, the ship will use the name selected by the players. This is true of raceKeys and hullKeys too, as well as accent_color, warp and jump, which override the player settings.

If you want to force the name of the ship, just use the name attribute. If you'd rather let your son name the ship himself, he can do it from the Server Configuration screen when the game is being set up.
abouffard

Registered:
Posts: 14
Reply with quote  #3 
Thanks ryleyra!
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.