Jump to content

DECORATE: Difference between revisions

No change in size ,  27 December 2022
m
capitalisation - might break some anchored links?
(Updated the documentation of GIVEFISTINGMEDAL and GIVESPAMMEDAL.)
Tag: Source edit
m (capitalisation - might break some anchored links?)
Tag: Source edit
Line 2: Line 2:


For a list of all the DECORATE functions supported by Zandronum, see [[List of DECORATE functions in Zandronum]].
For a list of all the DECORATE functions supported by Zandronum, see [[List of DECORATE functions in Zandronum]].
== Action Functions ==
== Action functions ==
* <code>[[A_FaceConsolePlayer]]</code>
* <code>[[A_FaceConsolePlayer]]</code>
* <code>[[A_CheckRailReload]]</code>
* <code>[[A_CheckRailReload]]</code>
* <code>[[A_FireRailgun]]</code> (exists in other ports, but behaves differently)
* <code>[[A_FireRailgun]]</code> (exists in other ports, but behaves differently)


== Actor Flags ==
== Actor flags ==
=== Behaviour ===
=== Behaviour ===


Line 27: Line 27:
:A projectile or puff will give a player a "spam" medal if they frag two or more enemy players in the same tic with it.
:A projectile or puff will give a player a "spam" medal if they frag two or more enemy players in the same tic with it.


===(In)Abilities===  
===(In)abilities===  
*<code>'''FORCEALLYCOLLISION'''</code>
*<code>'''FORCEALLYCOLLISION'''</code>
:A projectile or puff fired by an actor will always collide and push their teammates, even if [[DMFlags#ZaDMFlags|sv_shootthroughallies]] or [[DMFlags#ZaDMFlags|sv_dontpushallies]] are enabled.
:A projectile or puff fired by an actor will always collide and push their teammates, even if [[DMFlags#ZaDMFlags|sv_shootthroughallies]] or [[DMFlags#ZaDMFlags|sv_dontpushallies]] are enabled.
Line 53: Line 53:
:Makes rail attacks ignore armor.
:Makes rail attacks ignore armor.


===Limited Use===  
===Limited use===  


*<code>'''BLUETEAM'''</code> {{DeprecatedLink|the <code>LimitedToTeam</code> [[#Actor_Properties|actor property]]}}
*<code>'''BLUETEAM'''</code> {{DeprecatedLink|the <code>LimitedToTeam</code> [[#Actor_Properties|actor property]]}}
Line 67: Line 67:
:Seems to have something to do with accuracy and precision medals. Defined on the grenade.
:Seems to have something to do with accuracy and precision medals. Defined on the grenade.


==Actor Properties==  
==Actor properties==  
*<code>'''Inventory.PickupAnnouncerEntry'''</code>
*<code>'''Inventory.PickupAnnouncerEntry'''</code>
Plays the specified announcer entry when the item is picked up.  
Plays the specified announcer entry when the item is picked up.  
Line 87: Line 87:
Forces the Player class to use a certain skin when the weapon is selected.
Forces the Player class to use a certain skin when the weapon is selected.


== Damage Factors ==
== Damage factors ==
*<code>'''spawntelefrag'''</code>
*<code>'''spawntelefrag'''</code>
A separate damage factor for the initial spawn frags with maps lacking player starts. This is different from the '''telefrag''' damagefactor.
A separate damage factor for the initial spawn frags with maps lacking player starts. This is different from the '''telefrag''' damagefactor.