Advertisement
jackitch

Room Vars

Dec 22nd, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 0 0
  1. ============================================================================================================
  2. Room Variables - Held in Base/Entities/Rooms/your_room_file.cfg
  3. ============================================================================================================
  4.  
  5.  
  6. Variable: Name of the Variable
  7. Type: Data-type. Eg. String, Array, Float, Boolean
  8. Default Value: Value used if variable isn't defined.
  9. Description: Details about effects of the variable.
  10.  
  11.  
  12. Variable: v
  13. Type: t
  14. Default Value: d
  15. Description: x
  16.  
  17.  
  18. Variable: s32_sprite_frame_width
  19. Type: float
  20. Default Value: 24
  21. Description: Width (in px) of the sprite that displays for rooms
  22.  
  23.  
  24. Variable: s32_sprite_frame_height
  25. Type: float
  26. Default Value: 24
  27. Description: Height (in px) of the sprite that displays for rooms
  28.  
  29.  
  30. Variable: u8_gib_count
  31. Type: float
  32. Default Value: 9
  33. Description: Number of gibs
  34.  
  35.  
  36. Variable: u8_gib_style
  37. Type: float
  38. Default Value: 0
  39. Description: The column of gib sprites within the gib_file (0 -> 1st column, 1 -> 2nd column, etc)
  40.  
  41.  
  42. Variable: u8_frame_width
  43. Type: float
  44. Default Value: 8;
  45. Description: Width of each gib sprite in pixels
  46.  
  47.  
  48. Variable: u8_frame_height
  49. Type: float
  50. Default Value: 8;
  51. Description: height of each gib sprite in pixels
  52.  
  53.  
  54. Variable: f32_gib_mass
  55. Type: float
  56. Default Value: 2.5
  57. Description: mass of gib
  58.  
  59.  
  60. Variable: u8_gib_emit
  61. Type: float
  62. Default Value: 255
  63. Description: ???
  64.  
  65.  
  66. Variable: f32_velocity
  67. Type: float
  68. Default Value: 12.0
  69. Description: velocity of gib particles
  70.  
  71.  
  72. Variable: f32_offset_x
  73. Type: float
  74. Default Value: 0.0
  75. Description: offset in horizontal direction
  76.  
  77.  
  78. Variable: f32_offset_y
  79. Type: float
  80. Default Value: 0.0
  81. Description: offset in vertical direction
  82.  
  83.  
  84. Variable: f32_blood_multiplier
  85. Type: float
  86. Default Value: 8.0
  87. Description: multiplier for blood animations
  88.  
  89.  
  90. Variable: clr_blood_color
  91. Type: array
  92. Default Value: 255; 50; 40; 30
  93. Description: color of blood = alpha; red; green; blue (red)
  94.  
  95.  
  96. Variable: u16_sprite_animation_default_time
  97. Type: float
  98. Default Value: 1
  99. Description: cycle time for animations
  100.  
  101.  
  102. Variable: u8_sprite_animation_default_loop
  103. Type: boolean
  104. Default Value: 0
  105. Description: Does the animantion loop? (True or False / 0 or 1)
  106.  
  107.  
  108. Variable: f32_light_radius
  109. Type: float
  110. Default Value: 50.0
  111. Description: radius of light emanating from quarters
  112.  
  113.  
  114. Variable: clr_light_color
  115. Type: array
  116. Default Value: 255; 255; 240; 171
  117. Description: light color = alpha; red; green; blue (pale yellow)
  118.  
  119.  
  120. Variable: 1_light_default_on
  121. Type: boolean
  122. Default Value: 0
  123. Description: Does light emanate from the quarters by default?
  124.  
  125.  
  126. Variable: f32_ball_width
  127. Type: float
  128. Default Value: 24.0
  129. Description: the width of the room ball
  130.  
  131.  
  132. Variable: f32_ball_height
  133. Type: float
  134. Default Value: 24.0
  135. Description: the height of the room ball
  136.  
  137.  
  138. Variable: f32_ball_radius
  139. Type: float
  140. Default Value: 12.0
  141. Description: the radius of the room ball
  142.  
  143.  
  144. Variable: f32_ball_max_upspeed
  145. Type: float
  146. Default Value: 0.0
  147. Description: max up speed
  148.  
  149.  
  150. Variable: f32_ball_max_fallspeed
  151. Type: float
  152. Default Value: 0.0
  153. Description: max fall speed
  154.  
  155.  
  156. Variable: f32_ball_max_airspeed
  157. Type: float
  158. Default Value: 0.0
  159. Description: max air speed
  160.  
  161.  
  162. Variable: f32_ball_max_groundspeed
  163. Type: float
  164. Default Value: 0.0
  165. Description: max ground speed
  166.  
  167.  
  168. Variable: f32_ball_max_actionspeed
  169. Type: float
  170. Default Value: 0.0
  171. Description: max action speed
  172.  
  173.  
  174. Variable: f32_ball_gravity
  175. Type: float
  176. Default Value: 0.0
  177. Description: gravity
  178.  
  179.  
  180. Variable: f32_ball_ground_slide
  181. Type: float
  182. Default Value: 0.0
  183. Description: ground slide coefficient
  184.  
  185.  
  186. Variable: f32_ball_wall_slide
  187. Type: float
  188. Default Value: 0.0
  189. Description: wall slide coefficient
  190.  
  191.  
  192. Variable: f32_ball_ladder_slide
  193. Type: float
  194. Default Value: 0.0
  195. Description: x
  196.  
  197.  
  198. Variable: f32_ball_ground_bounce
  199. Type: float
  200. Default Value: 0.0
  201. Description: ground bounce coefficient
  202.  
  203.  
  204. Variable: f32_ball_wall_bounce
  205. Type: float
  206. Default Value: 0.0
  207. Description: wall bounce coefficient
  208.  
  209.  
  210. Variable: 1_ball_opens_doors
  211. Type: boolean
  212. Default Value: 0
  213. Description: Does the room open doors? (Why you would set this = 1, I don't know)
  214.  
  215.  
  216. Variable: 1_ball_opens_bridges
  217. Type: boolean
  218. Default Value: 0
  219. Description: Does the room open bridges? (Same as above...)
  220.  
  221.  
  222. Variable: f32_ball_hit_momentum
  223. Type: float
  224. Default Value: 0.0
  225. Description: Hit Momentum
  226.  
  227.  
  228. Variable: f32_health
  229. Type: float
  230. Default Value: 3.0
  231. Description: Default Room Health (3.0 is equivalent to 6 hearts / 6 knight jabs)
  232.  
  233.  
  234. Variable: f32 gib_health
  235. Type: float
  236. Default Value: -2.5
  237. Description: Default gib health (Negative required so the gibs despawn without requiring hits)
  238.  
  239.  
  240. Variable: u8_default_room
  241. Type: boolean
  242. Default Value: 0
  243. 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