View unanswered posts | View active topics It is currently Tue Sep 25, 2018 12:18 pm



Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
 Guides to Offset Determination and Commenting 
Author Message
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Guides to Offset Determination and Commenting
So, from this thread, I was surprised to see that it's not common knowledge how to exactly determine proper offsets other than tweaking and testing. Or maybe it's just a matter that anyone who understands how to isn't bothering to explain it.

There is an old tutorial on the wiki, but many, many aspects of it are either inaccurate or missing information. Plus, no one uses the wiki for anything but Lua reference anyways. (because of its shortcomings, which are caused by the fact that no one uses it. Unfortunate.)

These are my personal methods using windows xp's paint. Other methods may be more suitable for you, but hopefully the information provided here will be useful to you in getting started. Without further ado, the guides.
Image
Image

If you have any troubles following this guide, or have suggestions for its improvement, feel free to post. If I don't notice the reply, you can PM me if you want. These guides can be redistributed for any helpful purpose.


Attached below are the sprites I used in these guides, so if you want to recreate the steps with the same source material to verify that you're following it correctly, or something like that, you'll be able to do so. Please don't use these sprites for your own released mods, though.


Attachments:
AA12Mag.bmp [1.12 KiB]
Not downloaded yet
AA12000.bmp [1.49 KiB]
Not downloaded yet
AA12WithMag.bmp [1.49 KiB]
Not downloaded yet
WarfighterOffsetDemo.bmp [1.37 KiB]
Not downloaded yet
WarfighterOffsetDemoUnmarked.bmp [1.37 KiB]
Not downloaded yet
WarfighterMag.bmp [1.13 KiB]
Not downloaded yet


Last edited by Azukki on Sat Apr 07, 2012 1:33 am, edited 8 times in total.

Thu Jun 24, 2010 8:28 pm
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: Guides to Offset Determination, Using MSPaint
This is a great job to new moders , I liked it.


Thu Jun 24, 2010 9:22 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1966
Location: The Netherlands
Reply with quote
Post Re: Guides to Offset Determination, Using MSPaint
Thumbs up, awesome work. :grin:


Thu Jun 24, 2010 9:46 pm
Profile
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post Re: Guides to Offset Determination, Using MSPaint
I might actually start modding now.


Fri Jun 25, 2010 2:13 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Guides to Offset Determination, Using MSPaint
Thanks for the positive comments.
Speaking of comments...
Image
tl;dr

uncommented // this is an .ini line comment

uncommented
// this is an .ini line comment
uncommented

uncommented -- this is a .lua line comment

uncommented
-- this is a .lua line comment
uncommented

uncommented
/* this
is an .ini
block comment */
uncommented

uncommented
--[[ this
is a .lua
block comment ]]
uncommented


Last edited by Azukki on Sat Mar 26, 2011 10:53 am, edited 2 times in total.



Fri Jun 25, 2010 6:47 am
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: Guides to Offset Determination and Commenting
To ini you can show the basic properties , like:

- How you can you use one AEmitter and what it's one AEmitter.
- How you can make one HDFirearm , Attachable( armor to who don't know ) ... stronger.
- How you can put infinite bullets in one mag.
- How you can change the bullet's particle go faster and for what make it go faster.
and the history continues ...


Fri Jun 25, 2010 11:15 am
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Correction! The end comment for block comment in Lua is simply ]].
Thank you.


Fri Jun 25, 2010 11:42 am
Profile YIM WWW
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Really? I noticed that just ]] works in the formatting of Notepad ++, but it seems --]] is usually used, and all the online sources I bothered to find said --]] (all two of them), and I didn't try just ]] in-game. But now I have tried it in game, and it works fine, so I'll just fix that up. Thanks for noticing and reporting the problem.


Fri Jun 25, 2010 6:01 pm
Profile
Data Realms SUPER Elite
Data Realms SUPER Elite
User avatar

Joined: Thu Jun 03, 2010 10:06 pm
Posts: 3717
Location: Over there.
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Azukki wrote:
Really? I noticed that just ]] works in the formatting of Notepad ++, but it seems --]] is usually used, and all the online sources I bothered to find said --]] (all two of them), and I didn't try just ]] in-game. But now I have tried it in game, and it works fine, so I'll just fix that up. Thanks for noticing and reporting the problem.



It wouldn't matter anyway, it would just be read as part of the comment.


Sun Jun 27, 2010 3:58 am
Profile
User avatar

Joined: Sun Feb 21, 2010 10:40 pm
Posts: 97
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Thanks, this guide has really helped with finding the offsets on weapons I make. Before I used to just type random numbers on them all until it looked right, not very professional at all.

By the way, where did you get that Windows theme?


Mon Jun 28, 2010 1:33 am
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Well, you see, I had it highly customized, by leaving it at the default for Windows XP Home Edition. my computer's specific OS installation.
Energy Blue (Modified), and it's probably affiliated with E-machines, and is therefore likely best avoided.


Tue Jun 29, 2010 3:23 pm
Profile
User avatar

Joined: Fri Apr 30, 2010 2:12 pm
Posts: 560
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Very useful and complete tutorial, thank you a lot :grin:


Sat Sep 11, 2010 1:08 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Oh god I should really do limbs at some point shouldn't I? They have offsets relative to offsets relative to spriteoffset and all sorts of other nonsense. Everyone seems to trial and error these things waaaay too much.

EDIT: oh wow, forgot to say what a decent job you did of this Azukki. A+ would read again, all that jazz.


Sat Sep 11, 2010 10:55 pm
Profile WWW
User avatar

Joined: Thu Jan 21, 2010 10:59 pm
Posts: 151
Reply with quote
Post Re: Guides to Offset Determination and Commenting
Yes! For the longest time I, just like the others have had to go through the pain of trial and error to find the points. Although even though I did I usually had no idea what I was doing. This guide cut down the amount of times I had to start up CC.. Thank you!

Edit: Actually I've got a question, do you know what the max pixels you can have between the joint offset(of the hand) and the support offset is?


Last edited by ShadowStorm on Sat Sep 11, 2010 11:33 pm, edited 1 time in total.



Sat Sep 11, 2010 11:09 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Guides to Offset Determination and Commenting
depends on your actor's arm length, not the engine.


Sat Sep 11, 2010 11:31 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 29 posts ]  Go to page 1, 2  Next

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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.030s | 14 Queries | GZIP : Off ]