scotty1121
Member
|
Esenthel material locating.
Is it possible to locate a certain material in the editor? I need to do this as i can not find this material that is erroring out my game. There is no way i can find it, i even try making it pure white, but the texture is no where to be seen in the scene, so i can't locate it.
Is there anyway to find a material by the path below in the editor? thank you.
---------------------------
Error
---------------------------
Can't load "H:\Users\Scott\Desktop\Models\32-39-ST\StaticMesh\ne.mtrl"
---------------------------
OK
---------------------------
|
|
02-08-2013 03:16 PM |
|
Esenthel
Administrator
|
RE: Esenthel material locating.
You can try running your game in debug mode, once the error occurs, browse the callstack, you will see what is loading what, which may help.
|
|
02-08-2013 03:18 PM |
|
scotty1121
Member
|
RE: Esenthel material locating.
thank you, i will try this.
|
|
02-08-2013 03:28 PM |
|
scotty1121
Member
|
RE: Esenthel material locating.
the call stack shows it's from the heightmap, but it's impossible to find this missing .mtrl, is there no way to actually search for the mtrl names that have been applied to the heightmap? and where*
thanks.
(This post was last modified: 02-08-2013 08:37 PM by scotty1121.)
|
|
02-08-2013 08:36 PM |
|
Esenthel
Administrator
|
RE: Esenthel material locating.
Hi,
You can set small Game.World.active range and iterate through all areas in the game code, or manually load/unload specified areas using WORLD_MANUAL.
Once the app crashes you can check the state of your currently loaded area coordinates, and you will know which area needs reapplying materials.
Alternative is to:
set Materials.mode(CACHE_DUMMY); // disable calling Exit, but return empty data
Then check for Game.Area.Data.mshg materials to find the material
|
|
02-12-2013 01:14 PM |
|
scotty1121
Member
|
RE: Esenthel material locating.
thank you very much, this helped, and i fixed it.
|
|
02-13-2013 12:51 AM |
|