Author Topic: Show last active Item used in Soldier Hand  (Read 3632 times)

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Show last active Item used in Soldier Hand
« on: January 08, 2015, 11:46:21 am »
Hello all out there :)

I must say i am really pleased with this opensource rebuild of Xcom! You guys did an incredible job.

The issue i wanna address in this post is the following:
In the original (Dos Version), if a soldier had a Two hand Object e.g. a Laser rifle, and the other Hand was occupied with a One hand Object e.g. a grenade or medikit and you left clicked the One hand Object (either for activating it or set it as the Object which should by used), the game showed the last activated Object on the Soldier ingame.

Example:

A Soldier holds a Rocket Launcher in the left slot and a Laser Pistol in the right slot.
The Rocket Launcher is a Two Hand Object and suffers a aim penalty accordingly, Laser Pistol is One Hand Object Suffers no aim penalty. By leftclicking on the Laser Pistol, it was set as weapon to use and the Laser Pistol was drawn accordingly on the Battlescape in the Hand of the Soldier and the Rocket Launcher became invisible. By left clicking on the Rocket Launcher it was as weapon to use and was drawn accordingly on the Battlescape in the Soldier hand(s).
So you could always see which of the two weapons was the one which would be used in reaction fire.

In openxcom the Two Hand object sprite is displayed even if you active the one hand Object.
Was this intentional? Or did i found a small bug :)

I also could do a small Video to show what i mean if the explanation was not understood.

Offline volutar

  • Colonel
  • ****
  • Posts: 351
  • Vanilla digger & Quality assistant
    • View Profile
Re: Show last active Item used in Soldier Hand
« Reply #1 on: January 08, 2015, 11:59:53 am »
So you could always see which of the two weapons was the one which would be used in reaction fire.
You cannot choose the weapon for the reaction fire. In vanilla. There are simply no bytes in the memory, storing that information. I bet this is false memory issue of yours. If you can make a video showing different reaction weapon for same situation, we will investigate that deeply and will make that.

Quote
In openxcom the Two Hand object sprite is displayed even if you active the one hand Object.
Was this intentional? Or did i found a small bug :)
It's not a bug. OpenXcom doesn't consider opened menus for unit sprite rendering. It's just some tiniest visual thing that noone really care about. There are lots of these small visual differences between OXC and vanilla, for example - proper two handed weapon holding (render order). In vanilla they are holding weapon like some logs.

Quote
also could do a small Video to show what i mean if the explanation was not understood.
Please, but with clearly evident DIFFERENT weapon used for reaction in the same situation (using same save).
« Last Edit: January 08, 2015, 12:02:36 pm by volutar »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Show last active Item used in Soldier Hand
« Reply #2 on: January 09, 2015, 02:27:07 am »
we DO actually technically have that facility, (for show anyway) when a unit is holding two two-handed weapons, but i don't recall it affecting which weapon a unit reacted with. and i do actually remember that feature in the original, for what it's worth.

Offline hellrazor

  • Commander
  • *****
  • Posts: 2027
  • Deep Ruleset Digger & Bughunter
    • View Profile
    • Github Account
Re: Show last active Item used in Soldier Hand
« Reply #3 on: January 15, 2015, 11:52:01 pm »
we DO actually technically have that facility, (for show anyway) when a unit is holding two two-handed weapons, but i don't recall it affecting which weapon a unit reacted with. and i do actually remember that feature in the original, for what it's worth.

At the moment it would be nice, if a Soldier holds a 2-Hand and a 1-Hand Item, and you use the 1-Hand item that it shown accordingly in the Soldiers Hand, somehow only the 2Hand sprite is visible.

We have so nice new HandOb Mods now, let us see them ;)