SHARE
TWEET

Doom enemies working

a guest Sep 18th, 2019 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. title Doom
  2. author My Name Here
  3. homepage www.puzzlescript.net
  4. realtime_interval 1.0
  5.  
  6. youtube YJB0gfP-GRY
  7.  
  8. ========
  9. OBJECTS
  10. ========
  11.  
  12. Background              (lattia)
  13. #2f484e black
  14. 00100
  15. 01010
  16. 10001
  17. 01010
  18. 00100  
  19.  
  20. vesi                    (decor texrure)
  21. #29456a #060f30
  22. 00100
  23. 01010
  24. 10001
  25. 01010
  26. 00100
  27.    
  28.  
  29. Wall                    (perus seinää)
  30. #1d1405 #444039
  31. 11101
  32. 00000
  33. 01111
  34. 01111
  35. 00000
  36.  
  37. railing_wall_h          (decor seinä)
  38. black
  39. .000.
  40. .000.
  41. .000.
  42. .000.
  43. .000.
  44.  
  45. railing_wall_v          (decor seinää)
  46. black
  47. .....
  48. 00000
  49. 00000
  50. 00000
  51. .....
  52.  
  53. railing_wall_k_l        (decor vasen kulma)
  54. black
  55. .000.
  56. .0000
  57. .0000
  58. .0000
  59. .....
  60.  
  61. railing_wall_k_r        (decor oikea kulma)
  62. black
  63. .000.
  64. 0000.
  65. 0000.
  66. 0000.
  67. .....
  68.  
  69. Player                  (doomguy)
  70. #383838 #3b540c #d9c098 #000000
  71. ..0..  
  72. 11111
  73. 21112
  74. .111.
  75. .3.3.
  76.  
  77. enemy
  78. red white #8a6007
  79. 1.0.1
  80. 21212
  81. 22222
  82. .2.2.
  83. .2.2.
  84.  
  85.  
  86. stairs_v                (portaat vertical, molemmilla puolilla "raja")
  87. #2f484e black gray
  88. 22222
  89. 10101
  90. 10101
  91. 10101
  92. 22222
  93.  
  94. stairs_v_u              (portaat vertical, raja ylhäällä)
  95. #2f484e black gray
  96. 22222
  97. 10101
  98. 10101
  99. 10101
  100. 10101
  101.  
  102. stairs_v_d              (portaat vertical, raja alhaalla)
  103. #2f484e black gray
  104. 10101
  105. 10101
  106. 10101
  107. 10101
  108. 22222
  109.  
  110. stairs_h_l              (portaat horizontal, raja vasen)
  111. #2f484e black gray
  112. 21111
  113. 20000
  114. 21111
  115. 20000
  116. 21111
  117.  
  118. stairs_h_r
  119. #2f484e black gray      (portaat horizontal, raja oikea)
  120. 11112
  121. 00002
  122. 11112
  123. 00002
  124. 11112
  125.  
  126. secretdoor_closed       (!vaihda "wall" textureks!)(sala ovi joka aktivoidaan napilla)
  127. red
  128.  
  129. door_closed             (ovi kiinni -> ei voi kävellä)
  130. yellow
  131.  
  132. poison                  (myrkky, ottaa dmg kun kävelee päältä)
  133. #14580d #1b7e11
  134. 11100
  135. 00111
  136. 11100
  137. 10011
  138. 11111
  139.  
  140. goal                    (maali pitää painaa aktivointi nappia kun seisoo päällä)
  141. darkred
  142.  
  143.  
  144. void                    (musta background)
  145. black
  146.    
  147. sand                    (maata)
  148. #795820 #5d4317
  149. 00100
  150. 01100
  151. 11011
  152. 00110
  153. 00010
  154.  
  155. secret_button           (!vaihda "background" textureks!)(avaa ekan secretin kun painaa (punaiset ovet))
  156. #d46464
  157.  
  158. glass_v                 (ikkuna, toimii seinänä vertical)
  159. #1d1405 #444039 blue
  160. 11201
  161. 00200
  162. 01211
  163. 01211
  164. 00200
  165.  
  166. glass_h                 (ikkuna, toimii seinänä horizontal)
  167. #1d1405 #444039 blue
  168. 11101
  169. 00000
  170. 22222
  171. 01111
  172. 00000
  173.  
  174. secretdoor2_closed      (!vaihda "wall" textureks!)(aukee ku triggerille astuu)
  175. pink
  176.  
  177. secretdoor2_trigger     (!vaihda "background" textureks!)(kävele päältä niin aktivoituu)
  178. #00f0e8
  179.  
  180. heal                    (heali itemi -> kävele päältä saa helttiä)
  181. red
  182. .....
  183. ..0..
  184. .000.
  185. ..0..
  186. .....
  187.  
  188. armor                   (antaa armorin täyteen) (käytetäänkö ollenkaa armoria vai pelkkää helttiä??)
  189. #36a21d
  190. .....
  191. 00000
  192. .000.
  193. .000.
  194. .....
  195.  
  196. door_open
  197. transparent
  198.  
  199. PlayerN
  200. red
  201. (transparent)
  202. PlayerW
  203. blue
  204. (transparent)
  205. PlayerS
  206. yellow
  207. (transparent)
  208. PlayerE
  209. green
  210. (transparent)
  211. HealthData
  212. pink
  213. HealthChanged
  214. transparent
  215. Health10
  216. transparent
  217. Health9
  218. transparent
  219. Health8
  220. transparent
  221. Health7
  222. transparent
  223. Health6
  224. transparent
  225. Health5
  226. transparent
  227. Health4
  228. transparent
  229. Health3
  230. transparent
  231. Health2
  232. transparent
  233. Health1
  234. transparent
  235. Health0
  236. transparent
  237.  
  238. NumKernel1
  239. transparent
  240. NumKernel2
  241. transparent
  242. NumKernel3
  243. transparent
  244. NumKernel4
  245. transparent
  246. NumKernel5
  247. transparent
  248. NumKernel6
  249. transparent
  250. NumKernel7
  251. transparent
  252. NumKernel8
  253. transparent
  254. NumKernel9
  255. transparent
  256. NumKernel0
  257. transparent
  258. BlankKernel
  259. transparent
  260.  
  261. EmptyLine
  262. transparent
  263. FullLine
  264. transparent
  265. HollowLine
  266. transparent
  267. ThreePLine
  268. transparent
  269. Num1Line2
  270. transparent
  271. Num2Line1
  272. transparent
  273. Num2Line3
  274. transparent
  275. Num3Line3
  276. transparent
  277. Num4Line1
  278. transparent
  279. Num4Line2
  280. transparent
  281. Num5Line1
  282. transparent
  283. Num5Line3
  284. transparent
  285. Num6Line3
  286. transparent
  287. Num7Line3
  288. transparent
  289.  
  290. EmpL
  291. transparent
  292. ColL
  293. yellow
  294.  
  295.  
  296.  
  297. =======
  298. LEGEND
  299. =======
  300.  
  301. . = Background
  302. # = Wall
  303. P = Player
  304. e = enemy
  305. s = stairs_v
  306. l = stairs_h_l
  307. r = stairs_h_r
  308. g = secretdoor_closed
  309. d = door_closed
  310. t = poison
  311. f = goal
  312. - = void
  313. h = sand
  314. b = secret_button
  315. $ = glass_v
  316. € = glass_h
  317. j = secretdoor2_closed
  318. k = secretdoor2_trigger
  319. z = stairs_v_u
  320. x = stairs_v_d
  321. w = vesi
  322. + = heal
  323. * = armor
  324. u = railing_wall_h
  325. y = railing_wall_v
  326. % = railing_wall_k_l
  327. & = railing_wall_k_r
  328. a = HealthData and Health10 and HealthChanged
  329. c = ColL
  330.  
  331.  
  332.  
  333.  
  334.  
  335. =======
  336. SOUNDS
  337. =======
  338.  
  339. ================
  340. COLLISIONLAYERS
  341. ================
  342.  
  343. Background
  344. HealthData
  345. HealthChanged
  346. Health0, Health1, Health2, Health3, Health4, Health5, Health6, Health7, Health8, Health9, Health10
  347. NumKernel1, NumKernel2, , NumKernel3, , NumKernel4, , NumKernel5, , NumKernel6, , NumKernel7, , NumKernel8, , NumKernel9, , NumKernel0, BlankKernel
  348. EmptyLine, FullLine, HollowLine, ThreePLine, Num1Line2, Num2Line1, Num2Line3, Num3Line3, Num3Line3, Num4Line1, Num4Line2, Num5Line1, Num5Line3, Num6Line3, Num7Line3
  349. EmpL, ColL
  350. stairs_v,stairs_v_u,stairs_v_d, stairs_h_l, stairs_h_r, poison, goal, sand, door_open secret_button, secretdoor2_trigger, vesi, heal, armor
  351. PlayerN, PlayerW, PlayerS, PlayerE
  352. Player, Wall, secretdoor_closed, door_closed, void, glass_v, glass_h, secretdoor2_closed, railing_wall_v, railing_wall_h, railing_wall_k_l, railing_wall_k_r, enemy
  353.  
  354. ======
  355. RULES    
  356. ======    
  357. ([Action Player | ... | Enemy] -> [Player | ... |]  (Enemy pitää lisätä))
  358.  
  359. [stationary player][enemy] -> [player][randomdir enemy]
  360. [action Player|door_closed] -> [Player|door_open]
  361. [door_open|door_closed] -> [door_open|door_open]
  362.  
  363. [action Player secret_button][secretdoor_closed] -> [action Player secret_button][]
  364.  
  365. [< Player no door_open| door_open] -> [< Player | door_closed]
  366. [door_open | door_closed] -> [door_closed | door_closed]
  367.  
  368. [Player secretdoor2_trigger][secretdoor2_closed] -> [Player secretdoor2_trigger][]
  369.  
  370.  
  371. right [NumKernel1||] -> [EmptyLine|Num1Line2|FullLine]
  372. right [NumKernel2||] -> [Num2Line1|ThreePLine|Num2Line3]
  373. right [NumKernel3||] -> [HollowLine|ThreePLine|Num3Line3]
  374. right [NumKernel4||] -> [Num4Line1|Num4Line2|FullLine]
  375. right [NumKernel5||] -> [Num5Line1|ThreePLine|Num5Line3]
  376. right [NumKernel6||] -> [FullLine|ThreePLine|Num6Line3]
  377. right [NumKernel7||] -> [Num2Line1|Num4Line2|Num7Line3]
  378. right [NumKernel8||] -> [FullLine|ThreePLine|FullLine]
  379. right [NumKernel9||] -> [Num2Line3|ThreePLine|FullLine]
  380. right [NumKernel0||] -> [FullLine|HollowLine|FullLine]
  381.  
  382. down [Emptyline||||] ->     [empl|empl|empl|empl|empl]
  383. down [FullLine||||] ->      [coll|coll|coll|coll|coll]
  384. down [HollowLine||||] ->    [ColL|EmpL|EmpL|EmpL|ColL]
  385. down [ThreePLine||||] ->    [ColL|EmpL|ColL|EmpL|ColL]
  386. down [Num1Line2||||] ->     [coll|empl|empl|empl|empl]
  387. down [Num2Line1||||] ->     [ColL|empl|empl|ColL|ColL]
  388. down [Num2Line3||||] ->     [coll|coll|coll|empl|coll]
  389. down [Num3Line3||||] ->     [empl|coll|coll|coll|empl]
  390. down [Num4Line1||||] ->     [empl|ColL|ColL|empl|empl]
  391. down [Num4Line2||||] ->     [ColL|empl|ColL|empl|empl]
  392. down [Num5Line1||||] ->     [ColL|ColL|ColL|empl|ColL]
  393. down [Num5Line3||||] ->     [ColL|empl|ColL|ColL|empl]
  394. down [Num6Line3||||] ->     [ColL|empl|ColL|ColL|ColL]
  395. down [Num7Line3||||] ->     [ColL|ColL|empl|empl|empl]
  396.  
  397.  
  398. ==============
  399. WINCONDITIONS
  400. ==============
  401.  
  402. All Player on goal
  403.  
  404.  
  405. =======    
  406. LEVELS
  407. =======
  408.  
  409. ------------------------------------------------------------------
  410. ------------------------------------------------------------------
  411. ----------------------------##############------------------------
  412. ---------------------------#..............#-----------------------
  413. ---------------------------#..............#-----------------------
  414. ---------------------------#..............#-----------------------
  415. ---------------------------#........####..#-----------------------
  416. ---------------------------##..........#..#-----------------------
  417. -----------------------######...e......#..#-----------------------
  418. ----------------------##...d...........#+.#-----------------------
  419. ----------------------#....d......e....#+.#-----------------------
  420. ----------------------#...###..........#..#-----------------------
  421. ---------------------##..####..........#..##----------------------
  422. ---------------------#...###........####..##########--------------
  423. ---------------------#...###..............d........##-----#####---
  424. ---------------------#..####..............d.........##--###...##--
  425. ---------------------#..####..............#######...######.....##-
  426. ---------------#######..####€€€€€€€€€€€€€€########ddd##jj...#...#-
  427. --------------##........####hhhhhhhhhhhhhh#######......jj..###..#-
  428. ------------###.........#hhhhhhhhhhhhhhhhhh######.......######..#-
  429. ---##########...........#hhhhhhhhhhhhhhhhhhh#####tt....tt#####..#-
  430. -###..b..###............#hhhhttttttthhhhhhhhhhhh$ttt..ttt#####.##-
  431. #...#.#..#......wwwwwww.#hhhttttttttthhhhhhhhhhh$tt..tttt#####.#--
  432. #.*.sss.........wwwwwww.#hhhhttt*ttttthhhhhhhhhh$t..ttttt#####.#--
  433. #...#.#..#......wwwwwww.#hhhhttttttttthhhhhhhhhh$tt...ttt####..#--
  434. -###.....###............ghhhhhttttttthhhhhhhhhhh$tttt..tt###...#--
  435. ---##########...........ghhhhhhhhhhhhhhhhhhhhhhh$ttttt.tt###..#---
  436. ------------###.......###hhhhhhhhhhhhhhhhhhhhhhh$tttt..tt###..#---
  437. --------------##....p#####hhhhhhhhhhhhhhhhhhhhhh$ttt..ttt###...#--
  438. ---------------#######---##hhhhhhhhhhhhhhhhhhhh##....ttt.####..#--
  439. --------------------------#########lr#############....t..####..#--
  440. ----------------------------------#lr#############..###jj####..#--
  441. ----------------------------------#..#########...g..###jj####..#--
  442. ----------------------------------#...####..zz...g..###jj##....#--
  443. ----------------------------------#.........xx..##..#+*.......##--
  444. ----------------------------------##........######..#*+.#######---
  445. -----------------------------------###############dd#########-----
  446. --------------------------------------------#####....#######------
  447. --------------------------------------------#####....#####--------
  448. --------------------------------------------#+.##dddd##.*#--------
  449. --------------------------------------------#..u.kkkk.u..#--------
  450. --------------------------------------------#..u......u..#--------
  451. --------------------------------------------#..u......u..#--------
  452. --------------------------------------------#..u......u..#--------
  453. --------------------------------------------#..%yy..yy&..#--------
  454. --------------------------------------------#............#--------
  455. --------------------------------------------######..######--------
  456. -------------------------------------------------#..#-------------
  457. -----------------------------------------------###dd###-----------
  458. -----------------------------------------------#......#-----------
  459. -----------------------------------------------#......#-----------
  460. -----------------------------------------------#......#-----------
  461. -----------------------------------------------#......#-----------
  462. -----------------------------------------------#..ff..#-----------
  463. -----------------------------------------------########-----------
  464. ------------------------------------------------------------------
  465. .a................................................................
  466. ..................................................................
  467. ..................................................................
  468. ..................................................................
  469. ..................................................................
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top