Misaligned ironsights!

Status
Not open for further replies.

malina?

Banned
Joined
Jan 14, 2012
Messages
7,745
Reaction score
12,677
Hey! I'll keep it quick, I promise.

Post the names of the guns with misaligned ironsights here, I'll do my best at taking care of that problem. It's not much, I'm bored and Dave told me I could do it, so, here I am.
I'll let this thread run for a couple days, then I'll throw a pastebin with all the required numbers at Dave. I'm aware that this is probably in the wrong section, but, I didn't know where else I could post it.
Here's a link to a really nifty GMOD addon. It's easy to use, easy to understand and it's probably the best way to do this shit right now.
Currently, these weapons are known to have problems with their sights (I'll edit this list whenever something new pops up):

  • Groza
  • M1 Garand
  • Compact Revolver
  • Scrap Gun
  • AK-107
  • AK-108
  • SVT-40

Pirate took care of these, applause to him.

  • RG-6
  • G3 Assault
  • Mosin-Nagant
  • Obrez
  • Recondite FAMAS
  • DP-27
  • Lewis Gun
  • MG36
  • RTAK/AK-12 Assault
  • RPD
  • UZI
  • SPAS-12
  • SV-10

I took care of these. Yeee.

  • AK-47
  • AK-74
  • AK-47 Gold
  • Glock 18
  • Handheld M203
  • FN FAL
  • LR-300 (No mods)
  • Fort-12
  • AS VAL

HERE is the full progress, so far.
 
LR-300
RG-6
all i can name right now
 
M1 Garand, as well.

Also, Public Development is where this should be probably.

e; FN FAL is very slightly off.

D72A2F6D0DF5750D550A67F4054CFBB02B727289
 
Last time i used the rpd it looked a little off
 
Ironsights and weapon holster positions are a pain, maybe you guys could help out if you want them changed. Here's how!

- Obtain the current position and angles of the weapon's ironsights
lua_run_cl print(LocalPlayer():GetActiveWeapon().IronSightPos)
lua_run_cl print(LocalPlayer():GetActiveWeapon().IronSightAng)

- For each one it'll return something in the form of three numbers, for example:
-> 1.00 -5.00 12.33
- Now tweak these values (usually only position) by using the following commands (replacing x, y and z with your subsequent new values (it's pitch, yaw and roll for angles))
lua_run_cl LocalPlayer():GetActiveWeapon().IronSightPos = Vector(x, y, z)
lua_run_cl LocalPlayer():GetActiveWeapon().IronSightAng = Vector(p, y, r)

- Once you're happy, post your new values in their vector form, along with the weapon id! If you want to change holster positions, repeat the same steps but replace "IronSight[Pos/Ang]" with "Holstered[Pos/Ang]", although they're even more of a ballache.
 
EXPLOSIVES
RG6: SWEP.IronSightsPos = Vector(16.44, 2.72, 2.759)
SWEP.IronSightsAng = Vector(-4.6, 3, 0)

RIFLES
AK74 Assault Launcher: SWEP.IronSightsPos = Vector(4.88, 0, 1.6)
SWEP.IronSightsAng = Vector(0, 0.1, 0)
G3 Assault Carbine: SWEP.IronSightsPos = Vector(-3.931, 0, 1.44)
SWEP.IronSightsAng = Vector(0, 0, 0)
M1 Garand: can't fix
M4 RIS M203: can't find
Mosin: SWEP.IronSightsPos = Vector(-5.1, -2.283, 2.13)
SWEP.IronSightsAng = Vector(1, 1.378, -5.5)
Obrez: SWEP.IronSightsPos = Vector(-5.1, -2.283, 2.13)
SWEP.IronSightsAng = Vector(1, 1.378, -5.5)
Recondite FAMAS: flip view model
SR-3M: SWEP.IronSightsPos = Vector(4.929, 0, 1.559)
SWEP.IronSightsAng = Vector(0.1, 0.6, 0)

LMGS
DP27: SWEP.IronSightsPos = Vector(3.279, 0, 1.399)
SWEP.IronSightsAng = Vector(0, 0, 0)
Lewis Gun: SWEP.IronSightsPos = Vector(3.2, 0, 1.36)
SWEP.IronSightsAng = Vector(0, 0, 0)
MG36: SWEP.IronSightsPos = Vector(-4, 0, -0.88)
SWEP.IronSightsAng = Vector(0, 0, 0) (shouldn't have scope)
RTAK/AK-12 Assault: SWEP.IronSightsPos = Vector(3.16, 0, 1.96)
SWEP.IronSightsAng = Vector(0, 0, 0)
RPD: SWEP.IronSightsPos = Vector(-4.12, 0, 2.92)
SWEP.IronSightsAng = Vector(0, 0, 0)

SMGS
UZI: SWEP.IronSightsPos = Vector(-4.56, 0, 2.039)
SWEP.IronSightsAng = Vector(-1.101, 0.1, -0.201)

SHOTGUNS
SPAS 12: SWEP.IronSightsPos = Vector(2.68, 0, 0.839)
SWEP.IronSightsAng = Vector(0, 0, 0)
SV10: SWEP.IronSightsPos = Vector(-3.12, 0, 2.119)
SWEP.IronSightsAng = Vector(0, 0, 0)

I did this 3 months ago and it was never added to the server.
 
Hoplite said:

That, or you could just post the weapon's name here and say whether it's the holster animation or the sights that need a change.
It's probably what most people are going to do out of laziness, but I'd love to have help with this. It's not for me personally, but for the community!
I have a dream that one day, this community will rise up and -

Yeah, it'd be pretty great.

Pirate said:

That's pretty awesome.
 
I looked at every SWEP on the server at that time and took note of which ones needed repairing.

I couldn't fix the garand for some reason I don't remember what. Any new SWEPs should have correct ironsights anyway, so that should be all of them.
 
whats the name of the var for primary weapon damage?

or whatever

i only know the command for finding armor value not damage value...........
 
Who even uses ironsights for the AA12?
 
Status
Not open for further replies.

Users who are viewing this thread