This page lists the required settings and configuration for the AnyRPG Engine to work in Unity.
The table below lists the required layers and their purpose.
|0||Default||Unity||Projectors will shine on this layer. Invector controller requires anything walkable to use this layer.|
|2||Ignore Raycast||Unity||Player Nameplate uses this layer to prevent accidental highlight of player unit.|
|8||Player||Invector/AnyRPG||Used to allow camera to ignore anything that is not the player in player unit frame and character panel.|
Many packages like Invector also rely on this player being set to this layer so they can find it.
|17||Walkable||AnyRPG||Deprecated. Replaced with Default for Invector compatibility|
|18||FireLayer||Package||Unused. This was probably from an import of a VFX package.|
|19||PlayerPreview||AnyRPG||Used by the load game screen to allow the camera to ignore anything that is not a player preview.|
|20||SpellEffects||AnyRPG||Used to ignore raycasts, collision, and all but the main camera rendering spell effects.|
|21||MiniMap||AnyRPG||Anything on this layer will only be rendered by the minimap camera. Used for interactable icons such as questgiver showing on the minimap.|
|22||CharacterUnit||AnyRPG||CharacterUnit is the layer that all characters should be placed on. This allows them to show in unit frames and is required for an AOE ability to target anything to avoid spending time processing hits against the ground, props, etc.|
|23||UnitPreview||AnyRPG||Unit previews such as unit spawn control panelswill place their targets on this layer so other cameras don’t render them.|
|24||PetPreview||AnyRPG||Pet previews such as pet journals will place their targets on this layer so other cameras don’t render them.|
|25||Interactable||AnyRPG||Used to render non character units in Unit frames without rendering the environment.|
|31||AlwaysVisible||Package||The Sun Temple uses this layer to make certain things in the background always visible regardless of culling distances.|
AnyRPG uses certain tags for different functionality.
|DefaultSpawnLocation||AnyRPG||Tag an object with this and the player will spawn at that point if there is no specific spawn location set in the scene node.|
|NorthEntrance||An easy tag that can be used for a spawn point when travelling between zones in the 4 main compass directions.|
|SouthEntrance||An easy tag that can be used for a spawn point when travelling between zones in the 4 main compass directions.|
|WestEntrance||An easy tag that can be used for a spawn point when travelling between zones in the 4 main compass directions.|