OpenXcom Forum

Modding => Work In Progress => Topic started by: Ran on May 17, 2014, 06:28:00 am

Title: Hit and bullet sprite numbers and the corresponding files
Post by: Ran on May 17, 2014, 06:28:00 am
Sorry, I know I asked before, but I still don't get it. ???

How are the numbers for hit- and bullet sprites in the items section related to the corresponding numbers for the extra files?
For bullet sprites they are very different and I don't see how the game chooses the right ones. Hit sprites are mostly the same, but that works in some cases and doesn't in others.
Currently I have the case that neither bullets nor hits are visible in several mods I am working on.

Also - is it possible to have different bullet sprites for the same weapon as you use different ammo?
As I see it bullet sprites are attached to weapons rather to ammo.
Title: Re: Hit and bullet sprite numbers and the corresponding files
Post by: Warboy1982 on May 17, 2014, 08:15:47 pm
https://openxcom.org/forum/index.php?topic=1901.msg17909#msg17909

bullet hits refer to individual entries in smoke.pck
melee hits refer to individual entries in hit.pck

no, bullet sprite can be defined by ammo too.

edit: looking at the last thread you posted on this subject, i'm guessing the problem you're facing is with the palettes. consider the battlescape palette as a fixed constant, and do your artwork based on that, not vice versa ;)