New Slot adding

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.
Post Reply

New Slot adding

Cadet 3rd Class
Posts: 35
Joined: Sat Sep 23, 2017 6:46 am

Post by smm2303 » Sun May 09, 2021 6:39 am

I need to add a complete New Slot in XWA (I have XWA steam installed with XWAUPG 3.0) WIndows 10 (I need to add Eclipse -ESSD and more)
AS i found that I cant use Dont use me slot.
There are 220 slots can I add 221. Which adds entry in to all files shiplist flightmodels etc.
Pls guide me in details.

User avatar
Vince T
Fleet Admiral (Administrator)
Posts: 13626
Joined: Fri Apr 27, 2001 11:01 pm

Post by Vince T » Sun May 09, 2021 8:26 am

There are a whole bunch of empty slots inbetween the vanilla craft, which you can use, for example:
- 33-42, 49
- 66-70
- 86-90
- 116-125
- 184-191.
Unless you already have an old craft pack installed which fills those already, you can use those. If you have a craft pack installed, you'd have to choose a craft you don't need and overwrite it.

I don't think there's any way right now to add additional slots (@JeremyaFr ?).
However what you can do is use the mission Objects hook to replace a speciffic ship (e.g. regular SSD) with the Eclipse.

Moving this to editing forum.

Also please don't post topics TWICE in different forums.
Your ship, Captain. I need a drink. - Vince Trageton
Vince T's X-Wing HQ - where the bad guys get their gear

Cadet 3rd Class
Posts: 35
Joined: Sat Sep 23, 2017 6:46 am

Post by smm2303 » Sun May 09, 2021 11:17 am

Thank You Vince for your prompt and very helpful reply. I will try the above.

User avatar
Cadet 2nd Class
Posts: 78
Joined: Sun Jul 14, 2019 1:36 am

Post by Haakan » Thu Jul 08, 2021 10:54 pm

Afaik adding slots to XWA would imply greatly changing the code...

Still the question remains, is it feasible? mission objects and profiles helps for sure. Editing the Craft ID would help towards replacing crafts with different ones.
Lt. Colonel A. Araujo
Commander, 7th SpecOps Squadron "Alpha"
Assistaant to the Recon Office
Emperor's Hammer.

CMDR-ROA/LC Alejandro Araujo/Alpha/Wing I/ISDII Hammer

Lieutenant Commander
Posts: 1042
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Fri Jul 09, 2021 8:13 pm

Probably not, the problem is the strings.txt file sort of represents the craft/objects slots in the .exe which is limited to about 220.
W-I-P: ISD-II, (Imp) Escort Carrier, NL-1 Platform, Misc, & TFTC.

User avatar
XWAU Member
Posts: 3183
Joined: Mon Jan 18, 2010 5:52 pm

Post by JeremyaFr » Sun Aug 01, 2021 10:03 am

Another problem is that the game engine uses 8-bit values for craft type. This can't be changed. Increasing the above limit that Bman has posted will be limited to 255 or 256. This would require a lot of work. There would be a lot of breaking changes such as game files structure, tools, patches. So it is not possible to break the crafs slots limit.
The best way to have more crafts is to use multiple installs of the game.

Post Reply