Game Development Community

TGBX Bug: Spawn Objects

by Jonathon Stevens · in Torque X 3D · 02/13/2007 (9:14 pm) · 2 replies

OK. Not entirely sure what the hell is going on, but I'll do my best to explain what's happening. First, the screenie:

www.last-straw-games.com/images/spawnobjbug.jpg
Two things are happening in this shot and I'm not sure if they are related, but since it's all in one shot, only 1 forum to rule them all. Wow, I need to quit playing LOTRO.

First, on the right you see a crapload of collision materials with no names listed. No matter how many times I remove them, more pop up. It seems everytime the level is loaded, more are added.

Second, on the left you see spawn objects with the default image which usually means no template object has been selected. The ones that show up like this do indeed have a template object selected. They work just fine when the game is running, but they are not setting the image like they should in TGBX. When you first set them, you see the template image fine. When you set them to something else and then back to the original, they show up just fine. When you save, close, reopen, it does what you see.

Here's the kicker. It only happens on ONE specific template object!!! To throw fuel on the fire, that template object is an EXACT duplicate of the other template object including components, component settings, etc with the exception of two things. The name is FowlRev instead of Fowl and the box Flip Horizontal is selected on the FowlRev.

Those are the ONLY differences. Thoughts?

Edit: the little fowl heads and butts poking out are hte ones set to the Fowl template versus the FowlRev template.




www.linkedin.com/img/webpromo/btn_viewmy_160x25.gif

www.mmogamedev.info/images/imgdc_ad1.gif

About the author

With a few casual games under his belt as CEO of Last Straw Productions, Jonathon created the increasingly popular Indie MMO Game Developers Conference.


#1
02/14/2007 (8:56 am)
I don't have an explanation for you but maybe some insight. Some crazy stuff like this happened to me when TGBX changed from the physicsMaterial model to the collisionMaterial model. It was a while ago so I don't remember exactly how I fixed the blank material problem. You might have to manually poke around in the level file yourself though. Try deleting all the collisionMaterials and change all the references to the default material. It was something crazy like that. Niggles like this are what beta software is all about, right?

The template thing I have never seen before but I do think the multiple blank material thing only happens with scenes that are migrated from very beta TGBX to less beta TGBX.
#2
02/14/2007 (9:00 am)
This was a migrated scene using the program that came with the latest closed beta. I'll poke around in the scene xml and see what I can find, thanks for the pointers.




www.linkedin.com/img/webpromo/btn_viewmy_160x25.gif

www.mmogamedev.info/images/imgdc_ad1.gif