Skip to main content
Topic: Graphics offset (Read 16572 times) previous topic - next topic

Graphics offset

Does anyone know how to write graphics offsets in the dat files?  I can't find it on the wikis.  Does this work for citycars as well?

(Reason: I have just discovered some very odd behaviour in my development version - for some reason if I call my citycar .pak file BritCar.pak it ignores the drive_left = 1 in simuconf.tab, but only in my development folder and not in any other folders with identical config and identical exe!!! Calling it anything else doesn't give this problem...)  This means I have drawn all of the images in the wrong place and I don't want to fix them all image by image.

 

Re: Graphics offset

Reply #1
Here is how I use offsets to center my planes (176 pixels) in the pak128 tile:
Code: [Select]
EmptyImage[W]=SACBoeing777-100.0.1,-24,-36

Maybe you can use that to make what you want...
IIRC it's y, x, but I'm not sure; anyway I'll try to find an image I remember that explained it.

Edit: The image I promised :)
Looking at it I guess the X coordinate should be the lower one and the Y the higher (so X,Y then).