Server Side Melee Script Compile Error
by Zuero · in Torque Game Engine · 10/09/2008 (2:06 am) · 1 replies
I get this error when compiling the scripts for the Server Side Melee System using Torsion:
Precompiling...
//-------------------------- 10/10/2008 -- 04:57:38 -----
Compiling 5377.meleetut.cs...
5377.meleetut.cs Line: 564 - parse error
>>> Advanced script error report. Line 564.
>>> Some error context, with ## on sides of error halt:
// default hand to hand weapon code
WeaponImage::onFireHandToHand(%this, %obj, %slot);
return;
}
// <- phdana hth
// Step Three:
// Into the engine!
// First we'll be working in player.cc.
// At the end of Player::Player() add:
mArmThreadPlayOnce = true;
##
##
// Next, find Player::updateLookAnimation() and replace:
// if we are doing play once anim then we dont adjust arm thread based on head tilt...
if (mArmAnimation.thread) {
// TG: Adjust arm position to avoid collision.
F32 tp = mControlObject? 0.5:
>>> Error report complete.
Untitled - 1 scripts(s), 1 error(s)
Can someone tell me how to fix this error? It involves the meleetut.cs on the Server Side Melee System resource page where you can download the cs file near the top of the page.
So far the engine compiled fine but then this error came up when trying to compile the scripts.
Also which melee system is better, the Server Side Melee System or the Simple Melee System? Or are they the same? I am asking this because I was able to make the Simple Melee System work except for left clicking for the sword attack does nothing.
Thanks in advance
Daniel
Precompiling...
//-------------------------- 10/10/2008 -- 04:57:38 -----
Compiling 5377.meleetut.cs...
5377.meleetut.cs Line: 564 - parse error
>>> Advanced script error report. Line 564.
>>> Some error context, with ## on sides of error halt:
// default hand to hand weapon code
WeaponImage::onFireHandToHand(%this, %obj, %slot);
return;
}
// <- phdana hth
// Step Three:
// Into the engine!
// First we'll be working in player.cc.
// At the end of Player::Player() add:
mArmThreadPlayOnce = true;
##
##
// Next, find Player::updateLookAnimation() and replace:
// if we are doing play once anim then we dont adjust arm thread based on head tilt...
if (mArmAnimation.thread) {
// TG: Adjust arm position to avoid collision.
F32 tp = mControlObject? 0.5:
>>> Error report complete.
Untitled - 1 scripts(s), 1 error(s)
Can someone tell me how to fix this error? It involves the meleetut.cs on the Server Side Melee System resource page where you can download the cs file near the top of the page.
So far the engine compiled fine but then this error came up when trying to compile the scripts.
Also which melee system is better, the Server Side Melee System or the Simple Melee System? Or are they the same? I am asking this because I was able to make the Simple Melee System work except for left clicking for the sword attack does nothing.
Thanks in advance
Daniel
Torque Owner Skylar Kelty
SkylarK
As for
They are pretty much the same. If you get one working then dont worry about the other. The simple melee system resource just makes it easier (imo) to integrate melee.