The NaturalResourceRock.rsc file within the template folder has this in the ModelDescription:
ModelDescription model
{
MeshGroup _meshes
[
{ GraphicsMesh _mesh [ "Models\Rocks\Rock01Mesh.rsc" ] }
{ GraphicsMesh _mesh [ "Models\Rocks\Rock02Mesh.rsc" ] }
{ GraphicsMesh _mesh [ "Models\Rocks\Rock03Mesh.rsc" ] }
]
Mesh _meshes [ "Models\Rocks\Rock01.rsc" ]
int _displayIndex = 0;
int _subIndex = 0;
bool _randomIndex = true;
}
does anyone know why the Mesh _meshes [ "Models\Rocks\Rock01.rsc" ] is in there? and does it do anything?
from my own testing and replacing it and the others with colored boxes it does not seem to appear on the map.
thanks :)
Could it be the stuff they are carrying?
I think it's a leftover from developing and not used by the game. The file doesnot even exist.
Quote from: kid1293 on August 14, 2019, 11:01:33 PM
Could it be the stuff they are carrying?
That is what I firstly thought, but then I remembered that it is controlled with the
RawMaterialStone.rsc file:
ModelDescription model
{
MeshGroup _meshes
[
{ GraphicsMesh _mesh [ "Models\Resources\StoneMesh.rsc" ] }
{ GraphicsMesh _mesh
[
"Models\Resources\StonePile0Mesh.rsc",
"Models\Resources\StonePile1Mesh.rsc",
"Models\Resources\StonePile2Mesh.rsc"
]
}
]
int _displayIndex = 0;
int _subIndex = 0;
bool _randomIndex = false;
}
Quote from: Tom Sawyer on August 14, 2019, 11:41:11 PM
I think it's a leftover from developing and not used by the game. The file doesnot even exist.
I think you must be correct. It does not seem to serve any purpose, deleting it from the file does not seem to alter anything at all, and I could not find any other file in the modkit that uses the simple prefix of
Mesh, every other instance calls it with
MeshGroup followed by
GraphicsMesh.
Thanks
@kid1293 &
@Tom Sawyer :)