Unusual error, any ideas?
by Nate Strandberg · in Torque Game Engine · 04/01/2004 (6:29 pm) · 2 replies
I'm attemping to build Torque using my own resources and scripts (*loosely* following the MinApp tutorials), I can get everything but mission loading to work correctly. When I attempt to load a mission I get the following data in my console.log file:
************************************
Could not locate texture:
Could not locate texture:
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 2
*** Phase 3: Mission Lighting
Successfully loaded mission lighting file: 'System/Data/Missions/Tier1/mission1.msn_3c0c9c6c.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
Spawn Position : -52.8937 -398.857
Ground Level : 150.717
Spawn Position Is Good
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
Could not locate texture:
************************************
I could most likely trace it out if the first error would tell me what texture it could not load, but it doesn't want to be that simple :)
The second error is the "Could not register dust emitter for class: PlayerShape" one, I dont know what this means and I can not seem to find any reference to it in either code or script - although I just did a quick search.
Does anyone have any ideas as to the cause of these? I've even gone so far as to copy the entire tutorial.basic data folder into mine w/o success.
Thanks!
Nate S.
************************************
Could not locate texture:
Could not locate texture:
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 2
*** Phase 3: Mission Lighting
Successfully loaded mission lighting file: 'System/Data/Missions/Tier1/mission1.msn_3c0c9c6c.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
Spawn Position : -52.8937 -398.857
Ground Level : 150.717
Spawn Position Is Good
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
Could not locate texture:
************************************
I could most likely trace it out if the first error would tell me what texture it could not load, but it doesn't want to be that simple :)
The second error is the "Could not register dust emitter for class: PlayerShape" one, I dont know what this means and I can not seem to find any reference to it in either code or script - although I just did a quick search.
Does anyone have any ideas as to the cause of these? I've even gone so far as to copy the entire tutorial.basic data folder into mine w/o success.
Thanks!
Nate S.
#2
Dust emitter for feet takes its parameters from the data of addMaterialMapping. The color attribute for the material is for the dust particles.
The propertyMap.cs are called from data/init.cs. The data/init.cs is called in in main.cs, in the onStart function, after client/init.cs and server/init.cs calls.
02/01/2007 (1:52 am)
I had the same problem with my TGE 1.5 project, and solve it by the correct use of the addMaterialMapping() in propertymap.cs.Dust emitter for feet takes its parameters from the data of addMaterialMapping. The color attribute for the material is for the dust particles.
The propertyMap.cs are called from data/init.cs. The data/init.cs is called in in main.cs, in the onStart function, after client/init.cs and server/init.cs calls.
Torque 3D Owner Martin "Founder" Hoover
It might also have something to do with the material property map, as each terrain texture needs to specify colors for the player dust to use. They are like the following:
addMaterialMapping( "vis.Dirt00", "detail: ~/textures/details/detail1", "environment: ~/textures/skies/day_0007 0.5", "color: 0.46 0.36 0.26 0.4 0.0", "sound: 0" );