SteveMcClaire -> RE: Clash of Titans (Kursk 1943) (2/26/2013 9:56:40 PM)
|
quote:
ORIGINAL: Conrad mana You mention the offset values, could you be a bit more specific? what kind of data text file which values etc. Sorry, I was thinking about the tanks.azp file data. For Shadows.azp the 'hotspot' is kept in the file name you use for your shadow. So if you name your shadow image file "T34.spr.000.12.14.tga" the shadow will align with the vehicle hotspot by putting the pixel at 12,14 in the shadow image at the same location as the hotspot for the vehicle hull (or turret, if it's a turret shadow.) One thing that CCMunger does that may make life easier on you -- it will automatically crop your images to remove any completely transparent pixels excess around the edges of your images (any row or column of pixels that all have an alpha value of 0). So if you create vehicle hull, turret, and shadow images that are the same size and all centered in the same place, you can use the same x and y hotspot values for all these components. Of course to do this the images will all be larger than they really need to be, but that's fine as long as you just use transparent background pixels. CCMunger will crop out them down and adjust coordinates as needed when you pack the tanks / shadows files. Steve
|
|
|
|