Author Topic: Recoil Realism  (Read 855 times)

Would it be possible to make weapons fire straight out of the weapon? For example if you fire the gun too rapidly, you'd fire slightly upward instead of straight ahead. I know you could do it by making another point on the model for the alignment but that'd be too troublesome.

Wow sounds like a truly awesome idea...
I'd want that. Idk anyone who could do that, though... Well then again, Idk that many scripters.

I'm thinking that maybe you could set it to automatically change the trajectory if you fire in the middle of recoil. But... that'd only work for the gun-like weapons, and it still wouldn't be realistic.
« Last Edit: July 30, 2008, 09:08:39 PM by tommybricksetti »

o_o
Thats also a pwnsome idea :D
I'd type a cookie but I really think its super noobish.

It probably couldnt be done on the Torque engine but maby... its a lovey idea

You could move the players viewing upwards to simulate the recoil effect.

I tried this but it doesnt seem to work. I made a diffirent kind tho, I cant post the script I used atm, but this is how I did it.
// Initial start up state
  • Ready
  • Ontriggerdown = fire
  • [1]Fire
    [1]Ontriggerdown = fire2
    [1]OntriggerUp = ready

    [2]Fire2
    [2]statescript = onfire2
    [2]Ontriggerdown = fire2
    [2]OntriggerUp = ready


    then we do the function part.


    Gun::Onfire2
    //spread



    P.S Panup(1); is the console command for look up.
« Last Edit: July 30, 2008, 10:39:47 PM by Peaceful War »

Hm I was hoping that wouldn't be the only other way.

It probably couldnt be done on the Torque engine but maby... its a lovey idea
Stupid response. You know not of which you speak.

It could probably be done by rapidly correcting the View upward. Very possible.

P.S Panup(1); is the console command for look up.
That's client sided.