Author Topic: iron sights help  (Read 2025 times)

If you click here then you can see the post i referenced for making iron sights on one of my weapons. But I don't know how to determine the correct "eye offset" coordinates so the gun will have lined-up sights

Please help (HellsHero)

There is no way to "measure it", just work around until you find it, or import the player model into your modelling program and adjust stuff.

There is no way to "measure it", just work around until you find it, or import the player model into your modelling program and adjust stuff.

I did import the player model into milkshape and moved the gun to the center of his head but any movement in milkshape i make does not translate into blockland at all. An example would be that if I had to move the gun 5.59(x), 1.9(y), and 0(z) if I wrote that down for the eye offset (swapping the y and z coords of course) it would not line up at all. I looked at HellsHero HK417 and his offset has like 2-3 decimal places. I'm wondering how he came up with that.

You would get better help in a forum that caters to modelers.

http://forum.blockland.us/index.php?board=27.0

I did import the player model into milkshape and moved the gun to the center of his head but any movement in milkshape i make does not translate into blockland at all. An example would be that if I had to move the gun 5.59(x), 1.9(y), and 0(z) if I wrote that down for the eye offset (swapping the y and z coords of course) it would not line up at all. I looked at HellsHero HK417 and his offset has like 2-3 decimal places. I'm wondering how he came up with that.

the problem your running into here is one of scaling
blockland "units" are not the same as milkshape "units"

your best option is to follow bauklotz advice and just mess around with the values until it works right.

I way I did it was I modified the offset until the ironsight was directly on the crosshair.

Aka, guess and check.

It really is just a guess and check system. Sorry.

it can take hours.
« Last Edit: March 19, 2011, 03:37:22 PM by Block_cop »