jackitch

ACTION [!] Z ROOM CONFIG

Dec 12th, 2012
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 15.67 KB | None | 0 0
  1. #=============== CUSTOM [!]ACTION ZOMBIE ROOM CONFIGURATION ==================#
  2.  
  3. #FOR HELP AND MORE INFORMATION GO TO https://wiki.kag2d.com/wiki/Workshop_Modding
  4.  
  5.  
  6. #=============== ROOM SPRITE AND SOUNDS ===============#
  7.  
  8. $sprite_factory = room_sprite
  9.  
  10. $sprite_texture = Entities/Rooms/Sprites/EmptyRoom.png
  11. s32_sprite_frame_width = 24
  12. s32_sprite_frame_height = 24
  13. $sprite_sound_death_hit =
  14. $sprite_sound_flesh_hit = Sounds/pick_wall?.ogg
  15. $sprite_sound_die = Sounds/destroy_wall.ogg
  16. $sprite_sound_spawn = Entities/Rooms/Sounds/ConstructShort.ogg
  17. $sprite_sound_gib = Entities/Rooms/Sounds/DestroyRoom.ogg
  18. $sprite_sound_emit =
  19.  
  20.  
  21. #=============== ROOM GIBS ===============#
  22.  
  23. $sprite_gibs_start = *start*
  24.  
  25. $gib_type = static_particle
  26. $gib_file = Entities/Rooms/Sprites/RoomGibs.png
  27. u8_gib_count = 9                                        #number of gibs
  28. u8_gib_style = 0                                        #column
  29. u8_frame_width = 8;
  30. u8_frame_height = 8;
  31. @u8_gib_frame = 1; 2; 3; 4; 5; 6; 7;    #row
  32. $gib_collide_sound = Sounds/rock_hit?.ogg
  33. f32_gib_mass = 2.5
  34. u8_gib_emit = 255                                       #nothing
  35. f32_velocity = 12.0
  36. f32_offset_x = 0.0
  37. f32_offset_y = 0.0
  38.        
  39. $sprite_gibs_end = *end*
  40.        
  41. f32_blood_multiplier = 8.0
  42. clr_blood_color = 255; 50; 40; 30
  43.  
  44.   $sprite_animation_start = *start*
  45.  
  46.   # default
  47.   $sprite_animation_default_name = default
  48.   u16_sprite_animation_default_time = 1
  49.   u8_sprite_animation_default_loop = 0
  50.   @u16_sprite_animation_default_frames = 0;
  51.  
  52.   $sprite_animation_end = *end*
  53.  
  54.  
  55. #=============== LIGHT SHONE FROM QUARTERS (NO YOU CANNOT MAKE OTHER ROOMS GLOW) ===============#
  56.  
  57. f32_light_radius = 50.0
  58. clr_light_color = 255; 255; 240; 171
  59. 1_light_default_on = 1
  60. no_shadowing=0
  61. # room
  62. $sprite_sound_build = Entities/Rooms/Sounds/Construct.ogg  
  63.  
  64.  
  65. #=============== ROOM BALL PARAMETERS (PHYSICAL PROPERTIES AND BEHAVIOURS) ===============#
  66.  
  67. $ball_factory = room_ball
  68.  
  69. f32_ball_width = 24.0
  70. f32_ball_height = 24.0
  71. f32_ball_radius = 12.0
  72. f32_ball_max_upspeed = 0.0
  73. f32_ball_max_fallspeed = 0.0
  74. f32_ball_max_airspeed = 0.0
  75. f32_ball_max_groundspeed = 0.0
  76. f32_ball_max_actionspeed = 0.0
  77. f32_ball_gravity = 0.0
  78. f32_ball_ground_slide = 0.0
  79. f32_ball_wall_slide = 0.0
  80. f32_ball_ladder_slide = 0.0
  81. f32_ball_ground_bounce = 0.0
  82. f32_ball_wall_bounce = 0.0
  83. 1_ball_opens_doors = 0
  84. 1_ball_opens_bridges = 0
  85. f32_ball_hit_momentum = 0.0
  86.  
  87.  
  88. #=============== UNUSED ===============#
  89.  
  90. $movement_factory =
  91. $weapon_factory =
  92. $brain_factory =
  93. $attachment_factory =
  94.  
  95.  
  96. #=============== DEFAULT ROOM PROPERTIES ===============#
  97.  
  98. $name =
  99. f32_health = 6.0
  100. f32 gib_health = -2.5
  101. $help_text = Hold $KEY7$ and\nselect workshop\nto build
  102.  
  103. u8_default_room = 0
  104.  
  105.  
  106. #=============== ROOM SYNTAX ===============#
  107.  
  108. # room syntax - room name; room level (0 menu - 1... upgrade); room sprite; room help text; room items/functions, item2, item3 ...; costs , , , (g gold, s stone, w wood, c coins, l level, u upgrades_from, r requires_roomname- none) ...
  109.  
  110.  
  111. #=============== ROOM ARRAY ===============#
  112.  
  113. @$rooms =#=============== BASE ROOMS (AVAILABLE IN MAIN WHEEL) =================#
  114. #[BOOKSHELF]  (SEE BELOW)
  115. #[ALCHEMY STAND]  (SEE BELOW)
  116. #[SMELTER]  (SEE BELOW)
  117. #[GUILDS] (SEE BELOW)
  118. #[WEAPONS]  (SEE BELOW)
  119. #=============== LIBRARIES ==================#
  120. BOOKSHELF; Mods/Action/Zambehs/Bookshelf.png; Knowledge of the Wise; upgrade LIBRARY; w100;
  121. LIBRARY; Entities/Rooms/Sprites/Library.png; Knowledge of the Ancients; upgrade ENCHANTED LIBRARY; uBOOKSHELF;
  122. ENCHANTED LIBRARY; Mods/Action/Zambehs/Enchanted_Library.png; Knowledge of the All-Knowing; -; uLIBRARY, rALCHEMY STAND;
  123. #=============== ALCHEMY STANDS ==================#
  124. ALCHEMY STAND; Mods/Action/Zambehs/Alchemy_table.png; Make that which glows; woodgold, stonegold, upgrade ENCHANTED ALCHEMY TABLE; w50, s50;
  125. ENCHANTED ALCHEMY TABLE; Mods/Action/Zambehs/Alchemy_table_t2.png; The Craft of the Ancients; woodgolde, stonegolde; uALCHEMY STAND, rLIBRARY;
  126. #=============== LANTERN SHOPS ==================#
  127. SMELTER; Entities/Rooms/Sprites/Smelter.png; Warm up,\nIt's gonna be a long night; lantern, upgrade MECHANICS WORKSHOP; w50, s100;
  128. MECHANICS WORKSHOP; Entities/Rooms/Sprites/MechanicShop.png; Craft Items of Use; lantern, blantern, goldenlight; uSMELTER;
  129. #=============== HEALING ROOMS ==================#
  130. NURSERY; Entities/Rooms/Sprites/Nursery.png; Medicinal Herbs; heal, upgrade QUARTERS; w100, s30, rBOOKSHELF;
  131. QUARTERS; Entities/Rooms/Sprites/Quarters.png; Rest Here a While; heal; uNURSERY, rLIBRARY, rALCHEMY STAND;
  132. #=============== TEAM SWITCHING ==================#
  133. GUILDS; Entities/Rooms/Sprites/EmptyRoom.png; Requires Library; upgrade BUILDER'S GUILD,  upgrade ARCHER'S GUILD, upgrade KNIGHT'S GUILD, upgrade ENGINEER'S GUILD, upgrade MARKSMAN'S GUILD, upgrade WARRIOR'S GUILD; w50, rBOOKSHELF;
  134. BUILDER'S GUILD; Entities/Rooms/Sprites/SmithShop.png; And My Axe!; class 0; uGUILDS, rLIBRARY;
  135. KNIGHT'S GUILD; Entities/Rooms/Sprites/Armoury.png; Unsheath your Sword!; class 1; uGUILDS, rLIBRARY;
  136. ARCHER'S GUILD; Entities/Rooms/Sprites/ArcheryRange.png; Notch Arrows!; class 2; uGUILDS, rLIBRARY;
  137. #ENGINEER'S GUILD; Entities/Rooms/Sprites/Doorway.png; May the Work of your Hands\nBe Blessed; class 3; uGUILDS, rENCHANTED LIBRARY;
  138. #MARKSMAN'S GUILD; Mods/Action/Zambehs/Unholy_Monument.png; Your Missiles are Guided\nand Fly True; class 5; uGUILDS, rENCHANTED LIBRARY;
  139. #WARRIOR'S GUILD; Mods/Action/Zambehs/Holy_Monument.png; Light from Above\nShines Upon You; class 4; uGUILDS, rENCHANTED LIBRARY;
  140. #=============== WEAPON ROOMS ==================#
  141. WEAPONS; Entities/Rooms/Sprites/EmptyRoom.png; Choose Carefully\nRequires Bookshelf; upgrade BOMB WORKSHOP, upgrade ARROW WORKSHOP, upgrade DEMOLITION WORKSHOP, upgrade SIEGE WORKSHOP; w50, rBOOKSHELF;
  142. BOMB WORKSHOP; Entities/Rooms/Sprites/BombShop.png; $KEY7$ to buy Bombs; bomb; uWEAPONS, rKNIGHT'S GUILD;
  143. ARROW WORKSHOP; Entities/Rooms/Sprites/ArrowShop.png; $KEY7$ to buy Arrows; arrow; uWEAPONS, rARCHER'S GUILD;
  144. DEMOLITION WORKSHOP; Entities/Rooms/Sprites/DemoShop.png; $KEY7$ to buy Explosives!; keg; uDEMOLITION WORKSHOP, rBUILDER'S GUILD;
  145. SIEGE WORKSHOP; Entities/Rooms/Sprites/SiegeShop.png; Build Siege Equipment; boulder, catapult; uWEAPONS, rENGINEER'S GUILD;
  146. #=============== MATERIAL TRADING ==================#
  147. MATERIAL EXCHANGE; Entities/Rooms/Sprites/EmptyRoom.png; Choose Resources to Trade; upgrade LUMBER YARD, upgrade STONE EXCHANGE, upgrade TREASURY; w50, rBOOKSHELF;
  148. STONE EXCHANGE; Entities/Rooms/Sprites/MasonryShop.png; Trade Stone; buystone50, buystone100, buystone200, sellstone50, sellstone100, sellstone200; uMATERIAL EXCHANGE, rLIBRARY;
  149. LUMBER YARD; Entities/Rooms/Sprites/CarpentryShop.png; Trade Wood; buywood50, buywood100, buywood200, sellwood50, sellwood100, sellwood200; uMATERIAL EXCHANGE, rLIBRARY;
  150. TREASURY; Entities/Rooms/Sprites/Bank.png; Trade Gold and Coins; buygold25, buygold50, buygold100, sellgold25, sellgold50, sellgold100; uMATERIAL EXCHANGE, rENCHANTED LIBRARY;
  151. #=============== TUNNELS ==================#
  152. TUNNEL; Entities/Rooms/Sprites/Tunnel.png; Choose a Direction; upgrade <--- TUNNEL, upgrade TUNNEL --->; w250, s200, g100, rENCHANTED LIBRARY, rENCHANTED ALCHEMY TABLE;
  153. <--- TUNNEL; Entities/Rooms/Sprites/Tunnel.png; TRAVEL LEFT; travel_left; rENCHANTED LIBRARY, uTUNNEL;
  154. TUNNEL --->; Entities/Rooms/Sprites/Tunnel.png; TRAVEL RIGHT; travel_left; rENCHANTED LIBRARY, uTUNNEL;
  155. # THE SEMICOLON BELOW THIS LINE IS REQUIRED, DO NOT REMOVE IT #
  156. ;
  157.  
  158. #...............NOW ON TO FUNCTIONS................#
  159.  
  160. #=============== FUNCTION SYNTAX ==================#
  161.  
  162. # room_function syntax - function name; function actor name; function config file; function icon; function make sound; function icon frame; function icon frame size; function help text; costs , , , (g gold, s stone, w wood, c coins - none) ...
  163.  
  164.  
  165. #=============== FUNCTION ARRAY ==================#
  166.  
  167. @$room_functions =bomb; -; -; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/BombMake.ogg; 12; 16; Light and Take Cover; c20;
  168. #grenade; keg; Entities/Items/Grenade.cfg; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/BombMake.ogg; 12; 16; Bomb costs 20 coins; c20;
  169. arrow; -; -; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/ArrowsMake.ogg; 10; 16; Fire when Ready; c*20;
  170. catapult; -; -; Sprites/catapult.png; d; 0; 32; Construct a Catapult; w120, c30;
  171. keg; keg; Entities/Items/kag.cfg; Entities/Items/Sprites/Keg.png; Entities/Rooms/Sounds/BombMake.ogg; 0; 16; Beware the Horde; c40;
  172. #outpost; -; -; Sprites/outpost1.png; d; 0; 32; Construct an Outpost; w120, c50;
  173. #=============== HEALING ==================#
  174. heal; -; -; -; Sounds/heart.ogg; 0; 0; -; c2;
  175. #=============== ITEMS ==================#
  176. boulder; boulder; Entities/Items/Boulder_Redux.cfg; Entities/Items/Sprites/Boulder.png; d; 0; 16; Crush your foes!; s50;
  177. lantern; genericitem; Entities/Items/Lantern_Redux.cfg; Entities/Items/Sprites/Lantern.png; Entities/Rooms/Sounds/BombMake.ogg; 0; 8; You are not Blind\nas the Others Are; c10;
  178. blantern; genericitem; Entities/Items/BLantern.cfg; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/BombMake.ogg; 12; 16; Not Dangerous; c10;
  179. goldenlight; genericitem; Entities/Items/goldenlight.cfg; Entities/Items/Sprites/Lantern.png; Entities/Rooms/Sounds/BombMake.ogg; 0; 8; Light up the Night!; w20, c40;
  180. barricade; keg; Entities/Items/Barricade.cfg; Entities/Items/Sprites/Crate.png; Sounds/hit_wood.ogg; 0; 13;  Block the way!; w40;
  181. #=============== UPOGRADES ==================#
  182. #Syntax:    upgrade ROOM_NAME; -; -; Entities/Rooms/Sprites/SPRITE_FILE_NAME.png; d; 0; 24; HELP_TEXT; COSTS, SEPARATED, BY, COMMAS;
  183. #=============== LIBRARY UPGRADES ==================#
  184. upgrade LIBRARY; -; -; Entities/Rooms/Sprites/Library.png; d; 0; 24; Build a Library; w175, s100;
  185. upgrade ENCHANTED LIBRARY; -; -; Mods/Action/Zambehs/Enchanted_Library.png; d; 0; 24; Enchant!; w250, s150, g50;
  186. #=============== ALCHEMY UPOGRADES ==================#
  187. upgrade ENCHANTED ALCHEMY TABLE; -; -; Mods/Action/Zambehs/Alchemy_table_t2.png; d; 0; 24; Enchant!; s100, w100, g100;
  188. #=============== UPOGRADES ==================#
  189. upgrade MECHANICS WORKSHOP; -; -; Entities/Rooms/Sprites/MechanicShop.png; d; 0; 24; MECHANICS WORKSHOP; w50, s50, g5;
  190. #=============== HEALING UPGRADES ==================#
  191. upgrade QUARTERS; -; -; Entities/Rooms/Sprites/Quarters.png; d; 0; 24; QUARTERS; w50, s50, g5;
  192. #=============== GUILD UPGRADES ==================#
  193. upgrade BUILDER'S GUILD; -; -; Entities/Rooms/Sprites/SmithShop.png; d; 0; 24; BUILDER'S GUILD; w60, s40;
  194. upgrade KNIGHT'S GUILD; -; -; Entities/Rooms/Sprites/Armoury.png; d; 0; 24; KNIGHT'S GUILD; w80, s60;
  195. upgrade ARCHER'S GUILD; -; -; Entities/Rooms/Sprites/ArcheryRange.png; d; 0; 24; ARCHER'S GUILD; w80, s20;
  196. #upgrade ENGINEER'S GUILD; -; -; Entities/Rooms/Sprites/Doorway.png; d; 0; 24; ENGINEER'S GUILD; s100, w250, g100;
  197. #upgrade MARKSMAN'S GUILD; -; -; Entities/Rooms/Sprites/Unholy_Monument.png; d; 0; 24; MARKSMAN'S GUILD; s80, w250, g150;
  198. #upgrade WARRIOR'S GUILD; -; -; Entities/Rooms/Sprites/Holy_Monument.png; d; 0; 24; WARRIOR'S GUILD; s150, w200, g250;
  199. #=============== WEAPONS UPGRADES ==================#
  200. upgrade BOMB WORKSHOP; -; -; Entities/Rooms/Sprites/BombShop.png; d; 0; 24; BOMB WORKSHOP; w80, s60;
  201. upgrade ARROW WORKSHOP; -; -; Entities/Rooms/Sprites/ArrowShop.png; d; 0; 24; ARROW WORKSHOP; w80, s20;
  202. upgrade DEMOLITION WORKSHOP; -; -; Entities/Rooms/Sprites/DemoShop.png; d; 0; 24; DEMOLITION WORKSHOP; w150, s80, g30;
  203. upgrade SIEGE WORKSHOP; -; -; Entities/Rooms/Sprites/SiegeShop.png; d; 0; 24; SIEGE WORKSHOP; w200, s200, g80;
  204. #=============== MATERIAL EXCHANGE UPGRADES ==================#
  205. upgrade LUMBER YARD; -; -; Entities/Rooms/Sprites/CarpentryShop.png; d; 0; 24; LUMBER YARD; w250, s50, g30;
  206. upgrade STONE EXCHANGE; -; -; Entities/Rooms/Sprites/MasonryShop.png; d; 0; 24; STONE EXCHANGE; w50, s250, g50;
  207. upgrade TREASURY; -; -; Entities/Rooms/Sprites/Bank.png; d; 0; 24; TREASURY; w250, s250, g150;
  208. #=============== TRAVELING ==================#
  209. travel_left; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/Travel.ogg; 1; 32; Travel Left; -;
  210. travel_right; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/Travel.ogg; 1; 32; Travel Right; -;
  211. #=============== CLASS CHANGES ==================#
  212. class 0; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchBuilder.ogg; 8; 32; Builder; -;
  213. class 1; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchKnight.ogg; 12; 32; Knight; -;
  214. class 2; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchArcher.ogg; 16; 32; Archer; -;
  215. class 3; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchBuilder.ogg; 8; 32; Builder; -;
  216. class 4; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchKnight.ogg; 12; 32; Knight; -;
  217. class 5; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchArcher.ogg; 12; 32; Archer; -;
  218. #=============== RESOURCE TRADING ==================#
  219. woodgold; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; 60 Wood > 1 Gold; w60, g-1;
  220. stonegold; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 3; 16; 25 Stone > 1 Gold; s20, g-1;
  221. woodgolde; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; 250 Wood > 25 Coin; w120, g-3;
  222. stonegolde; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; 50 Stone > 5 Gold; s50, g-3;
  223. buywood50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; Buy 50 Wood > 25 Coin; w-50, c25;
  224. buywood100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 4; 16; Buy 100 Wood > 50 Coin; w-100, c50;
  225. buywood200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 5; 16; Buy 200 Wood > 100 Coin; w-200, c100;
  226. buystone50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 0; 16; Buy 50 Stone > 50 Coin; s-50, c50;
  227. buystone100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 1; 16; Buy 100 Stone > 100 Coin; s-100, c100;
  228. buystone200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 2; 16; Buy 200 Stone > 200 Coin; s-200, c200;
  229. buygold25; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/goldsack_take.ogg; 6; 16; Buy 25 Gold > 50 Coin; g-25, c50;
  230. buygold50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/goldsack_take.ogg; 7; 16; Buy 50 Gold > 100 Coin; g-50, c100;
  231. buygold100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/goldsack_take.ogg; 8; 16; Buy 100 Gold > 200 Coin; g-100, c200;
  232. sellwood50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 15; 16; Sell 50 Wood > 25 Coin; w50, c-25;
  233. sellwood100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 16; 16; Sell 100 Wood > 50 Coin; w100, c-50;
  234. sellwood200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 17; 16; Sell 200 Wood > 100 Coin; w200, c-100;
  235. sellstone50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 15; 16; Sell 50 Stone > 50 Coin; s50, c-50;
  236. sellstone100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 16; 16; Sell 100 Stone > 100 Coin; s100, c-100;
  237. sellstone200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 17; 16; Sell 200 Stone > 200 Coin; s200, c-200;
  238. sellgold25; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 15; 16; Sell 25 Gold > 50 Coin; g25, c-50;
  239. sellgold50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 16; 16; Sell 50 Gold > 100 Coin; g50, c-100;
  240. sellgold100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 17; 16; Sell 100 Gold > 200 Coin; g100, c-200;
  241. # THE SEMICOLON BELOW THIS LINE IS REQUIRED, DO NOT REMOVE IT #
  242. ;
  243.  
  244. #=============== END ON CONFIGURATION==================#
Advertisement
Add Comment
Please, Sign In to add comment