Game Development Community

Material Selector Problem

by Jason Campbell · in Torque 3D Beginner · 04/14/2014 (9:18 pm) · 3 replies

Wow, I get one thing working then immediately have another problem.

The material editor works fine but if I click the globe to enter the Material Selector everything grays out except the bar at the top. I can select play level, then F11 to get back but still no Material Selector.

I'm hoping that someone has encountered this before.

#1
04/15/2014 (5:06 pm)
That is a weird one.... can't say I ever encountered your problem. Are there any engine or script changes that you added or removed?

Ron
#2
04/15/2014 (6:47 pm)
Hi Ron,

I did install the Decal Pack using the auto load code but everything was working well for a bit.

I wish my console.log wasn't empty so I could copy and paste but I see now I'm getting some errors.

When I first run T3D I get this during initializing tools.

tools/gui/materialSelector.ed.gui (1): Cannot re-declare object [MaterialSelector]

Is my selector object not removing itself?

Later when I try to enter the Selector I get

Set::remove: Object "5037" does not exist in set
Warning, overwriting material for matEd_mappedMat
Warning, overwriting material for matEd_mappedMatB
#3
04/15/2014 (7:41 pm)
Alright, this is screwed up. I googled the material selector error and ended up someone else had experienced this same problem but it is weird.

The material.cs in the art folder contained the complete gui code for the material selector. I Delete it from there and it is working again. Just wish I knew how that could have possibly happened!?