In the object definition you can change the start & end Dissolve values for the model component. The defaults are 4 & 6 (tiles) distance.
You might also consider changing the maxUpdateDistance of the animation component, as the default is 5; otherwise they will be visible, but won't move.
Code: Select all
defineObject{
name = "forest_heather",
baseObject = "base_floor_decoration",
components = {
{
class = "Model",
model = "assets/models/env/forest_heather.fbx",
dissolveStart = 4,
dissolveEnd = 6,
},
{
class = "Animation",
animations = {
sway = "assets/animations/env/forest_heather_idle.fbx",
},
playOnInit = "sway",
loop = true,
maxUpdateDistance = 5,
},
},
editorIcon = 240,
reflectionMode = "never",
minimalSaveState = true,
}
**If this is just filler for distant (inaccessible) hills, you might consider using flat plane model, with an animated texture; (or even just a static one).
___
About "
ud_roof_01", you will have to be
very specific about what it is that you want it to do.