API
API copied to clipboard
Missing beds in some ships
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.
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? :/
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:
- Bed_Single_ANVL_Carrack_Medical
- Bed_Single_Side_ANVL_Carrack_Captain
- Bed_Single_Side_ANVL_Carrack_Crew
- Bed_Bunk_ANVL_Carrack
I am not sure how they are attached tbh :/
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.
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.