OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: flesh420420 on October 11, 2015, 06:30:01 pm

Title: [DONE] [Suggestion] Renaming In Inventory
Post by: flesh420420 on October 11, 2015, 06:30:01 pm
I like to label my troops for easy referencing.  Like a soldier with a shotgun I like to put "/sg" tag on his name, because I have a hard time remember who has what.
Would it be possible to label soldiers at the Inventory Screen while equipping them?  Instead of having to go to a different menu to label them each separately?  It'd make labeling troops soooo much quicker.
Title: Re: Label In Inventory
Post by: Solarius Scorch on October 11, 2015, 07:15:40 pm
Unlikely, since AFAIK the inventory screen requires actually starting a battlescape mission (yes, even if you're just equipping the soldiers from the craft menu), and it's a different engine which doesn't allow renaming. So it would require a massive rewrite of the code.
Title: Re: Label In Inventory
Post by: flesh420420 on October 11, 2015, 08:14:10 pm
OK.  Thanks for response.
Title: Re: Label In Inventory
Post by: Meridian on January 01, 2016, 08:28:01 pm
Implemented here: https://openxcom.org/forum/index.php/topic,4187.msg57075.html#msg57075
Title: Re: Label In Inventory
Post by: Solarius Scorch on January 03, 2016, 05:33:09 pm
So it would require a massive rewrite of the code.

Implemented here: https://openxcom.org/forum/index.php/topic,4187.msg57075.html#msg57075

I feel so silly now. :)
(I've been lied to! :P)
Title: Re: Label In Inventory
Post by: Meridian on January 03, 2016, 08:03:57 pm
You were right that it starts a battlescape mission in the background... and you were right that it is a completely different engine too.

Fortunately, unlike the 1994 xcom, it is just one application, so we can easily send data between the two engines and even keep links between their respective objects (if convenient).

For the 1994 xcom it would definitely mean a massive rewrite, for openxcom it requires just a few hacks :)
Title: Re: Label In Inventory
Post by: Solarius Scorch on January 03, 2016, 08:17:41 pm
Yeah, I knew all this, but I was under impression that it would still be hard to translate data.

Nevermind; what counts is that you did an awesome thing.
Title: Re: Label In Inventory
Post by: Warboy1982 on January 06, 2016, 06:09:47 am
may as well pr that