Help with custom wares

The place to discuss scripting and game modifications for X³: Reunion.

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

Post Reply
AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Help with custom wares

Post by AalaarDB » Tue, 17. Jan 06, 01:25

I fixed it, here's how.
This is what I had:

Code: Select all

28;0;0;0;0;78;5943;0;6727565;1;1;0;6727565;-100000;0;0;SS_WARE_SW_NEW20;
180;180;0;0;0;79;6153;0;1;1;1;0;1;-100;1101;0;SS_WARE_CREDITS;
28;408;0;0;0;80;7413;0;4000;5;10;0;4000;-100;0;0;SS_WARE_SALVAGE_LICENSE;
All SW_NEW wares have the begining number 28. At the end of the original file is the credits, which has 180. Therefore, the custom wares that I added after credits are no longer consecutive.

This is what fixed it:

Code: Select all

28;0;0;0;0;78;5943;0;6727565;1;1;0;6727565;-100000;0;0;SS_WARE_SW_NEW20;
28;408;0;0;0;79;7413;0;4000;5;10;0;4000;-100;0;0;SS_WARE_SALVAGE_LICENSE;
180;180;0;0;0;80;6153;0;1;1;1;0;1;-100;1101;0;SS_WARE_CREDITS;
Therefore, if you want to add command wares remember that they are prefixed with number 28, and must be consecutive.

My test code had the credits at the very end. I moved them back to their opriginal spot so that they'd keep their original number, but this was a mistake - and I did not test it. Always test even the small changes!




Old post:
A user alerted me to the fact that the supposed command wares in the EMP were not in fact showing up as command wares but as regular wares (they take up volume and can be multiple amounts).

I'm not a complete fool. I tested this before I released it and I'm 99% sure they were command wares. So was the Salvage License from my Salvage Mod. But now, they're not, even for me. What's wrong, what has changed?

2 days ago my harddrive crashed. I did a reinstall of X3 and 1.3. However, the EMP files I have now are the same as before the crash.

Maybe it's just us 2 unluckies. Does anyone else get them as command wares?
Last edited by AalaarDB on Thu, 19. Jan 06, 00:55, edited 1 time in total.

carrier
Posts: 20
Joined: Mon, 8. Dec 03, 11:19
x3tc

Post by carrier » Wed, 18. Jan 06, 11:01

I´m sorry to confirm, that your "salvage license" is considered a normal trading good and NOT a command ware in my game, too. So there are at least 3 unlucky people out there...

User avatar
Dioltas As Dia
Posts: 584
Joined: Fri, 9. Dec 05, 22:28
x3

Post by Dioltas As Dia » Wed, 18. Jan 06, 13:49

sorry man but i tested more than the 5 i told you about and they're all registering as goods... :cry:

though when i downloaded it the first time it registered as goods so maybe it was a certain file or line of code you had that went missing before the final product (EMP) was released?

otherwise im stumped :?

AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB » Thu, 19. Jan 06, 00:15

Right, I'm stumped too, that's why I asked for help :)
I will look into it more today.
I also have the 1.3.01 beta, so this helps.

Post Reply

Return to “X³: Reunion - Scripts and Modding”