So i wanted to make a new entity to create snowy normandy. Basically a very primitive texture painter. The problem is that capzone_sphere
affects AI even if its hidden. I wanted to make a simple sphere with the decal component.
Code:
snow_sphere{
_extends:t="projective_decal"
sphere_zone__radius:r=8.0
_tracked:t="sphere_zone__radius"
}
Or you can replace the _extend with actual code, result should be the same:
snow_sphere{
"decal__thickness:r"{
value:r=0.15
_info{
desc:t="Width of the strategic point boundaries decal line"
}
}
"decal__height:r"{
value:r=0.5
_info{
desc:t="The height at which the strategic point boundaries decal line will be drawn"
}
}
_group{
_tags:t="render"
decal__id:i=1
}
_group{
_tags:t="render"
_track:b=yes
decal__isVisible:b=yes
}
sphere_zone__radius:r=8.0
_tracked:t="sphere_zone__radius"
}
But the decal does not show up in game:
For some odd reason, capzone_sphere
works despite having only 2 components: base_capzone
and projective_decal
Now base_capzone
’s components are base_capzone_without_navmesh
and objective_zone_navmesh
The latter is irrelevant.
But base_capzone_without_navmesh
has nothing related to decals!
base_capzone_without_navmesh{
_extends:t="base_objective_zone_without_navmesh"
_extends:t="capzone_team_presence"
capzone__curTeamCapturingZone:i=-1
capzone__autoDecap:b=yes
capzone__autoCap:b=yes
capzone__canCaptureByPresenceDomination:b=yes
capzone__presenceAdvantageToDominate:i=1
capzone__isMultipleTeamsPresent:b=no
capzone__capTeamAdvantage:i=0
capzone__advantageDivisor:r=4.0
capzone__maxCapDecapSpeedMult:r=2.0
_tracked:t="capzone__curTeamCapturingZone"
_tracked:t="capzone__curTeamDominating"
_tracked:t="capzone__isMultipleTeamsPresent"
_replicated:t="capzone__curTeamCapturingZone"
_replicated:t="capzone__isMultipleTeamsPresent"
"capzone__nextUpdateTime:r"{
value:r=0.0
_tags:t="server"
}
"capzone__curTeamDominating:i"{
value:i=-1
_tags:t="server"
}
"capzone__capTime:r"{
value:r=20.0
_info:t="capzone__capTime"
}
"capzone__decapTime:r"{
value:r=30.0
_info:t="capzone__decapTime"
}
"capzone__canCaptureOnVehicle:b"{
value:b=no
_info{
desc:t="Ability to capture the point in a vehicle"
}
}
"capzone__capTeamEid:eid"{
}
"humanTriggerable:tag"{
}
"zone__excludeDowned:tag"{
}
}
Going further down, neither base_objective_zone_without_navmesh
nor capzone_team_presence
has any decal related objects. Why. Doesn’t. It. Work.
capzone_sphere’s decals work, mine does not.
@tommyZZM @Devenddar What am i missing?