Press I for information

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Post Reply
Draslin
Posts: 199
Joined: Sat, 11. Feb 06, 22:07
x4

Press I for information

Post by Draslin » Fri, 31. Oct 08, 14:15

How do I setup the information detail on new commands? Its been bugging me for years and I always forget to ask when I'm thinking about it.
Its not a hug so much as "Help me I'm dieing!"

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22227
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Fri, 31. Oct 08, 14:41

you just need to make text available.

like when you added text for you commands in page 2008, 2010 and 2011.

you do the same thing for page 2022. This will be the info for the command, if its avaialble, the i will appear for you command

Draslin
Posts: 199
Joined: Sat, 11. Feb 06, 22:07
x4

Post by Draslin » Fri, 31. Oct 08, 17:45

So something like this will work?

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<language id="44">
  <page id ="2008" title="Script Object Commands" descr="0">
    <t id="432" >CMD_DCORE_WARE_TANKER</t>
    <t id="1232">CMD_DCORE_REPORT</t>
  </page>
  <page id ="2010" title="Script Object Commands">
    <t id="432" >Ware Tanker</t>
    <t id="1232">Status Report</t>
  </page>
  <page id ="2011" title="Script Object Commands">
    <t id="432" >WareTanker</t>
    <t id="1232">St.Report</t>
  <page id ="2022" title="Script Object Commands">
    <t id="432" >This is my description text?</t>
    <t id="1232" >This is my description text?</t>
  </page>
</language>
Its not a hug so much as "Help me I'm dieing!"

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22227
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Fri, 31. Oct 08, 18:57

yeah thats correct

or add 20 to the id's if its a wing command

Draslin
Posts: 199
Joined: Sat, 11. Feb 06, 22:07
x4

Post by Draslin » Fri, 31. Oct 08, 20:23

the page id or the t id?

:) Devil's in the details.

Actually I don't really understand how the wings work from a scripting point of view yet. Haven't even used them in game yet but it seems a bit strange. Does the inclusion into a wing automatically mean any command issued to that ship is issue to the wing as well? Actually I should probably hold these questions until I get to the part where I Can experiment with those. Ways off yet.

Thanks for the help with the "I" bit though. A little OCD when it comes to the polished appearance.
Its not a hug so much as "Help me I'm dieing!"

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22227
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Fri, 31. Oct 08, 21:00

page id, the wing commands have seperate pages

2028, 2030, 2031, 2042

the wings especially work thesame as ships. Its just the command is issued to the wing itself and then your command script should control what it does and what ships it controls, etc

best you could do is look at the existing commands to see how they work

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”