Datablocks missing? Several errors
by Zachary Seldess · in Torque Game Engine · 05/18/2007 (8:01 pm) · 0 replies
Hello everyone,
Hopefully someone can help me with this...
I'm running an indie-licensed version of Torque 1.5, and I've saved the contents of the GPGT CD to
C:\Torque\SDK\GPGT (inside this subfolder are the Appendices, Base, fscommand, GPGT LessonKit, etc. folders)
Just a few of several errors I'm getting, after starting the 3D Lesson mission:
---------------
from p.119: (I know this has been written about in the Errata, but a problem still exists)
I have followed the directions EXACTLY, many times. In the World Editor Inspector, I try to enter "myGuy" in the field next to the Apply button, but after I press Apply nothing seems to happen. When I deselect the player and select it again, the field next "Apply" is blank again. When I run the function bt16(); in the console everything works, but if I manually enter the script, I get the following:
after entering this:
$player_name = "myGuy"; $player_id=$player_name.getID(); echo($player_name.position); echo($player_name.getID() ); echo("myGuy".getID() ); echo(myGuy.getID() );
I get this:
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
------------------
from p.129:
after creating a new PhysicalZone (as given in the book), if I select the PhysicalZone while in World Editor Inspector, Torque crashes! I tried this in a few different missions inside Torque 1.5 example folder (demo, starter.fps...) -- all crash after selecting the PhysicalZone in World Editor Inspector!
------------------
from p. 130- after running the following in the console:
new StaticShape(TestTarget) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
datablock = "SimpleTarget0";
};
I get this:
Object 'SimpleTarget0' is not a member of the 'GameBaseData' data block class
(0): Register object failed for object TestTarget of class StaticShape.
------------------
from p.131:
the 'shapeFile' field shows a path of "~/data/shapes/targets/simpletarget0.dts"
I can't find this anywhere. Maybe my CD was damaged or missing these files. Where can I find these? Are they in the included Torque Demo, but not in my version of TGE 1.5? I haven't installed the Demo as I already have a running version of the Engine.
------------------
from p.133:
after running bt18a();
I get the following:
Object 'SimpleTarget1' is not a member of the 'GameBaseData' data block class
-----------------
Help on ANY of these problems would be GREATLY appreciated! Thanks.
best,
Zachary
Hopefully someone can help me with this...
I'm running an indie-licensed version of Torque 1.5, and I've saved the contents of the GPGT CD to
C:\Torque\SDK\GPGT (inside this subfolder are the Appendices, Base, fscommand, GPGT LessonKit, etc. folders)
Just a few of several errors I'm getting, after starting the 3D Lesson mission:
---------------
from p.119: (I know this has been written about in the Errata, but a problem still exists)
I have followed the directions EXACTLY, many times. In the World Editor Inspector, I try to enter "myGuy" in the field next to the Apply button, but after I press Apply nothing seems to happen. When I deselect the player and select it again, the field next "Apply" is blank again. When I run the function bt16(); in the console everything works, but if I manually enter the script, I get the following:
after entering this:
$player_name = "myGuy"; $player_id=$player_name.getID(); echo($player_name.position); echo($player_name.getID() ); echo("myGuy".getID() ); echo(myGuy.getID() );
I get this:
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
(0): Unable to find object: 'myGuy' attempting to call function 'getId'
------------------
from p.129:
after creating a new PhysicalZone (as given in the book), if I select the PhysicalZone while in World Editor Inspector, Torque crashes! I tried this in a few different missions inside Torque 1.5 example folder (demo, starter.fps...) -- all crash after selecting the PhysicalZone in World Editor Inspector!
------------------
from p. 130- after running the following in the console:
new StaticShape(TestTarget) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
datablock = "SimpleTarget0";
};
I get this:
Object 'SimpleTarget0' is not a member of the 'GameBaseData' data block class
(0): Register object failed for object TestTarget of class StaticShape.
------------------
from p.131:
the 'shapeFile' field shows a path of "~/data/shapes/targets/simpletarget0.dts"
I can't find this anywhere. Maybe my CD was damaged or missing these files. Where can I find these? Are they in the included Torque Demo, but not in my version of TGE 1.5? I haven't installed the Demo as I already have a running version of the Engine.
------------------
from p.133:
after running bt18a();
I get the following:
Object 'SimpleTarget1' is not a member of the 'GameBaseData' data block class
-----------------
Help on ANY of these problems would be GREATLY appreciated! Thanks.
best,
Zachary
About the author