Equinox-SS13 / equinox-sojourn

Other
1 stars 18 forks source link

Gun Sprites Break When Resting #73

Open EmilitiaEnnehrt opened 2 months ago

EmilitiaEnnehrt commented 2 months ago

About Issue

As the title imply, when resting some gun sprite on suit slot and backpack does not offset alongside the rest of the sprite. Can someone verify if this is code or sprite issue? For some absurd reason; behavior cannot be replicated on the following; Val Silenced Rifle (which seems to use.. the default back sprite?), RPG, Cog Lasgun, Gear Lasgun, Maxim Bluecross, Lascore, X-Ray, Reductor.

Seems like energy weapon is completely unaffected except Sunrise which uses default back sprite...

Appears to happen on all 4 sides of resting direction.

Saigini image image image

Expand for more examples Saigini ![image](https://github.com/user-attachments/assets/22c68077-9939-402d-b622-6cc7fd3b396d) ![image](https://github.com/user-attachments/assets/1bcd8b26-a473-46a8-a32c-3f0e19c5469b) ![image](https://github.com/user-attachments/assets/99ec9785-0904-45cd-8ed4-7a6ba8200dd3) STS Para ![image](https://github.com/user-attachments/assets/4dd6fbba-85be-47eb-be5d-e7b60dd32aa7) Hell Fire ![image](https://github.com/user-attachments/assets/d878781b-f91c-49b5-9866-bb67d4fd3340) Buffalo ![image](https://github.com/user-attachments/assets/895b89b4-ac5f-4824-8845-8140327e2138) Other guns; Omni Rifle, Solarian Carbine, Scout Heavy Bolt Gun, Heroic GPMG, Mamba Carbine, Copperhead Battle Rifle, Sunrise laser SMG, Fenrir.. I stopped counting
Trilbyspaceclone commented 2 months ago

To explain why this happens: Those guns are bigger then 32x32 in the sprite sheet, thus when resting with the back sprite it rotates it an uneven amount An exsample is provided in the image below image