DECORATE: Difference between revisions

318 bytes added ,  27 June 2022
Improved actor flag descriptions
m (typos)
Tag: Source edit
(Improved actor flag descriptions)
Tag: Source edit
Line 13: Line 13:
:Spawns the actor on the clientside. This only works for things on the map startup, meaning it will not affect newly spawned actors.
:Spawns the actor on the clientside. This only works for things on the map startup, meaning it will not affect newly spawned actors.
* <code>'''CLIENTSIDEONLY'''</code>
* <code>'''CLIENTSIDEONLY'''</code>
:Spawns the actor on the clientside no matter how it is spawned.
:Actors with this flag will only be spawned and simulated clientside. If spawned serverside, the server will merely tell clients to spawn it. This is useful for graphical effects such as explosion sprites that do not need to be tracked by the server.  
* <code>'''NONETID'''</code>
* <code>'''NONETID'''</code>
:Actors with this flag are not assigned a network id when spawned. Only use it if you know what you are doing!
:When spawned, actors with this flag will not be assigned a network ID, which is used to synchronise the actor state between the server and its clients. Only use this if you know what you are doing!
* <code>'''DONTIDENTIFYTARGET'''</code>
* <code>'''DONTIDENTIFYTARGET'''</code>
:Players using a class with this flag enabled won't be identified when looked at.
:Players using a class with this flag enabled won't be identified when looked at.
Line 21: Line 21:
:Used in conjunction with the flag to make the player score a point if he/she is holding the flag/skull item.
:Used in conjunction with the flag to make the player score a point if he/she is holding the flag/skull item.
* <code>'''SERVERSIDEONLY'''</code>
* <code>'''SERVERSIDEONLY'''</code>
:The clients don't spawn such actors, only the server does. Therefore, spawning or manipulating these actors does not need network bandwidth. Only use it on actors that are always invisible and don't block the movement of players.
:Actors with this flag will never be spawned clientside, and can only be spawned by the server. As such, these actors will not be synced across the network, using no network bandwidth. Only use it on actors that are always invisible and don't block the movement of players.


=== (In)Abilities ===
=== (In)Abilities ===