Melee Animation 1.4.2
by Musashi · in Torque Game Engine · 08/29/2007 (2:52 am) · 4 replies
I tried this a while back and found I couldn't work the 'Server Side Melee' system into Torque and tried again, each time I've followed each step exactly, looked at other people's problems and haven't yet found a solution...
So I would be grateful to anyone who knows the answer to my problem:
When running Torque, the player's running/look animation works just fine but the problem is his attack, he won't animate an attack - the console error I receive can be seen in this screenshot:

I've looked at my C++ source code and the command definitely exists. I checked if at the end of player::player if the command 'setarmplayonce = false" was there in the right place (as I saw one person's problem was) and it was.
But I cannot understand why other people's work and mine doesn't as I do believe I've done what they've done. (Though I could be wrong as I haven't got it working yet)
Also, I'm using Torque 1.4.2
Cheers.
So I would be grateful to anyone who knows the answer to my problem:
When running Torque, the player's running/look animation works just fine but the problem is his attack, he won't animate an attack - the console error I receive can be seen in this screenshot:

I've looked at my C++ source code and the command definitely exists. I checked if at the end of player::player if the command 'setarmplayonce = false" was there in the right place (as I saw one person's problem was) and it was.
But I cannot understand why other people's work and mine doesn't as I do believe I've done what they've done. (Though I could be wrong as I haven't got it working yet)
Also, I'm using Torque 1.4.2
Cheers.
#2
Cheers.
08/29/2007 (7:50 am)
I have seen that, I've tried using their scripts but no success so far. As for the engine, I'd prefer to have the source code incase I need to add anything else and keep the Torque version number at 1.4.2. But I am considering it as a last resort, though I do not have a clue why mine doesn't work and everybody else does. So I'm going to wait and see if that error means anything to anyone.Cheers.
#3
08/29/2007 (9:00 pm)
It looks like you are missing a console function. Check all the console functions for typos or that they exist. Do it after you go do something else for a while. Your brain may have switched off on you.
#4
[edit]
It DID work...some reason when the all of the scripts compiled again, all animation stopped and the 'Error in SetArmThread' showed itself in the console - it seems I did something right, but through all of my editing made a mistake somewhere - I think I'll keep my 'what my the bloody think work' edited code safe some where else and rework the rest of the scripts...
At least now all of the C++ sources are just fine and work just fine.
08/30/2007 (6:39 am)
Yes it was the console, the problem is now fixed, finally I got myself a working version of Melee, thank you.[edit]
It DID work...some reason when the all of the scripts compiled again, all animation stopped and the 'Error in SetArmThread' showed itself in the console - it seems I did something right, but through all of my editing made a mistake somewhere - I think I'll keep my 'what my the bloody think work' edited code safe some where else and rework the rest of the scripts...
At least now all of the C++ sources are just fine and work just fine.
Torque Owner Wade Lawrence