Converting to new TGB system
by Kevin James · in Torque Game Builder · 04/08/2006 (6:41 pm) · 3 replies
Can anyone help with this problem?
function t2dAnimatedSprite::InitFighter(%this, %team,%row)
{
%this.setGroup(2); //This line used to work in the old system
}
This is the error that gets spit out:
/client/Teams.cs (191): Unknown command setGroup.
Object (211) t2dAnimatedSprite -> t2dSceneObject -> SimObject
There's also tons of these kinds of errors:
t2dSceneObject::loadStream() - Loading Deprecated Version 8! (Save as higher version!)
t2dPhysics::loadStream() - Loading Deprecated Version 2! (Save as higher version!)
t2dGraphField::loadStream() - Invalid Stream Header ID!
t2dParticleEffect::loadEffect() - Error Loading Effect/Emitter(s)!
I've spent several hours just getting it show something on the screen. Now my wife is mad because I've been ignoring her, so I give up for today!
Thanks for any help...
function t2dAnimatedSprite::InitFighter(%this, %team,%row)
{
%this.setGroup(2); //This line used to work in the old system
}
This is the error that gets spit out:
/client/Teams.cs (191): Unknown command setGroup.
Object (211) t2dAnimatedSprite -> t2dSceneObject -> SimObject
There's also tons of these kinds of errors:
t2dSceneObject::loadStream() - Loading Deprecated Version 8! (Save as higher version!)
t2dPhysics::loadStream() - Loading Deprecated Version 2! (Save as higher version!)
t2dGraphField::loadStream() - Invalid Stream Header ID!
t2dParticleEffect::loadEffect() - Error Loading Effect/Emitter(s)!
I've spent several hours just getting it show something on the screen. Now my wife is mad because I've been ignoring her, so I give up for today!
Thanks for any help...
About the author
Computer security, digital forensics, and platform jumper enthusiast. shells.myw3b.net/~syreal/
#2
04/08/2006 (7:18 pm)
For example: http://www.garagegames.com/mg/forums/result.thread.php?qt=39912
#3
04/09/2006 (6:06 pm)
Thank you! That worked.
Torque Owner Jason Cahill
Default Studio Name
For future reference, if you had googled this site with setGroup there are several other threads with the same question and answer. :-)