Player falling effect in tutorial.base
by Johnathon · in Torque Game Engine · 03/31/2008 (7:19 pm) · 3 replies
Greetings everyone, I have made great strides in my game that I have based off the tutorial.base scripts, but for the life of me I can't seem to find where the stupid player head shake effect that occures when you fall from a distance is at in the scripts. Anyone know where I can adjust this? It shakes way to much and shakes with to short a drop. I want to modify it to better suite my game.
Thanks everyone!
Johnathon
Thanks everyone!
Johnathon
#2
www.garagegames.com/docs/tge/general/apds04.php
Search for groundImpactMinSpeed, and it's the next few things after that.
04/01/2008 (2:20 am)
I think you'll find some datablock settings for player headshake - the effect itself isn't an animation, although there is a 'land' animation played. The settings aren't in the datablock definition, so they default to the values set in code.www.garagegames.com/docs/tge/general/apds04.php
Search for groundImpactMinSpeed, and it's the next few things after that.
#3
Thanks again!
Johnathon
04/01/2008 (11:27 am)
Perfect! Thanks Daniel that solved my problem. I knew it had to be in the datablock settings someplace but I could never find a list of settings like the one you provided. TDN confuses me lol, I search and search and never find what I need.Thanks again!
Johnathon
Torque Owner Lee Latham
Default Studio Name
Is this your own player model? This is usually done in the modelling software, and the state of falling causes it to do "playthread" for that animation on the player object, which triggers the animation. The script just calls the animation, it doesn't actually animate it.