OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: Meridian on March 06, 2021, 12:21:49 pm
-
Hi everyone,
on desktops, this functionality is available via keyboard modifiers (Ctrl, Alt and Shift) and mouse buttons (RMB and MMB).
On mobile platforms, some functions are simulated via long press:
- right-click on a base facility
- right-click on a soldier in a craft to open soldier info UI
- right-click to turn a soldier and to open/close doors
- right-click to zeroize the soldier's TUs
- right-click to prime grenades in the inventory
Since OXCE v7.0, many other battlescape functions are also available via on-screen touch buttons.
The touch buttons can be activated via extended links, see: https://openxcom.org/forum/index.php/topic,9506.0.html
The buttons can be used for the following functionality:
- shift: ignore spotted enemies/mutual surprise
- ctrl: running
- ctrl: strafing
- ctrl: force-fire
- ctrl+shift: spray targeting
- alt: cursor damage preview
- alt: motion scanner arrows
- alt: unit facing preview
- alt: temporarily turn off camera following projectiles
- alt: minimap borders preview
- RMB: unit turning
- RMB: door opening
- RMB: next unit icon click = select previous unit
- RMB: weapon click = reaction fire preference (yellow dot)
- ctrl+RMB: tank turret turning
- MMB: unit/alien inventory preview
- MMB: weapon/special weapon click = Ufopedia
Big thanks to robin to the button artwork.
-
I notice there are some artifacts on the TFTD buttons. Is there something that I need to fix?
Edit: could be related to the palette? I noticed the "pure white" color appears 3 times, one of which is in the transparent position (the last color).
Strange. I used the top one (see attachment), but the circled ones are all the same color.
I'm not really familiar with this palette, I used the depth-0 one, but I used the standard colors used in the default UI, those should be always there.
-
Yeah, the palette seems to have white color on index 255 in your image.
The color in the game is close to pure black though. e.g. rgb (0,20,16) #001410 in hex
Btw. index 255 is not transparent, only index 0 is transparent.
-
You can use the palette from `oxceLinks.png` in `\standard\xcom2\Resources\Extended\` if you want.
-
seems an issue with photoshop, if I extract the palette from a tftd sprite sheet, I still get the white color in the last index...
no wait, even using irfanview on PCK-viewer extracted images, shows white. lol
-
I prepared photoshop palettes here: https://github.com/MeridianOXC/OpenXcom/tree/oxce-plus/bin/common/Palettes/TFTD-ACT-SAFE
If you download from there, does it look better?
I'm not exactly sure which one is mostly used to draw battlescape sprites, I think it's either PAL_BATTLESCAPE_2_SAFE.act (or PAL_BATTLESCAPE_SAFE.act).
-
This should be fixed.
My old version of photoshop is a pain in the ass for managing the palettes.
I think you should upload link those palettes here:
https://openxcom.org/forum/index.php/topic,1557.0.html
the ones already there are problematic at this point.
Edit: nope, my photoshop can't into your palettes, I have to fix manually my old ones. Anyway the attached buttons should be ok, hopefully.
-
thank you
-
no problem!
let me know if you notice something else.
-
At last! Many thanks.