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

smm2303
Cadet 3rd Class
Posts: 49
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: 14045
Joined: Fri Apr 27, 2001 11:01 pm
Contact:

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

smm2303
Cadet 3rd Class
Posts: 49
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
Haakan
Cadet 2nd Class
Posts: 81
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"
Battlegroup I
Emperor's Hammer.

CMDR/LC Alejandro Araujo/Alpha/Wing I/ISDII Hammer/BGI

Bman
Lieutenant Commander
Posts: 1167
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: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

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