Where do you find warelists?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
Where do you find warelists?
I'm looking for the file containing the warelists, the pageid and such, with all the t id=# for each ware...
for example: <t id="327691">Xenon Station</t>
I need to know which file that is found in... thanks.
for example: <t id="327691">Xenon Station</t>
I need to know which file that is found in... thanks.
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
-
- Sith Lord
- Posts: 8255
- Joined: Wed, 6. Nov 02, 20:31
It is in 440001
try CTRL + F and type the ware you want once opened.
try CTRL + F and type the ware you want once opened.
LV's TC Scripts
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
Readme's For All My Scripts
I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced
si tacuisses, philosophus mansisses
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
Hmm still can't find it. the CTRL + F only looks down the left column, the page id's, not the t id's... so it doesn't help, searching for 'ware' only brings up ware transport class. I need the warelist for working on my external script editor, so I can match it up to things in the codearray like <sval type="int" val="393229"/> which is the Paranid Crystal Fab, but I need the list so I can get the computer to figure that out for itself automatically.
This is one big thing stopping me from finishing my script compiler part of the editor, which will be my first release of it. So you can take a script from the game, and edit the xml parts that you can actually understand like;
<line linenr="001" indent=""><var>$stat = </var><var>Paranid Crystal Fab M</var></line>
then maybe make a few of those lines, then run it through my compiler, and it'll write the proper codearray into the file so the game reads it properly. So help finding these warelists/ids would be greatly appreciated.
This is one big thing stopping me from finishing my script compiler part of the editor, which will be my first release of it. So you can take a script from the game, and edit the xml parts that you can actually understand like;
<line linenr="001" indent=""><var>$stat = </var><var>Paranid Crystal Fab M</var></line>
then maybe make a few of those lines, then run it through my compiler, and it'll write the proper codearray into the file so the game reads it properly. So help finding these warelists/ids would be greatly appreciated.
-
- Posts: 3823
- Joined: Fri, 12. Aug 05, 20:46
Sorry can't answer you, but if you're planning to write an external script editor, you should give a look at this topic. (i believe there's another related topic with additional info, but i can't find it).
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System
Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
Ya that's where I got a lot of my information from, and ironed out all the things I needed, just a couple steps away here, need the ware id's, I got the german ware id list from the XTern external X script viewer, but I need the english versionSerial Kicked wrote:Sorry can't answer you, but if you're planning to write an external script editor, you should give a look at this topic. (i believe there's another related topic with additional info, but i can't find it).

Anyways, I think after I get this warelist what i'll have left is just parsing text to have it match up with ID's automatically, and input the #'s into the right spots and it's done, i've already made it print out each entry set(sval's) for the version, name, description, and such, I figure i'm only a few steps away.
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
OK an update on this, i've created my own warelist with the proper t id's in english, if you're interested in a copy of this list, PM(private message) me. Here's a sample of it.
that's a very simple procedure now that I have the warelist.
But the thing that's stumped me, is I decided to do
VAR = ware + ware ...
and it's added 6 more sval entries, even though there's only 2 more items, going to have to research this a bit more thoroughly. Again any help would be appreciated.
- <t id="327680">Free Argon Trading Station</t>
<t id="327681">Split Trading Port</t>
<t id="327682">Paranid Trading Dock</t>
<t id="327683">Royal Boron Trading Station</t>
<t id="327684">Teladi Trading Station</t>
<t id="327685">Xenon Station</t>
<t id="327686">Argon Equipment Dock</t>
- <t id="1048617">Strafe Drive Extension</t>
<t id="1048618">Mass Driver Ammunition</t>
<t id="1048620">Camera Drone</t>
<t id="1048621">Advanced Satellite</t>
<t id="1048622">Spacefly Collector</t>
<t id="1048623">Ore Collector</t>
that's a very simple procedure now that I have the warelist.
But the thing that's stumped me, is I decided to do
VAR = ware + ware ...
and it's added 6 more sval entries, even though there's only 2 more items, going to have to research this a bit more thoroughly. Again any help would be appreciated.
-
- Posts: 69
- Joined: Wed, 5. Jan 05, 09:41
In continuation i've discovered more things about the codearray and will be moving this discussion over to that Codearray Discussion Topic when I get back from my visit out of town this weekend. But for now here it is, the codearray chunk described in some detail,
$stat = ware + ware - ware + ware * ware / ware mod ware
<sval type="array" size="43">
<sval type="int" val="104" />
<sval type="int" val="0" />
<sval type="int" val="13" />
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="11" /> +
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="12" /> -
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="13" /> *
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="14" /> /
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="15" /> MOD
<sval type="int" val="15" /> MOD
<sval type="int" val="11" /> +
<sval type="int" val="13" /> *
<sval type="int" val="-1" />
<sval type="int" val="11" /> +
<sval type="int" val="-2" />
<sval type="int" val="12" /> -
<sval type="int" val="-4" />
<sval type="int" val="11" /> +
<sval type="int" val="-6" />
<sval type="int" val="13" /> *
<sval type="int" val="-7" />
<sval type="int" val="14" /> \
<sval type="int" val="-9" />
<sval type="int" val="15" /> MOD
<sval type="int" val="-11" />
</sval>
i'll go into more detail on the other forum after this weekend, hope this comes handy for someone, or helps them help me
$stat = ware + ware - ware + ware * ware / ware mod ware
<sval type="array" size="43">
<sval type="int" val="104" />
<sval type="int" val="0" />
<sval type="int" val="13" />
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="11" /> +
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="12" /> -
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="13" /> *
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="14" /> /
<sval type="int" val="9" /> AND
<sval type="int" val="327680" /> WARE
<sval type="int" val="15" /> MOD
<sval type="int" val="15" /> MOD
<sval type="int" val="15" /> MOD
<sval type="int" val="11" /> +
<sval type="int" val="13" /> *
<sval type="int" val="-1" />
<sval type="int" val="11" /> +
<sval type="int" val="-2" />
<sval type="int" val="12" /> -
<sval type="int" val="-4" />
<sval type="int" val="11" /> +
<sval type="int" val="-6" />
<sval type="int" val="13" /> *
<sval type="int" val="-7" />
<sval type="int" val="14" /> \
<sval type="int" val="-9" />
<sval type="int" val="15" /> MOD
<sval type="int" val="-11" />
</sval>
i'll go into more detail on the other forum after this weekend, hope this comes handy for someone, or helps them help me
