OpenXcom Forum
Modding => Help => Topic started by: chickenx4 on March 07, 2025, 11:05:53 pm
-
I'm trying to fix the handobs in the suppressed rifle and pistol mod, though problem is, the hand sprite isn't working, I've provided a file. I'm trying to fix it.
Also the pistol I found out isn't right, while the handSprite is 12, in some angles it shows a laser rifle.
-
Tested for a bit, you're missing these values under HANDOB.PCK
height: 40
width: 256
subX: 32
subY: 40
I did notice that the png's are 48 pixel high, so not sure if it'll have an unwanted effect if they don't match the values indicated or OXC will just trim the excess on read. Also, you should change the initial index of the pistol as it's partially overlapping with the laser rifle and heavy laser, the guys had pistols sticking out their backs while they were holding those laser weapons. Should be 96 (update the item handsprite too).
-
I've did changed pistol to 96, though the suppressor isn't shown, same with rifle.
-
I see them, they can be hard to notice in some facings or while standing on certain terrains.
- type: HANDOB.PCK
height: 40
width: 256
subX: 32
subY: 40
files:
0: Resources/HANDOB_SRifle.png
96: Resources/HANDOB_SPistol.png
-
It works, thanks for the help.