Animation visibility customization settings #1300
Open
+160
−18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Customizable animation visibility settings
VisibleTo
.VisibleTo.ConsiderInvokerAsOwner
, if set, makes it so that animation's invoker house is considered as owner for purposes ofVisibleTo
instead of owning house of TechnoType it is attached to or animation's owning house. On most animations the they are the same, but it can be different for some.RestrictVisibilityIfCloaked
, if set to true, makes so that attached animations or aircraftTrailer
animations (due to technical constraints, spawned missile trailers are exempt from this) on cloaked objects are only visible to observers and players who can currently detect them.DetachOnCloak
can be set to false to override vanilla game behaviour where attached animations are removed from cloaked objects.In
artmd.ini
: