Game Development Community

Corrupt level and crash when changing player datablock

by InvertedVantage · in Torque 3D Beginner · 09/23/2011 (7:33 pm) · 5 replies

So I roughly followed this tutorial (instead I chose to create a new project and play with the blank level) to change the datablock so that I could adjust my player's jump height;
http://www.garagegames.com/products/torque-3d/documentation/user

When clicking on my player's spawnsphere, it did not have anything under "SpawnClass", so I added Player.
Below that I added the name of my new datablock class.

Upon saving/exiting/trying to reload, the program stops working. Any help please? :)

#1
09/25/2011 (3:18 pm)
Have you checked the console log yet to see where it is crashing?
#2
09/25/2011 (6:59 pm)
It won't even launch; it gets to the very last part of the load and just freezes up and dies.
#3
10/11/2011 (9:06 pm)
same old problem for me.
i also have asked others.
nobody seems having any problem like this.
and they all was using torsion.

if you do not have torsion,then you will see many strange issues like this with t3d.using torsion solves most of them.
it seems t3d without torsion is real pain.
so costing 50$ more :(
#4
10/12/2011 (8:49 am)
Hmm, not sure how Torsion could affect the non appearance of the issue for some. I don't use Torsion and cannot replicate.

Suggest verifying the name of the datablock as well as making sure that if the player datablock calls for some other data object (particles and sounds being prime examples) that you make sure these datablocks are declared and loaded before the player datablock.
#5
10/12/2011 (8:54 am)
There was a bug in 1.1 where if you set the spawnDatablock to an invalid datablock it would cause a crash. It's fixed in 1.2.

@ahsan
Torsion is $39.95 USD, it's currently on sale still for $19.95. That sale will be ending soon though. Torsion wouldn't solve this issue for you, though it might help you identify it in debug mode. While Torsion is my personal preference, there are alternatives to Torsion out there like TorqueDev (which actually used to be my personal preference at one time).