Thread: Im Back
View Single Post
 
Exclamation
Reply
Posted 2004-07-28, 05:25 AM in reply to Aurvian's post "Im Back"
Aurvian said:
Hey Guys Im Back!!!!!!!
Ahh, haven't seen you in a while. Welcome back.

-------

So, you're not sure how to place weapons? Okay then, here goes:

Do the battle charset first. If the left/right hand animations are not directly above/below the other and on the same PNG, then fix that now.

Look for the x/y position of the "hands" of the battle charset you're giving a weapon to (you only need the left/right hand animations' positions). Make your own best judgement on these. On the defaults, the left hand's coordinates are about:

(16,21)-(63,23)-(104,25)

Check the right hand animations next - they should be exactly 48 pixels more on the y coordinate (vertical). If not, you need to fix your battle charset until they line up.

=====

Now that you know the position of the hands, you can easily make a sword that lines up with them. As we all know, there is an 8 pixel border difference in the weaponsets. For the first row, this means that for the first frame, you'll need to add 8 to both the x and y coordinates. For the second, add 24 to the x and 8 to the y. The third, add 40 to x, 8 to y. This means that you should draw the weapon as though the hands are at:

(16+8,21+8)-(63+24,23+8)-(104+40,25+8) = (24,29)-(87,31)-(144,33)

=====

Simply adjust those numbers for the rows below that, keeping in mind that 8 pixel border (this means that the second row, you would add 24 to the y, and on the third row, you would add 40. The fourth, you'd add another 16 to get 56, and so on.).
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube