User:Pinsplash/BaseEntity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(.)
mNo edit summary
Line 3: Line 3:
  @BaseClass base(Targetname, Parentname, Angles, Origin, Global) {{=}} CBaseEntity
  @BaseClass base(Targetname, Parentname, Angles, Origin, Global) {{=}} CBaseEntity
  [
  [
         {{User:Pinsplash/FGDline|smart=Response Contexts|ResponseContext|param=string|Pre-defined response system contexts for this entity. Format is key:value,key:value,...}}
         {{User:Pinsplash/FGDline|smart=Response Contexts|ResponseContext|param=string|Pre-defined response system contexts for this entity. Format is key:value,key:value,...}}        
         {{User:Pinsplash/FGDline|smart=Effects|effects|param=integer|Combination of effect flags to use.}}
         effects(choices) : "Effect Flags" : 0 : "For configuring visual effects. If you want to combine effects, simply type in the sum of the effect numbers, e.g., '72' for 64+8." =
        [
        0: "0 - None"
        1: "1 - EF_BONEMERGE: Bonemerge always (very expensive!)"
        2: "2 - EF_BRIGHTLIGHT: Bright, dynamic light at entity origin"
        4: "4 - EF_DIMLIGHT: Dim, dynamic light at entity origin"
        8: "8 - EF_NOINTERP: No movement interpolation"
        16: "16 - EF_NOSHADOW: Don't cast shadows"
        32: "32 - EF_NODRAW: Don't draw entity (entity is fully ignored by clients, NOT server; can cause collision problems)"
        64: "64 - EF_NORECEIVESHADOW: Don't receive dynamic shadows"
        128: "128 - EF_BONEMERGE_FASTCULL: Bonemerge only in PVS, better performance but prone to disappearing. Use with Bonemerge."
        256: "256 - EF_ITEM_BLINK: Unsubtle blink"
        512: "512 - EF_PARENT_ANIMATES: Flag parent as always animating and realign each frame"
        ]
         {{User:Pinsplash/FGDline|smart=Local Time|ltime|param=float|The local time of the entity, independent of the global clock. Used mainly for physics calculations.}}
         {{User:Pinsplash/FGDline|smart=Local Time|ltime|param=float|The local time of the entity, independent of the global clock. Used mainly for physics calculations.}}
         {{User:Pinsplash/FGDline|smart=Next Think|nextthink|param=float|Amount of time before the entity thinks again.}}
         {{User:Pinsplash/FGDline|smart=Next Think|nextthink|param=float|Amount of time before the entity thinks again.}}

Revision as of 07:16, 17 September 2024

Basic functions for all entities. Recommended to paste at the top of base.fgd.


{{{1}}}