Skip to content

RedM Flags Reference

Flags determine how objects and entities behave within the game world. This reference sheet provides a categorization of commonly used flag values for YMAP and YTYP configuration files.

YMAP Flags

YMAP flags are applied to specific entity placements in the world.

Flag ValueDescription
1572897Default Flag - Standard entity placement.
1572865Interactable Door - Enables door movement for opening/closing.
536870912Rotating Objects - Allows objects to rotate (e.g., fans, windmills).

YTYP Flags

YTYP flags define the properties of an archetype (the "blueprint" for an object).

General Flags

Flag ValueEffect
0Default - No special effects (Stops rainfall if object has bounds).
32Embedded Collision - Object uses collision data embedded in its model.
8190Shadow Only - Object is invisible but still casts a shadow.
8192Emissive/Ground - Does not cast shadows (common for ground textures).
16384Invisible (Active) - Object is invisible, but collision remains active.
8388608Ghost Object - Invisible, but collision works and it casts shadows.
33554432Same effect as 16384 (Invisible with active collision).

Structural & Interaction Flags

Flag ValueTypical Use Case
604110848Standard Door configuration.
537001984Alternative Door configuration.
67239936Special Interaction Door (often used with specialAttribute).
353894400Stairs and Building Shells.
536870912General Buildings.
85459202Seating (Chairs, Benches).

Door Special Attributes

When working with door flags (specifically 67239936), the specialAttribute value determines the animation/movement type.

ValueBehavior
4Sliding Door - Opens horizontally (left/right).
5Garage/Overhead - Opens vertically 90 degrees.
7Swing Door - Standard door that is pushed/pulled by the player.

NOTE

This list is periodically updated as more flag research is completed. If you discover a specific flag effect not listed here, please let us know on Discord.