OpenXcom Forum

OpenXcom Forks => OXCE Support => OpenXcom Extended (OXCE) => OXCE Support Y-scripts => Topic started by: Osobist on April 25, 2022, 06:46:31 pm

Title: [Solved] Gender check for player's soldiers dead bodies display
Post by: Osobist on April 25, 2022, 06:46:31 pm
Hello. I want to request a feature - a check and rule for player's dead or unconscious soldiers to display a proper body bigob, female or male depending on gender. Something like bigSpriteAlter or similar. Making a whole separate unit types for this is kinda complicated and not worth it in general. 
Title: Re: [OXCE] Gender check for player's soldiers dead bodies display
Post by: Yankes on April 25, 2022, 07:08:02 pm
This is already done, you could even animate it if you want. Look for scripts that alter item graphic.
Title: Re: [OXCE] Gender check for player's soldiers dead bodies display
Post by: Osobist on April 25, 2022, 07:14:28 pm
That's great to know but what about modders that not familiar with scripting? That's not an easy stuff to roll in w/o some background imo.
Title: Re: [OXCE] Gender check for player's soldiers dead bodies display
Post by: Yankes on April 25, 2022, 07:31:46 pm
Yes, but alternative is that I will add that you ask in next year or two because when I can spend time on OXCE I have bugs to fix or more critical functionalities to implement.
Title: Re: [OXCE] Gender check for player's soldiers dead bodies display
Post by: Osobist on April 25, 2022, 07:35:29 pm
That's understandable, no one making you to drop everything and fullfil my request. I hope that it will be eventually implemented when it's possible. I'll try to figure out how to script by myself then.
Title: Re: [OXCE] Gender check for player's soldiers dead bodies display
Post by: Finnik on April 25, 2022, 09:58:16 pm
Jumping to y-scripting would be still really useful for any modder, as it really extends your options. Use Pedro's Linker to get highlights, it's easier to work with it. And don't be afraid to try, you can always use some help in my discord.
It was not easy for me to get into it too, I also had 0 experience at coding. But now I use it quite often; even with coding own fork, sometimes it's way better to use YS.
Title: Re: [OXCE] Gender check for player's soldiers dead bodies display
Post by: Osobist on April 26, 2022, 02:34:05 am
>Pedro's Linker

That's extension for VS code, right? Can't find it in store tho.

UPD: Nevermind, managed to find it. Thanks for the tip.