aliens

Author Topic: Handobs in my suppressed gun mod is not showing  (Read 513 times)

Offline chickenx4

  • Captain
  • ***
  • Posts: 83
  • We Are The Nobodies
    • View Profile
Handobs in my suppressed gun mod is not showing
« 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.
« Last Edit: March 07, 2025, 11:07:36 pm by chickenx4 »

Offline CrazedHarpooner

  • Colonel
  • ****
  • Posts: 186
    • View Profile
Re: Handobs in my suppressed gun mod is not showing
« Reply #1 on: March 08, 2025, 12:16:48 am »
Tested for a bit, you're missing these values under HANDOB.PCK
Code: [Select]
    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).

Offline chickenx4

  • Captain
  • ***
  • Posts: 83
  • We Are The Nobodies
    • View Profile
Re: Handobs in my suppressed gun mod is not showing
« Reply #2 on: March 08, 2025, 03:41:15 pm »
I've did changed pistol to 96, though the suppressor isn't shown, same with rifle.
« Last Edit: March 08, 2025, 03:42:58 pm by chickenx4 »

Offline CrazedHarpooner

  • Colonel
  • ****
  • Posts: 186
    • View Profile
Re: Handobs in my suppressed gun mod is not showing
« Reply #3 on: March 08, 2025, 04:19:47 pm »
I see them, they can be hard to notice in some facings or while standing on certain terrains.

Code: [Select]
  - type: HANDOB.PCK
    height: 40
    width: 256
    subX: 32
    subY: 40
    files:
      0: Resources/HANDOB_SRifle.png
      96: Resources/HANDOB_SPistol.png

Offline chickenx4

  • Captain
  • ***
  • Posts: 83
  • We Are The Nobodies
    • View Profile
Re: Handobs in my suppressed gun mod is not showing
« Reply #4 on: March 08, 2025, 08:44:30 pm »
It works, thanks for the help.