Playing reload animation on reload..
by Max Thomas · in Torque Game Engine · 06/01/2006 (2:59 pm) · 3 replies
Hey,
Simple as it seems, this has been bugging me for the past few hours. I have a weapon, with Fire, Reload, and Idle animations. I have the Fire and Idle animations running in game just fine, but Reload has been causing trouble. I'm using the Reloading resource, and I'm just imputing a command to animate the Reload sequence instead of text being printed across the screen that the weapon is being reloaded. I know farewell that my animation is in working order for it shows up in the show tool, so I would have to say that all of the commands that I've tried out are wrong. Any examples/help would be greatly appreciated.
Thanks, Max
Simple as it seems, this has been bugging me for the past few hours. I have a weapon, with Fire, Reload, and Idle animations. I have the Fire and Idle animations running in game just fine, but Reload has been causing trouble. I'm using the Reloading resource, and I'm just imputing a command to animate the Reload sequence instead of text being printed across the screen that the weapon is being reloaded. I know farewell that my animation is in working order for it shows up in the show tool, so I would have to say that all of the commands that I've tried out are wrong. Any examples/help would be greatly appreciated.
Thanks, Max
#2
Thanks for the reply. Theres a big lightning storm going on here at the moment so I'm going to shut off my computer. But I'll be sure to implament that resource and get back to you. Just a question, but do you know of any easier ways to go about this? It seems like it should be the simplest of things to do.
Thanks, Max
06/01/2006 (3:31 pm)
Hey C2,Thanks for the reply. Theres a big lightning storm going on here at the moment so I'm going to shut off my computer. But I'll be sure to implament that resource and get back to you. Just a question, but do you know of any easier ways to go about this? It seems like it should be the simplest of things to do.
Thanks, Max
#3
06/01/2006 (4:34 pm)
Well reloading involves magazines and picking them up and adding them to the "backpack" to subtract from when reloading, and to get a system going with no glitches takes some hefty scripting. It took me quite some time to get one that is able to get work despite any wrong way of pressing the keys or any "weird" situations (like hitting reload during firing, reloading while picking up ammo simultaneously, reloading then changing weapons during a reload sequence, etc). I'll go into detail on how this system works later.
Torque Owner Chris Byars
Ion Productions