API icon indicating copy to clipboard operation
API copied to clipboard

Missing beds in some ships

Open alistair3149 opened this issue 2 years ago • 4 comments

Ships like 100i and 300i have the bed hardpoints in the API, while ships like Carrack and Cutlass Black are missing the bed hardpoints even though they are present in the SCUnpacked data.

alistair3149 avatar May 25 '23 23:05 alistair3149

All hardpoints get imported from SItemPortLoadoutManualParams and Vehicle.Parts. For the Carrack these would be the corresponding entries: SItemPortLoadoutManualParams and Vehicle.Parts.

I could not find a hardpoint with bed in its name. Could you point me to the file where you found it? :/

octfx avatar May 26 '23 07:05 octfx

For Carrack, I checked the game xml and the beds are not directly attached to the main file. These are the bed-related entities I found:

I am not sure how they are attached tbh :/

alistair3149 avatar May 26 '23 16:05 alistair3149

Checking the files, I could not find any references to those beds in the vehicle xml.

So our only option would be to add these bed hardpoints manually. That is relatively straight forward, but I'd need a list of class names (like Bed_Single_ANVL_Carrack_Medical) for each ship, and the number of beds that should be added.

octfx avatar May 26 '23 16:05 octfx

The first part can be easy with regex as the class name of the vehicle is a part of the name. The second part is the issue as I can't find any references for it.

alistair3149 avatar May 26 '23 16:05 alistair3149