Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================================================================================================
- Room Variables - Held in Base/Entities/Rooms/your_room_file.cfg
- ============================================================================================================
- Variable: Name of the Variable
- Type: Data-type. Eg. String, Array, Float, Boolean
- Default Value: Value used if variable isn't defined.
- Description: Details about effects of the variable.
- Variable: v
- Type: t
- Default Value: d
- Description: x
- Variable: s32_sprite_frame_width
- Type: float
- Default Value: 24
- Description: Width (in px) of the sprite that displays for rooms
- Variable: s32_sprite_frame_height
- Type: float
- Default Value: 24
- Description: Height (in px) of the sprite that displays for rooms
- Variable: u8_gib_count
- Type: float
- Default Value: 9
- Description: Number of gibs
- Variable: u8_gib_style
- Type: float
- Default Value: 0
- Description: The column of gib sprites within the gib_file (0 -> 1st column, 1 -> 2nd column, etc)
- Variable: u8_frame_width
- Type: float
- Default Value: 8;
- Description: Width of each gib sprite in pixels
- Variable: u8_frame_height
- Type: float
- Default Value: 8;
- Description: height of each gib sprite in pixels
- Variable: f32_gib_mass
- Type: float
- Default Value: 2.5
- Description: mass of gib
- Variable: u8_gib_emit
- Type: float
- Default Value: 255
- Description: ???
- Variable: f32_velocity
- Type: float
- Default Value: 12.0
- Description: velocity of gib particles
- Variable: f32_offset_x
- Type: float
- Default Value: 0.0
- Description: offset in horizontal direction
- Variable: f32_offset_y
- Type: float
- Default Value: 0.0
- Description: offset in vertical direction
- Variable: f32_blood_multiplier
- Type: float
- Default Value: 8.0
- Description: multiplier for blood animations
- Variable: clr_blood_color
- Type: array
- Default Value: 255; 50; 40; 30
- Description: color of blood = alpha; red; green; blue (red)
- Variable: u16_sprite_animation_default_time
- Type: float
- Default Value: 1
- Description: cycle time for animations
- Variable: u8_sprite_animation_default_loop
- Type: boolean
- Default Value: 0
- Description: Does the animantion loop? (True or False / 0 or 1)
- Variable: f32_light_radius
- Type: float
- Default Value: 50.0
- Description: radius of light emanating from quarters
- Variable: clr_light_color
- Type: array
- Default Value: 255; 255; 240; 171
- Description: light color = alpha; red; green; blue (pale yellow)
- Variable: 1_light_default_on
- Type: boolean
- Default Value: 0
- Description: Does light emanate from the quarters by default?
- Variable: f32_ball_width
- Type: float
- Default Value: 24.0
- Description: the width of the room ball
- Variable: f32_ball_height
- Type: float
- Default Value: 24.0
- Description: the height of the room ball
- Variable: f32_ball_radius
- Type: float
- Default Value: 12.0
- Description: the radius of the room ball
- Variable: f32_ball_max_upspeed
- Type: float
- Default Value: 0.0
- Description: max up speed
- Variable: f32_ball_max_fallspeed
- Type: float
- Default Value: 0.0
- Description: max fall speed
- Variable: f32_ball_max_airspeed
- Type: float
- Default Value: 0.0
- Description: max air speed
- Variable: f32_ball_max_groundspeed
- Type: float
- Default Value: 0.0
- Description: max ground speed
- Variable: f32_ball_max_actionspeed
- Type: float
- Default Value: 0.0
- Description: max action speed
- Variable: f32_ball_gravity
- Type: float
- Default Value: 0.0
- Description: gravity
- Variable: f32_ball_ground_slide
- Type: float
- Default Value: 0.0
- Description: ground slide coefficient
- Variable: f32_ball_wall_slide
- Type: float
- Default Value: 0.0
- Description: wall slide coefficient
- Variable: f32_ball_ladder_slide
- Type: float
- Default Value: 0.0
- Description: x
- Variable: f32_ball_ground_bounce
- Type: float
- Default Value: 0.0
- Description: ground bounce coefficient
- Variable: f32_ball_wall_bounce
- Type: float
- Default Value: 0.0
- Description: wall bounce coefficient
- Variable: 1_ball_opens_doors
- Type: boolean
- Default Value: 0
- Description: Does the room open doors? (Why you would set this = 1, I don't know)
- Variable: 1_ball_opens_bridges
- Type: boolean
- Default Value: 0
- Description: Does the room open bridges? (Same as above...)
- Variable: f32_ball_hit_momentum
- Type: float
- Default Value: 0.0
- Description: Hit Momentum
- Variable: f32_health
- Type: float
- Default Value: 3.0
- Description: Default Room Health (3.0 is equivalent to 6 hearts / 6 knight jabs)
- Variable: f32 gib_health
- Type: float
- Default Value: -2.5
- Description: Default gib health (Negative required so the gibs despawn without requiring hits)
- Variable: u8_default_room
- Type: boolean
- Default Value: 0
- Description: Is the first room specified in the room array automatically created when an empty room is spawned?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement