OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Delian on February 18, 2025, 12:21:39 pm

Title: [Solved] QoL: Static Left/Right Soldier Sides
Post by: Delian on February 18, 2025, 12:21:39 pm
Something that's always been bothering me has been how left arm in soldier's inventory screen becomes the right arm in the battle game screen. There's some logic to it, as in, because the soldier is facing you, left from their perspective is right from their perspective. Then again, their picture in battle game screen is also facing you. Anyway, to me this swap is just annoying and confusing. I want left side to always be on the left and right always on the right.

Therefore, I'd like it if there existed an option that would cause the labels and slots for Left Shoulder / Left Hand / Left Leg to be visually swapped with Right Shoulder / Right Hand / Right Leg in the the soldier's inventory screen.

I can try implementing it and submit a PR.
Title: Re: [QoL] Static Left/Right Soldier Sides
Post by: Meridian on February 18, 2025, 01:09:37 pm
The inventory slot placements are already moddable, no?
Just create a mod that moves them around.
Title: Re: [QoL] Static Left/Right Soldier Sides
Post by: Delian on February 18, 2025, 01:26:55 pm
Yeah, I guess I could change it for myself only.

Altho I would call that solution a hack, because it would only be applicable to one mod, because inventory slots placement are different in each mod. Plus the problem exists in an unmodded game.
Title: Re: [QoL] Static Left/Right Soldier Sides
Post by: Meridian on February 18, 2025, 01:35:43 pm
And how would you want to solve it for any mod?

The modders can call their slots as they want, left leg doesn't have to be called STR_LEFT_LEG, it can also be called STR_FOO_BAR or STR_LINKES_BEIN.

Also there are slots, which shouldn't be swapped, e.g. belt or QD, also no way to identify them.

Plus the problem exists in an unmodded game.

That's stretching it a bit too far.
I'm perfectly happy with the original and would not call it a problem.
Title: Re: [QoL] Static Left/Right Soldier Sides
Post by: Delian on February 18, 2025, 01:43:46 pm
Hmm. Maybe a better solution would be to swap the hands in the battle game screen then. That would also make the sides consistent.
Title: Re: [QoL] Static Left/Right Soldier Sides
Post by: Meridian on February 18, 2025, 01:58:26 pm
I don't like that.

Please create a mod for your needs.
Title: Re: [QoL] Static Left/Right Soldier Sides
Post by: Delian on February 18, 2025, 02:02:35 pm
Yeah, that solution would also be confusing because holding your cursor over the right hand would say Left Hand. Yeah, the submod solution seems to be the best.

Nevermind then, topic can be closed.