-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support offset field in PART:INTERNAL #35
Comments
If you're using a custom reviva config, could you please include it here? |
You aren't on the latest FreeIva version, and it's spewing some errors. Could you try updating it and see if this bug still occurs? |
Will do both of those things and update you |
SPACE_SHUTTLE_SYSTEM_setup.zip SPACE_SHUTTLE_SYSTEM_Patches.zip |
KSP_Log_3.zip |
You’ve got some exceptions being thrown from RP0. Could you try to reproduce this problem in a minimal install? |
Will do, will let you know when I'm able to play again. |
Hi, I've set up an install consisting of RSS-RO without RP-1, Reviva and its dependencies along with Space Shuttle System and its dependencies (RO is a dependency of Space Shuttle System) and it the IVA still changes position.
RevivaTesting Log.zip Sorry for the slow response, I haven't had the time to test over the past few days |
@GlebKerman Where did you install SPACE_SHUTTLE_SYSTEM from? The one on CKAN is fairly old, and it doesn't seem to contain the internals that you're referencing in your custom reviva config. |
It's Giulio Dondi's fork of the mod, as for the IVA the mod itself comes with two, that being the Analogue and MEDS (modern), all I did was create versions of the Analogue and MEDS that has crew helmets enabled. Edit: link to mod |
If you want I can send the IVA configs referenced in the Reviva configs |
If they're necessary to reproduce the bug, please. |
internal.zip internalHelmet.zip internalOld.zip internalOldHelmet.zip |
I use the IVA model from an older version of the mod that contained the mid-deck, in case this helps I will send the folder that contains the .mu file and the textures for the IVA model |
I haven't gotten fully set up to reproduce the bug yet but I did notice that there is an offset in the INTERNAL node in the part. I'd bet that's probably confusing reviva. It's pretty unusual for mods to use that. |
Oh interesting, is that the "position = 0.25, -1.13, 1.565" line? |
Oh I see, I'll see if setting the offset to 0 has any effect on the bug |
Hi, yeah I think you are right about the offset confusing Reviva. Setting the offset to 0 sets the default position of the IVA to within the payload bay, I'm assuming Reviva wasn't intended to have to deal with INTERNAL offsets being used. |
Is there a way for Reviva to work with INTERNAL offsets? Or is this something that can only be patched on the Space Shuttle System end? Or perhaps could I add an offset to each individual IVA config used? |
If you’re able to reexport the model, it’s probably best to just set it all up without an offset. But it’s probably reasonable for reviva to support this. |
I'll see if I can find my way around doing this, will update you on the results |
Big issue here is I've never used blender before, and the ShuttleOrbiter part is made up of several different models. I have the blender .mu blender addon but its throwing an error whenever I try to import the ShuttleCabin.mu file. Is there perhaps a ModuleManager patch I can write so that Reviva implements the INTERNAL offset after switchting IVAs? By "ShuttleOrbiter part is made of several different models" I mean that there is no individual ShuttleOrbiter.mu file, instead it is made up of several different .mu files e.g. ShuttleCabin.mu and ShuttleCargo.mu (crew cabin and payload bay). Sorry if I explained this poorly initially. I don't know how or what, in this case, to go about editing. Let alone my inexperience with blender. |
You can add a position field to the MODEL node to import the model at a different position. It then you’d also need to offset all the props. |
Ok I'll give that a go. Do you know the way in which the offset effects default position, for example does the offset of -0.005 change the default position of 0.25 by multiplying it by -0.005? If I can get the position that the offset results in with just the base MODEL position alone |
Yeah I think you’d have to add the offset field to the existing position one. I mean, add the vectors together. |
Ah ok great. This applies to the props as well right? |
Hi @JonnyOThan , edited the positions accordingly for both the model and all of the props and it is working exactly as intended now! Thank you so much for your help! I will keep this issue in mind incase I encounter any more mods that use internal offsets |
https://github.com/user-attachments/assets/f7cac7bf-66c5-4257-b688-10831e83b8b2 |
Thanks for confirming. I think this is still something that reviva should probably support - though if no one needs it right now it may be lower priority. |
Hi, sorry to be back here so soon but I've encountered another peculiar bug, if I switch IVAs in the shuttle orbiter (my own custom reviva config used for this mod), the IVA position moves from its original position to inside the payload bay. If I switch back to the default IVA (the IVA selected in the VAB) and return to the tracking station then return back the the craft, it returns to its original position. But this does not work for a non-default IVA (one selected mid-flight) KSP Log will be attached
This is the default IVA
IVA position after switching.
KSP_Log_2.zip
The text was updated successfully, but these errors were encountered: