OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Centron on May 26, 2020, 03:42:57 am

Title: [Answered] Addition of More Indicator Sprites?
Post by: Centron on May 26, 2020, 03:42:57 am
Is it feasible to add more indicator sprite references that can be used for non-standard effects? (ie restrained, dazed, etc.) I am new to modding, so I do not know if these extra references and UI sprites can be added at the mod level, or must be wrapped into the OXCE build. I know the XCF flashbang uses a visual pulse of the sprite, but wanted to see if a UI indicator above the target sprite's head (as used in the burn/wound indicator) would be possible.
Title: Re: Addition of More Indicator Sprites?
Post by: Meridian on May 26, 2020, 02:16:50 pm
Currently this is tied to logic in OXCE source code and not moddable.

Yankes was (is?) considering to add some script support for this, but I don't know if he did anything yet or not.
I can imagine this being very non-trivial.
Title: Re: Addition of More Indicator Sprites?
Post by: Yankes on May 26, 2020, 11:46:41 pm
I didn't had time to do this, I could add this, but simply I do not know when it will be done.
Title: Re: Addition of More Indicator Sprites?
Post by: Centron on May 27, 2020, 03:30:17 am
I pulled the repo to take a look at how it works. You're right, not exactly a trivial change. What IDE do yall use for your work on this? This may be beyond my notepad++ scripting lol, but I can prod at it a bit to see what is possible.
Title: Re: Addition of More Indicator Sprites?
Post by: Meridian on May 27, 2020, 10:25:55 am
I use Visual Studio 2019 CE.