Render Mode Fx - Destro-/AMXXEditorV4 GitHub Wiki

Render Mode

  • kRenderNormal

    0 Description: Standard rendering mode with no transparency effect. The object's colors are rendered directly to the screen without blending with the background.

    Use Case: Useful for solid objects that should be fully opaque.

  • kRenderTransColor

    1 Description: Blends the object’s color with the background using a constant alpha value. The formula used is: c * a + dest * (1 - a), where c is the object's color, a is the alpha value, and dest is the background color.

    Use Case: Suitable for color-based transparency effects where the entire object fades uniformly based on a single alpha.

  • kRenderTransTexture

    2 Description: Similar to kRenderTransColor but uses the alpha channel of the object's texture to control transparency per pixel. The formula applied is: src * a + dest * (1 - a), where src is the object's texture color, and a varies per pixel according to the texture’s alpha values.

    Use Case: Ideal for rendering objects with varying transparency across their surface, such as glass or transparent textures.

  • kRenderGlow

    3 Description: Renders the object with a glowing effect by blending the object's color with the background color without checking the Z-buffer. This means the object will render on top of everything else, ignoring depth.

    • Wallhack effect (limited to when the origin point is visible, so only a small part of the borders has this effect).
    • Pixelated and bright.
    • Moving away makes it larger and more transparent, getting closer makes it smaller but more solid (kRenderFxNoDissipation disables this behavior).
    • Only Sprites.
  • kRenderTransAlpha

    4 Description: Blends the object's color and background using the source's per-pixel alpha values directly: src * srca + dest * (1 - srca), where srca is the object's texture alpha at each pixel. This method allows each pixel’s transparency to vary based on the texture’s alpha data.

    Use Case: Commonly used for objects with gradual transparency changes across their surface, such as shadows or semi-transparent decals.

  • kRenderTransAdd

    5 Description: Uses an additive blending effect where the object's color values are added directly to the background colors. This creates a brightening effect where higher values result in a stronger additive appearance, useful for special effects.

    Use Case: Often used for rendering intense effects like fire, explosions, or bright lights, which require a glowing or "hot" look as they intensify the colors they overlay. It also looks great to use with holograms.

Render FX

  • kRenderFxNone

    0: No special rendering effect. The object is rendered as-is, without any additional animation or visual modification.

  • kRenderFxPulseSlow

    1: Causes the object's transparency or brightness to "pulse" slowly, fading in and out over time.

  • kRenderFxPulseFast

    2: Similar to kRenderFxPulseSlow but with a faster pulsing speed.

  • kRenderFxPulseSlowWide

    3: A slow pulse effect with a wider range of fade, giving the object a stronger appearance at the peak of the pulse.

  • kRenderFxPulseFastWide

    4: A fast pulse effect with a wider range, creating a high-impact pulsing effect with rapid, intense changes in brightness or transparency.

  • kRenderFxFadeSlow

    5: Causes the object to fade out slowly over time.

  • kRenderFxFadeFast

    6: Similar to kRenderFxFadeSlow but fades out quickly.

  • kRenderFxSolidSlow

    7: Slowly makes an object fully solid (non-transparent).

  • kRenderFxSolidFast

    8: Quickly makes an object fully solid.

  • kRenderFxStrobeSlow

    9: Applies a slow strobe effect, making the object flicker on and off at a steady pace.

  • kRenderFxStrobeFast

    10: A faster strobe effect for high-urgency flickering.

  • kRenderFxStrobeFaster

    11: An even faster strobe effect, creating a rapid flicker.

  • kRenderFxFlickerSlow

    12: Causes the object to flicker slowly, simulating unstable or flickering lighting.

  • kRenderFxFlickerFast

    13: Faster flicker effect to simulate rapid lighting changes.

  • kRenderFxNoDissipation

    14: Stops the object from fading or dissipating. The object will remain visible without any automatic fade-out.

  • kRenderFxDistort

    15: Adds distortion effects, such as scale, translation, or flickering, to make the object appear wavy or shifting. Very similar to kRenderFxHologram.

  • kRenderFxHologram

    16: A hologram-like effect combining distortion and fading with distance, giving the object a holographic appearance. Ideally used together with kRenderTransAdd .

  • kRenderFxDeadPlayer

    17: Renders a player entity as dead ???. kRenderAmt is the player index??? .

  • kRenderFxExplode

    18: Causes the object to grow rapidly in scale, simulating an explosion effect.

    • Not working in CS???, broken code.
    • Only Models.
  • kRenderFxGlowShell

    19: Adds a glowing shell around the object, giving it an aura or outline that emits light.

    • Only Models.
  • kRenderFxClampMinScale

    20: Prevents a sprite object from scaling below a minimum size, ensuring it remains visible even when far away.

    • Only Sprites.
  • kRenderFxLightMultiplier

    21: Multiplies the light on the object based on the value in iuser4, allowing for dynamic adjustments of brightness.

    • It is not used to make it brighten; it is only useful to darken and leave the model completely black.
    • Only Models.
    • Only CS/CZ ?.
    • iuser4 not affect players (maybe if set to addToFullpack...)