News:

Welcome to World of Banished!

Main Menu

NaturalResourceRock.rsc

Started by Discrepancy, August 14, 2019, 06:50:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Discrepancy

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 :)

kid1293

Could it be the stuff they are carrying?

Tom Sawyer

I think it's a leftover from developing and not used by the game. The file doesnot even exist.

Discrepancy

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   :)