OpenXcom Forum

Modding => OpenXcom Extended => OXCE Support => Topic started by: Slax on October 19, 2018, 07:44:28 pm

Title: [Answered] Item Transformation during battlescape
Post by: Slax on October 19, 2018, 07:44:28 pm
What's this? A folding weapon? My, how fancy!

Anything from rifles with retractable stocks (size vs. speed vs. accuracy) to things that just... turn into something else. Basically turning one item into another one with the battlescape use item menu. Or right-clicking during loadout management. Would allow for plenty of modding shenanigans.

JA 1.13 did this a few years back and it's been paying off tremendously ever since. Figure OXCE could benefit from it too.

Tricky to implement? Probably. I wouldn't know.
Title: Re: [Answered] Item Transformation during battlescape
Post by: Meridian on February 14, 2023, 09:44:52 am
This is theoretically/technically possible using scripts.
You can modify weapon graphics using scripts, you can also modify weapon damage and create some special effects etc.

I'd suggest taking inspiration from memmaker's Vigilo Confido to see how it can be done, using also the Soldier Skills feature (to activate the transformation).


As for actually physically transforming battleItem X into battleItem Y during battlescape... that's a can of worms I don't want to open.