View unanswered posts | View active topics It is currently Thu Jan 02, 2025 10:17 pm



Reply to topic  [ 3 posts ] 
 Sprite Offsets 
Author Message
User avatar

Joined: Thu May 03, 2007 3:02 am
Posts: 14
Location: Canada, BC
Reply with quote
Post 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


Thu Jun 12, 2008 6:17 pm
Profile YIM WWW
User avatar

Joined: Tue Apr 29, 2008 3:04 pm
Posts: 17
Reply with quote
Post 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...


Thu Jun 12, 2008 6:30 pm
Profile
User avatar

Joined: Thu May 03, 2007 3:02 am
Posts: 14
Location: Canada, BC
Reply with quote
Post 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


Thu Jun 12, 2008 8:13 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.075s | 13 Queries | GZIP : Off ]