EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[Docn] Director Start.xml
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7
View previous topic :: View next topic
Author Message
apricotslice





Joined: 16 May 2004
Posts: 13627 on topic
Location: In the Hunter Legacy Universe
Thank you for registering your game
PostPosted: Sat, 9. Jun 12, 01:00    Post subject: Reply with quote Print

loadout = max would be the same as the script command to default outfit ship I expect.

No idea what the others do. Try it and report back.

"naming thing" ? To what are you referring ?


_________________
Apricot Mapping Services HQ
CLICK HERE for X3 Handbook; TC and AP Guides, Mods, Scripts & Downloads
Back to top
View user's profile Send private message Send e-mail Visit poster's website
XDrake





Joined: 29 Oct 2008
Posts: 133 on topic

Thank you for registering your game
PostPosted: Sat, 9. Jun 12, 02:25    Post subject: Reply with quote Print

I am sorry didn't state it very well.


Code:
<create_ship name="myCarrier" typename="SS_SH_A_M1"...

<create_ship name="subShip" typename="SS_SH_A_M3" dockobject="myCarrier"...


Is the Name flag only use for as reference object in MD, or can you actually effect the name of the ship in the game, like "Your Buster" and have MD change it to "This is MY RIDE"


_________________
XDrake
-------------------------------------------------------
NECORE Inc.
Back to top
View user's profile Send private message
dillpickle



MEDALMEDAL

Joined: 03 Nov 2008
Posts: 1154 on topic

Thank you for registering your game
PostPosted: Sat, 9. Jun 12, 03:43    Post subject: Reply with quote Print

The name flag is what the MD uses to track that particular object.

If you want to 'name' your ship there are a couple of ways...

Code:
<create_ship name="TempShip" typename="SS_SH_B_M4P" race="player" textid="13471">
  <position object="{player.ship}" min="5km" max="10km"/>
  <sector sector="{player.sector}"/>
  <equipment loadout="default"/>
</create_ship>


The textid has to be from pageid="17" (in this case 'Exterminator') - when you target the ship Betty will identify it as 'Exterminator'.

You can also use:
Code:
<create_ship name="Exterminator2" typename="SS_SH_B_M4P" race="player">
  <position object="{player.ship}" min="5km" max="10km"/>
  <sector sector="{player.sector}"/>
  <equipment loadout="default"/>
  <pilot shipname="{17,13471}"/>
</create_ship>


Which will name the ship 'Exterminator', but when targeted the Ship type (Pike in this case) will be said.
This can use any text id for the name..
Code:
<pilot shipname="{1000,20041}"/>

...Engineering Specialist.

Or simply enter the text...
Code:
<pilot shipname="This is MY RIDE"/>


If there is spoken text on pageid's other than 17, you can create an entry for it:
Code:
<page id="350017">
    <t id="9999500">{1000,20041}</t>
  </page>


Then using...
Code:
<create_ship name="TempShip" typename="SS_SH_B_M4P" race="player" textid="9999500">

Woul have Betty calling it 'Engineering Specialist' when targeted.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Tue, 23. May 17, 01:22

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.19929 seconds, sql queries = 17