Data Realms Fan Forums
http://45.55.195.193/

Sprite Offsets
http://45.55.195.193/viewtopic.php?f=1&t=11480
Page 1 of 1

Author:  Mataro [ Thu Jun 12, 2008 6:17 pm ]
Post subject:  Sprite Offsets

Well, I finally decided to start modding, and after much toiling around on my own, I'm still confused as hell. Mostly, right now, with just the offsets. When it says Spriteoffset = Vector, are the following numbers corresponding to one pixel? How do I calculate what I should put there? Because I tried doing it pixel for pixel (it's concievable I just started calculating from the wrong pixel..), but now my muzzle flash is no where to be seen. First it was halfway down the barrel of the gun, and now it's just gone.

So, to sum up, the question is effectively, "How do I calculate what to put in my offset variables?". And as a bit of added information for clarification, I'm making a 105mm Howitzer just to get used to the coding. So far I've done the barrel itself (which I'm then going to make a Howitzer (towed) chassis for as an actor.) and I'm quite satisfied with the gun itself, though I'm still working on the blasts. Help is much appreciated! :D

Author:  duel90 [ Thu Jun 12, 2008 6:30 pm ]
Post subject:  Re: Sprite Offsets

im sure many people will direct you to this page in the wiki

http://www.datarealms.com/wiki/index.php/Offsets

however i too would like this clarified as i have been confused for a long time, i need it to be explained differently to me :S
all im doing at the moment is adding random values and working it out by trail and error...

Author:  Mataro [ Thu Jun 12, 2008 8:13 pm ]
Post subject:  Re: Sprite Offsets

That actually helped a ton. Thanks, Duel90. I'll give it a shot and when I get it all working right, I'll see if I can't help you figure it out too. Really appreciate it :D

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/