Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing beds in some ships #55

Open
alistair3149 opened this issue May 25, 2023 · 4 comments
Open

Missing beds in some ships #55

alistair3149 opened this issue May 25, 2023 · 4 comments
Labels
gamedata issue The issue is due to faulty game data

Comments

@alistair3149
Copy link
Contributor

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.

@octfx
Copy link
Member

octfx commented May 26, 2023

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? :/

@alistair3149
Copy link
Contributor Author

alistair3149 commented May 26, 2023

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 :/

@octfx
Copy link
Member

octfx commented May 26, 2023

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.

@alistair3149
Copy link
Contributor Author

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.

@octfx octfx added the gamedata issue The issue is due to faulty game data label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gamedata issue The issue is due to faulty game data
Projects
None yet
Development

No branches or pull requests

2 participants