[Fixed]Projectiles using Player EyeNode?
by CSMP · in Combat Starter Kit · 12/28/2008 (8:09 pm) · 4 replies
Ok, i just noticed that the projectiles are not being shot from the weapon MuzzlePoint but from the players EyePoint instead, im wondering how to revert to using the weapons muzzle.
P.S.: I also noticed that crouch and lay positions do not modify the players EyePoint and with the current bug creates very difficult aiming
P.S.: I also noticed that crouch and lay positions do not modify the players EyePoint and with the current bug creates very difficult aiming
#2
01/15/2009 (5:02 pm)
Ari's 1st Person Hack needs full documentation.
#3
p.s. gotta love programmer art
07/02/2009 (4:49 pm)
BTW: This was due too incorrectly set Weapon Model Nodes.p.s. gotta love programmer art
#4
go to Server/Scripts and to the weapon's .cs file. go to the ::onfire code and change fireProjectile into either fireMountedProjectile to have your shots come from the muzzle, or fireProjectileWithSpread for COF.
if anyone knows how to offset the point that the shots come from with fireProjectileWithSpread (down and to the right, to simulate firing from barrel) or better yet a way to change this offset during play to lower it when kneeling or going prone, do tell, this is really a must have for a game these days.
08/29/2009 (6:07 pm)
yeah i'm still tryin to fix this myself. if you want cone-of-fire spread it has to come out of your face it seems, without modification. if you don't mind the shots being dead accurate, you can make them come out of the gun barrel. same with the helicopter and it's miniguns.go to Server/Scripts and to the weapon's .cs file. go to the ::onfire code and change fireProjectile into either fireMountedProjectile to have your shots come from the muzzle, or fireProjectileWithSpread for COF.
if anyone knows how to offset the point that the shots come from with fireProjectileWithSpread (down and to the right, to simulate firing from barrel) or better yet a way to change this offset during play to lower it when kneeling or going prone, do tell, this is really a must have for a game these days.
Torque Owner CSMP
MP Studios