Advertisement
Guest User

Zcide_script

a guest
May 9th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.94 KB | None | 0 0
  1. --[[ Global Variables --]]
  2. --[[ Основные компоненты --]]
  3. rsbag_guid= '722a8d'
  4. rsbag = {}
  5.  
  6. d3dbag_guid = 'd228a5'
  7. rsbag = {}
  8.  
  9. tinfbag_guid = '56c2e5'
  10. tinfbag = {}
  11.  
  12. boxbase_guid = '8a3397'
  13. boxbase = {}
  14.  
  15. boxtcm_guid = 'a80ade'
  16. boxtcm = {}
  17.  
  18. boxprisson_guid = '2b72a2'
  19. boxprisson = {}
  20.  
  21. boxmorg_guid = '688837'
  22. boxmorg = {}
  23.  
  24. boxan_guid = '39cc9f'
  25. boxan = {}
  26. -- [[ Сумка со всеми зомби --]]
  27. zbag_guid = '44df62'
  28. zbag = {}
  29.  
  30. pbag_guid = 'dd1bba'
  31. pbag = {}
  32.  
  33. tbag_guid = 'cd4824'
  34. tbag = {}
  35.  
  36. dbag_guid = 'df20a7'
  37. dbag = {}
  38. --[[Мешок с миссиями--]]
  39. missbox_guid = '444bfa'
  40. missbox = {}
  41.  
  42. --[[Тайл с установками--]]
  43. stile_guid = '891107'
  44. stile = {}
  45.  
  46. --[[ Тайлы поля --]]
  47. t1C3C_guid = '857eba'
  48. t1C3C = {}
  49. t1C3CPosition = {}
  50.  
  51. t4C5C_guid = '54c3c9'
  52. t4C5C = {}
  53. t4C5CPosition = {}
  54.  
  55. t4D5D_guid = '526bb0'
  56. t4D5D = {}
  57. t4D5DPosition = {}
  58.  
  59. t2C6C_guid = '492c33'
  60. t2C6C = {}
  61. t2C6CPosition = {}
  62.  
  63. t5F7B_guid = 'd05ecc'
  64. t5F7B = {}
  65. t5F7BPosition = {}
  66.  
  67. t4E5E_guid = 'ce3ace'
  68. t4E5E = {}
  69. t4E5EPosition = {}
  70.  
  71. t4B5B_guid = '93ff6e'
  72. t4B5B = {}
  73. t4B5BPosition = {}
  74.  
  75. t2B6B_guid = 'b53a71'
  76. t2B6B = {}
  77. t2B6BPosition = {}
  78.  
  79. t1B3B_guid = '44b74a'
  80. t1B3B = {}
  81. t1B3BPosition = {}
  82.  
  83. t2M7M_guid = '306f8d'
  84. t2M7M = {}
  85. t2M7MPosition = {}
  86.  
  87. t1M8M_guid = 'b8bb97'
  88. t1M8M = {}
  89. t1M8MPosition = {}
  90.  
  91. t3M6M_guid = 'e39730'
  92. t3M6M = {}
  93. t3M6MPosition = {}
  94.  
  95. t4M5M_guid = '7bd25d'
  96. t4M5M = {}
  97. t4M5MPosition = {}
  98.  
  99. t9P13P_guid = '192664'
  100. t9P13P = {}
  101. t9P13PPosition = {}
  102.  
  103. t16P17P_guid = 'b356c1'
  104. t16P17P = {}
  105. t16P17PPosition = {}
  106.  
  107. t5P14P_guid = '05271f'
  108. t5P14P = {}
  109. t5P14PPosition = {}
  110.  
  111. t7P11P_guid = '4c2095'
  112. t7P11P = {}
  113. t7P11PPosition = {}
  114.  
  115. t10P18P_guid = '38fada'
  116. t10P18P = {}
  117. t10P18PPosition = {}
  118.  
  119. t4P6P_guid = '3d9998'
  120. t4P6P = {}
  121. t4P6PPosition = {}
  122.  
  123. t3P12P_guid = 'f0bb7c'
  124. t3P12P = {}
  125. t3P12PRotatoion = {}
  126.  
  127. t1P15P_guid = '4045d3'
  128. t1P15P = {}
  129. t1P15PRotatoion = {}
  130.  
  131. t2P8P_guid = '349175'
  132. t2P8P = {}
  133. t2P8PRotatoion = {}
  134.  
  135. t6R6V_guid = '6f9dc9'
  136. t6R6V = {}
  137. t6R6VRotatoion = {}
  138.  
  139. t9R9V_guid = '3a268f'
  140. t9R9V = {}
  141. t9R9VRotatoion = {}
  142.  
  143. t8R8V_guid = '74fead'
  144. t8R8V = {}
  145. t8R8VRotatoion = {}
  146.  
  147. t7R7V_guid = '698576'
  148. t7R7V = {}
  149. t7R7VRotatoion = {}
  150.  
  151. t5R5V_guid = '6234e1'
  152. t5R5V = {}
  153. t5R5VRotatoion = {}
  154.  
  155. t4R4V_guid = '72637a'
  156. t4R4V = {}
  157. t4R4VRotatoion = {}
  158.  
  159. t3R3V_guid = 'cfc808'
  160. t3R3V = {}
  161. t3R3VRotatoion = {}
  162.  
  163. t2R2V_guid = '04bdfd'
  164. t2R2V = {}
  165. t2R2VRotatoion = {}
  166.  
  167. t1R1V_guid = '6a50c3'
  168. t1R1V = {}
  169. t1R1VRotatoion = {}
  170.  
  171. t11R11V_guid = '4a9115'
  172. t11R11V = {}
  173. t11R11VRotatoion = {}
  174.  
  175. t10R10V_guid = '5a6bd1'
  176. t10R10V = {}
  177. t10R10VPosition = {}
  178.  
  179. t12R12V_guid = '6c2364'
  180. t12R12V = {}
  181. t12R12VPositionion = {}
  182.  
  183. --[[Разное--]]
  184. xRotations = {}
  185. yRotations = {}
  186. zRotations = {}
  187. Pos = {}
  188. params = {}
  189. ctile = {}
  190. ctoken = {}
  191.  
  192. --[[ onload--]]
  193. function onload()
  194. stile = getObjectFromGUID(stile_guid)
  195. t1C3C = getObjectFromGUID(t1C3C_guid)
  196. t4C5C = getObjectFromGUID(t4C5C_guid)
  197. t4D5D = getObjectFromGUID(t4D5D_guid)
  198. t2C6C = getObjectFromGUID(t2C6C_guid)
  199. t5F7B = getObjectFromGUID(t5F7B_guid)
  200. t4E5E = getObjectFromGUID(t4E5E_guid)
  201. t4B5B = getObjectFromGUID(t4B5B_guid)
  202. t2B6B = getObjectFromGUID(t2B6B_guid)
  203. t1B3B = getObjectFromGUID(t1B3B_guid)
  204. t2M7M = getObjectFromGUID(t2M7M_guid)
  205. t1M8M = getObjectFromGUID(t1M8M_guid)
  206. t3M6M = getObjectFromGUID(t3M6M_guid)
  207. t4M5M = getObjectFromGUID(t4M5M_guid)
  208. t9P13P = getObjectFromGUID(t9P13P_guid)
  209. t16P17P = getObjectFromGUID(t16P17P_guid)
  210. t5P14P = getObjectFromGUID(t5P14P_guid)
  211. t7P11P = getObjectFromGUID(t7P11P_guid)
  212. t10P18P = getObjectFromGUID(t10P18P_guid)
  213. t4P6P = getObjectFromGUID(t4P6P_guid)
  214. t3P12P = getObjectFromGUID(t3P12P_guid)
  215. t1P15P = getObjectFromGUID(t1P15P_guid)
  216. t2P8P = getObjectFromGUID(t2P8P_guid)
  217. t6R6V = getObjectFromGUID(t6R6V_guid)
  218. t9R9V = getObjectFromGUID(t9R9V_guid)
  219. t8R8V = getObjectFromGUID(t8R8V_guid)
  220. t7R7V = getObjectFromGUID(t7R7V_guid)
  221. t5R5V = getObjectFromGUID(t5R5V_guid)
  222. t4R4V = getObjectFromGUID(t4R4V_guid)
  223. t3R3V = getObjectFromGUID(t3R3V_guid)
  224. t2R2V = getObjectFromGUID(t2R2V_guid)
  225. t1R1V = getObjectFromGUID(t1R1V_guid)
  226. t11R11V = getObjectFromGUID(t11R11V_guid)
  227. t10R10V = getObjectFromGUID(t10R10V_guid)
  228. t12R12V = getObjectFromGUID(t12R12V_guid)
  229.  
  230. tinfbag = getObjectFromGUID(tinfbag_guid)
  231. boxbase = getObjectFromGUID(boxbase_guid)
  232. boxtcm = getObjectFromGUID(boxtcm_guid)
  233. boxprisson = getObjectFromGUID(boxprisson_guid)
  234. boxmorg = getObjectFromGUID(boxmorg_guid)
  235. boxan = getObjectFromGUID(boxan_guid)
  236. zbag = getObjectFromGUID(zbag_guid)
  237. pbag = getObjectFromGUID(pbag_guid)
  238. tbag = getObjectFromGUID(tbag_guid)
  239. dbag = getObjectFromGUID(dbag_guid)
  240. rsbag = getObjectFromGUID(rsbag_guid)
  241. d3dbag = getObjectFromGUID(d3dbag_guid)
  242.  
  243.  
  244. end
  245. --[[Функции возвращения в меню--]]
  246. function mback()
  247. stile.clearButtons()
  248. stile.createButton( {
  249. click_function = 'm_base',
  250. function_owner = Global,
  251. label = 'База',
  252. position = {0.0, 0.1, -1},
  253. rotation = {0, 0, 0},
  254. width = 1000,
  255. height = 170,
  256. font_size = 70
  257. } )
  258.  
  259. stile.createButton( {
  260. click_function = 'm_tcm',
  261. function_owner = Global,
  262. label = 'Токсичный центр',
  263. position = {0.0, 0.1, -0.5},
  264. rotation = {0, 0, 0},
  265. width = 1000,
  266. height = 170,
  267. font_size = 70
  268. } )
  269. stile.createButton( {
  270. click_function = 'm_prison',
  271. function_owner = Global,
  272. label = 'Штурм Тюрьмы',
  273. position = {0.0, 0.1, 0},
  274. rotation = {0, 0, 0},
  275. width = 1000,
  276. height = 170,
  277. font_size = 70
  278. } )
  279. stile.createButton( {
  280. click_function = 'm_morg',
  281. function_owner = Global,
  282. label = 'Улица Морг',
  283. position = {0.0, 0.1, 0.5},
  284. rotation = {0, 0, 0},
  285. width = 1000,
  286. height = 170,
  287. font_size = 70
  288. } )
  289.  
  290. stile.createButton( {
  291. click_function = 'm_an',
  292. function_owner = Global,
  293. label = 'Злобные соседи',
  294. position = {0.0, 0.1, 1.0},
  295. rotation = {0, 0, 0},
  296. width = 1000,
  297. height = 170,
  298. font_size = 70
  299. } )
  300.  
  301. end
  302.  
  303.  
  304. --[[Миссии Базы--]]
  305. function m_base()
  306. stile.clearButtons()
  307. stile.createButton( {
  308. click_function = 'bm00',
  309. function_owner = Global,
  310. label = 'Обучение M00',
  311. position = {0.0, 0.1, 0.0},
  312. rotation = {0, 0, 0},
  313. width = 700,
  314. height = 200,
  315. font_size = 70
  316. })
  317. stile.createButton( {
  318. click_function = 'bm01',
  319. function_owner = Global,
  320. label = 'M01',
  321. position = {-1, 0.1, -1},
  322. rotation = {0, 0, 0},
  323. width = 200,
  324. height = 200,
  325. font_size = 70
  326. })
  327. stile.createButton( {
  328. click_function = 'bm02',
  329. function_owner = Global,
  330. label = 'M02',
  331. position = {-0.5, 0.1, -1},
  332. rotation = {0, 0, 0},
  333. width = 200,
  334. height = 200,
  335. font_size = 70
  336. })
  337. stile.createButton( {
  338. click_function = 'bm03',
  339. function_owner = Global,
  340. label = 'M03',
  341. position = {0.0, 0.1, -1},
  342. rotation = {0, 0, 0},
  343. width = 200,
  344. height = 200,
  345. font_size = 70
  346. })
  347. stile.createButton( {
  348. click_function = 'bm04',
  349. function_owner = Global,
  350. label = 'M04',
  351. position = {0.5, 0.1, -1},
  352. rotation = {0, 0, 0},
  353. width = 200,
  354. height = 200,
  355. font_size = 70
  356. })
  357.  
  358. stile.createButton( {
  359. click_function = 'bm05',
  360. function_owner = Global,
  361. label = 'M05',
  362. position = {1, 0.1, -1},
  363. rotation = {0, 0, 0},
  364. width = 200,
  365. height = 200,
  366. font_size = 70
  367. })
  368. stile.createButton( {
  369. click_function = 'bm06',
  370. function_owner = Global,
  371. label = 'M06',
  372. position = {-1, 0.1, -0.5},
  373. rotation = {0, 0, 0},
  374. width = 200,
  375. height = 200,
  376. font_size = 70
  377. })
  378. stile.createButton( {
  379. click_function = 'bm07',
  380. function_owner = Global,
  381. label = 'M07',
  382. position = {-0.5, 0.1, -0.5},
  383. rotation = {0, 0, 0},
  384. width = 200,
  385. height = 200,
  386. font_size = 70
  387. })
  388. stile.createButton( {
  389. click_function = 'bm08',
  390. function_owner = Global,
  391. label = 'M08',
  392. position = {0.0, 0.1, -0.5},
  393. rotation = {0, 0, 0},
  394. width = 200,
  395. height = 200,
  396. font_size = 70
  397. })
  398. stile.createButton( {
  399. click_function = 'bm09',
  400. function_owner = Global,
  401. label = 'M09',
  402. position = {0.5, 0.1, -0.5},
  403. rotation = {0, 0, 0},
  404. width = 200,
  405. height = 200,
  406. font_size = 70
  407. })
  408. stile.createButton( {
  409. click_function = 'bm10',
  410. function_owner = Global,
  411. label = 'M10',
  412. position = {1, 0.1, -0.5},
  413. rotation = {0, 0, 0},
  414. width = 200,
  415. height = 200,
  416. font_size = 70
  417. })
  418. stile.createButton( {
  419. click_function = 'mback',
  420. function_owner = Global,
  421. label = '<-- НАЗАД',
  422. position = {0, 0.1, 0.75},
  423. rotation = {0, 0, 0},
  424. width = 700,
  425. height = 200,
  426. font_size = 70
  427. })
  428. end
  429. --[[Миссии Токсичного центра]]
  430. function m_tcm()
  431. stile.clearButtons()
  432.  
  433. stile.createButton( {
  434. click_function = 'tm01',
  435. function_owner = Global,
  436. label = 'M01',
  437. position = {-1, 0.1, -1},
  438. rotation = {0, 0, 0},
  439. width = 200,
  440. height = 200,
  441. font_size = 70
  442. })
  443. stile.createButton( {
  444. click_function = 'tm02',
  445. function_owner = Global,
  446. label = 'M02',
  447. position = {-0.5, 0.1, -1},
  448. rotation = {0, 0, 0},
  449. width = 200,
  450. height = 200,
  451. font_size = 70
  452. })
  453. stile.createButton( {
  454. click_function = 'tm03',
  455. function_owner = Global,
  456. label = 'M03',
  457. position = {0.0, 0.1, -1},
  458. rotation = {0, 0, 0},
  459. width = 200,
  460. height = 200,
  461. font_size = 70
  462. })
  463. stile.createButton( {
  464. click_function = 'tm04',
  465. function_owner = Global,
  466. label = 'M04',
  467. position = {0.5, 0.1, -1},
  468. rotation = {0, 0, 0},
  469. width = 200,
  470. height = 200,
  471. font_size = 70
  472. })
  473.  
  474. stile.createButton( {
  475. click_function = 'tm05',
  476. function_owner = Global,
  477. label = 'M05',
  478. position = {1, 0.1, -1},
  479. rotation = {0, 0, 0},
  480. width = 200,
  481. height = 200,
  482. font_size = 70
  483. })
  484. stile.createButton( {
  485. click_function = 'tm06',
  486. function_owner = Global,
  487. label = 'M06',
  488. position = {-1, 0.1, -0.5},
  489. rotation = {0, 0, 0},
  490. width = 200,
  491. height = 200,
  492. font_size = 70
  493. })
  494. stile.createButton( {
  495. click_function = 'tm07',
  496. function_owner = Global,
  497. label = 'M07',
  498. position = {-0.5, 0.1, -0.5},
  499. rotation = {0, 0, 0},
  500. width = 200,
  501. height = 200,
  502. font_size = 70
  503. })
  504. stile.createButton( {
  505. click_function = 'tm08',
  506. function_owner = Global,
  507. label = 'M08',
  508. position = {0.0, 0.1, -0.5},
  509. rotation = {0, 0, 0},
  510. width = 200,
  511. height = 200,
  512. font_size = 70
  513. })
  514. stile.createButton( {
  515. click_function = 'tm09',
  516. function_owner = Global,
  517. label = 'M09',
  518. position = {0.5, 0.1, -0.5},
  519. rotation = {0, 0, 0},
  520. width = 200,
  521. height = 200,
  522. font_size = 70
  523. })
  524. stile.createButton( {
  525. click_function = 'tm10',
  526. function_owner = Global,
  527. label = 'M10',
  528. position = {1, 0.1, -0.5},
  529. rotation = {0, 0, 0},
  530. width = 200,
  531. height = 200,
  532. font_size = 70
  533. })
  534. stile.createButton( {
  535. click_function = 'mback',
  536. function_owner = Global,
  537. label = '<-- НАЗАД',
  538. position = {0, 0.1, 0.75},
  539. rotation = {0, 0, 0},
  540. width = 700,
  541. height = 200,
  542. font_size = 70
  543. })
  544. end
  545. --[[Миссии Штурма тюрьмы]]
  546. function m_prison()
  547. stile.clearButtons()
  548. stile.createButton( {
  549. click_function = 'pm00',
  550. function_owner = Global,
  551. label = 'Обучение M00',
  552. position = {0.0, 0.1, 0.0},
  553. rotation = {0, 0, 0},
  554. width = 700,
  555. height = 200,
  556. font_size = 70
  557. })
  558. stile.createButton( {
  559. click_function = 'pm01',
  560. function_owner = Global,
  561. label = 'M01',
  562. position = {-1, 0.1, -1},
  563. rotation = {0, 0, 0},
  564. width = 200,
  565. height = 200,
  566. font_size = 70
  567. })
  568. stile.createButton( {
  569. click_function = 'pm02',
  570. function_owner = Global,
  571. label = 'M02',
  572. position = {-0.5, 0.1, -1},
  573. rotation = {0, 0, 0},
  574. width = 200,
  575. height = 200,
  576. font_size = 70
  577. })
  578. stile.createButton( {
  579. click_function = 'pm03',
  580. function_owner = Global,
  581. label = 'M03',
  582. position = {0.0, 0.1, -1},
  583. rotation = {0, 0, 0},
  584. width = 200,
  585. height = 200,
  586. font_size = 70
  587. })
  588. stile.createButton( {
  589. click_function = 'pm04',
  590. function_owner = Global,
  591. label = 'M04',
  592. position = {0.5, 0.1, -1},
  593. rotation = {0, 0, 0},
  594. width = 200,
  595. height = 200,
  596. font_size = 70
  597. })
  598.  
  599. stile.createButton( {
  600. click_function = 'pm05',
  601. function_owner = Global,
  602. label = 'M05',
  603. position = {1, 0.1, -1},
  604. rotation = {0, 0, 0},
  605. width = 200,
  606. height = 200,
  607. font_size = 70
  608. })
  609. stile.createButton( {
  610. click_function = 'pm06',
  611. function_owner = Global,
  612. label = 'M06',
  613. position = {-1, 0.1, -0.5},
  614. rotation = {0, 0, 0},
  615. width = 200,
  616. height = 200,
  617. font_size = 70
  618. })
  619. stile.createButton( {
  620. click_function = 'pm07',
  621. function_owner = Global,
  622. label = 'M07',
  623. position = {-0.5, 0.1, -0.5},
  624. rotation = {0, 0, 0},
  625. width = 200,
  626. height = 200,
  627. font_size = 70
  628. })
  629. stile.createButton( {
  630. click_function = 'pm08',
  631. function_owner = Global,
  632. label = 'M08',
  633. position = {0.0, 0.1, -0.5},
  634. rotation = {0, 0, 0},
  635. width = 200,
  636. height = 200,
  637. font_size = 70
  638. })
  639. stile.createButton( {
  640. click_function = 'pm09',
  641. function_owner = Global,
  642. label = 'M09',
  643. position = {0.5, 0.1, -0.5},
  644. rotation = {0, 0, 0},
  645. width = 200,
  646. height = 200,
  647. font_size = 70
  648. })
  649. stile.createButton( {
  650. click_function = 'pm10',
  651. function_owner = Global,
  652. label = 'M10',
  653. position = {1, 0.1, -0.5},
  654. rotation = {0, 0, 0},
  655. width = 200,
  656. height = 200,
  657. font_size = 70
  658. })
  659. stile.createButton( {
  660. click_function = 'mback',
  661. function_owner = Global,
  662. label = '<-- НАЗАД',
  663. position = {0, 0.1, 0.75},
  664. rotation = {0, 0, 0},
  665. width = 700,
  666. height = 200,
  667. font_size = 70
  668. })
  669. end
  670. --[[Миссии Улицы Морг]]
  671. function m_morg()
  672. stile.clearButtons()
  673. stile.createButton( {
  674. click_function = 'mm001',
  675. function_owner = Global,
  676. label = 'Обучение M00#1',
  677. position = {-0.75, 0.1, 0.5},
  678. rotation = {0, 0, 0},
  679. width = 700,
  680. height = 200,
  681. font_size = 70
  682. })
  683. stile.createButton( {
  684. click_function = 'mm002',
  685. function_owner = Global,
  686. label = 'Обучение M00#2',
  687. position = {0.75, 0.1, 0.5},
  688. rotation = {0, 0, 0},
  689. width = 700,
  690. height = 200,
  691. font_size = 70
  692. })
  693. stile.createButton( {
  694. click_function = 'mm01',
  695. function_owner = Global,
  696. label = 'M01',
  697. position = {-1, 0.1, -1},
  698. rotation = {0, 0, 0},
  699. width = 200,
  700. height = 200,
  701. font_size = 70
  702. })
  703. stile.createButton( {
  704. click_function = 'mm02',
  705. function_owner = Global,
  706. label = 'M02',
  707. position = {-0.5, 0.1, -1},
  708. rotation = {0, 0, 0},
  709. width = 200,
  710. height = 200,
  711. font_size = 70
  712. })
  713. stile.createButton( {
  714. click_function = 'mm03',
  715. function_owner = Global,
  716. label = 'M03',
  717. position = {0, 0.1, -1},
  718. rotation = {0, 0, 0},
  719. width = 200,
  720. height = 200,
  721. font_size = 70
  722. })
  723. stile.createButton( {
  724. click_function = 'mm04',
  725. function_owner = Global,
  726. label = 'M04',
  727. position = {0.5, 0.1, -1},
  728. rotation = {0, 0, 0},
  729. width = 200,
  730. height = 200,
  731. font_size = 70
  732. })
  733.  
  734. stile.createButton( {
  735. click_function = 'mm05',
  736. function_owner = Global,
  737. label = 'M05',
  738. position = {1, 0.1, -1},
  739. rotation = {0, 0, 0},
  740. width = 200,
  741. height = 200,
  742. font_size = 70
  743. })
  744. stile.createButton( {
  745. click_function = 'mm06',
  746. function_owner = Global,
  747. label = 'M06',
  748. position = {-1, 0.1, -0.5},
  749. rotation = {0, 0, 0},
  750. width = 200,
  751. height = 200,
  752. font_size = 70
  753. })
  754. stile.createButton( {
  755. click_function = 'mm07',
  756. function_owner = Global,
  757. label = 'M07',
  758. position = {-0.5, 0.1, -0.5},
  759. rotation = {0, 0, 0},
  760. width = 200,
  761. height = 200,
  762. font_size = 70
  763. })
  764. stile.createButton( {
  765. click_function = 'mm08',
  766. function_owner = Global,
  767. label = 'M08',
  768. position = {0, 0.1, -0.5},
  769. rotation = {0, 0, 0},
  770. width = 200,
  771. height = 200,
  772. font_size = 70
  773. })
  774. stile.createButton( {
  775. click_function = 'mm09',
  776. function_owner = Global,
  777. label = 'M09',
  778. position = {0.5, 0.1, -0.5},
  779. rotation = {0, 0, 0},
  780. width = 200,
  781. height = 200,
  782. font_size = 70
  783. })
  784. stile.createButton( {
  785. click_function = 'mm10',
  786. function_owner = Global,
  787. label = 'M10',
  788. position = {1, 0.1, -0.5},
  789. rotation = {0, 0, 0},
  790. width = 200,
  791. height = 200,
  792. font_size = 70
  793. })
  794. stile.createButton( {
  795. click_function = 'mm11',
  796. function_owner = Global,
  797. label = 'M11',
  798. position = {-1, 0.1, 0},
  799. rotation = {0, 0, 0},
  800. width = 200,
  801. height = 200,
  802. font_size = 70
  803. })
  804. stile.createButton( {
  805. click_function = 'mm12',
  806. function_owner = Global,
  807. label = 'M12',
  808. position = {-0.5, 0.1, 0},
  809. rotation = {0, 0, 0},
  810. width = 200,
  811. height = 200,
  812. font_size = 70
  813. })
  814. stile.createButton( {
  815. click_function = 'mback',
  816. function_owner = Global,
  817. label = '<-- НАЗАД',
  818. position = {0, 0.1, 1},
  819. rotation = {0, 0, 0},
  820. width = 700,
  821. height = 200,
  822. font_size = 70
  823. })
  824. end
  825. --[[Миссии Злобных соседей]]
  826. function m_an()
  827. stile.clearButtons()
  828. stile.createButton( {
  829. click_function = 'am01',
  830. function_owner = Global,
  831. label = 'M01',
  832. position = {-1, 0.1, -1},
  833. rotation = {0, 0, 0},
  834. width = 200,
  835. height = 200,
  836. font_size = 70
  837. })
  838. stile.createButton( {
  839. click_function = 'am02',
  840. function_owner = Global,
  841. label = 'M02',
  842. position = {-0.5, 0.1, -1},
  843. rotation = {0, 0, 0},
  844. width = 200,
  845. height = 200,
  846. font_size = 70
  847. })
  848. stile.createButton( {
  849. click_function = 'am03',
  850. function_owner = Global,
  851. label = 'M03',
  852. position = {0, 0.1, -1},
  853. rotation = {0, 0, 0},
  854. width = 200,
  855. height = 200,
  856. font_size = 70
  857. })
  858. stile.createButton( {
  859. click_function = 'am04',
  860. function_owner = Global,
  861. label = 'M04',
  862. position = {0.5, 0.1, -1},
  863. rotation = {0, 0, 0},
  864. width = 200,
  865. height = 200,
  866. font_size = 70
  867. })
  868.  
  869. stile.createButton( {
  870. click_function = 'am05',
  871. function_owner = Global,
  872. label = 'M05',
  873. position = {1, 0.1, -1},
  874. rotation = {0, 0, 0},
  875. width = 200,
  876. height = 200,
  877. font_size = 70
  878. })
  879. stile.createButton( {
  880. click_function = 'am06',
  881. function_owner = Global,
  882. label = 'M06',
  883. position = {-1, 0.1, -0.5},
  884. rotation = {0, 0, 0},
  885. width = 200,
  886. height = 200,
  887. font_size = 70
  888. })
  889. stile.createButton( {
  890. click_function = 'am07',
  891. function_owner = Global,
  892. label = 'M07',
  893. position = {-0.5, 0.1, -0.5},
  894. rotation = {0, 0, 0},
  895. width = 200,
  896. height = 200,
  897. font_size = 70
  898. })
  899. stile.createButton( {
  900. click_function = 'am08',
  901. function_owner = Global,
  902. label = 'M08',
  903. position = {0.0, 0.1, -0.5},
  904. rotation = {0, 0, 0},
  905. width = 200,
  906. height = 200,
  907. font_size = 70
  908. })
  909. stile.createButton( {
  910. click_function = 'am09',
  911. function_owner = Global,
  912. label = 'M09',
  913. position = {0.5, 0.1, -0.5},
  914. rotation = {0, 0, 0},
  915. width = 200,
  916. height = 200,
  917. font_size = 70
  918. })
  919. stile.createButton( {
  920. click_function = 'am10',
  921. function_owner = Global,
  922. label = 'M10',
  923. position = {1, 0.1, -0.5},
  924. rotation = {0, 0, 0},
  925. width = 200,
  926. height = 200,
  927. font_size = 70
  928. })
  929. stile.createButton( {
  930. click_function = 'am11',
  931. function_owner = Global,
  932. label = 'M11',
  933. position = {-1, 0.1, 0},
  934. rotation = {0, 0, 0},
  935. width = 200,
  936. height = 200,
  937. font_size = 70
  938. })
  939. stile.createButton( {
  940. click_function = 'am12',
  941. function_owner = Global,
  942. label = 'M12',
  943. position = {-0.5, 0.1, 0},
  944. rotation = {0, 0, 0},
  945. width = 200,
  946. height = 200,
  947. font_size = 70
  948. })
  949. stile.createButton( {
  950. click_function = 'am13',
  951. function_owner = Global,
  952. label = 'M13',
  953. position = {0, 0.1, 0},
  954. rotation = {0, 0, 0},
  955. width = 200,
  956. height = 200,
  957. font_size = 70
  958. })
  959. stile.createButton( {
  960. click_function = 'am14',
  961. function_owner = Global,
  962. label = 'M14',
  963. position = {0.5, 0.1, 0},
  964. rotation = {0, 0, 0},
  965. width = 200,
  966. height = 200,
  967. font_size = 70
  968. })
  969. stile.createButton( {
  970. click_function = 'am15',
  971. function_owner = Global,
  972. label = 'M15',
  973. position = {1, 0.1, 0},
  974. rotation = {0, 0, 0},
  975. width = 200,
  976. height = 200,
  977. font_size = 70
  978. })
  979. stile.createButton( {
  980. click_function = 'mback',
  981. function_owner = Global,
  982. label = '<-- НАЗАД',
  983. position = {0, 0.1, 0.75},
  984. rotation = {0, 0, 0},
  985. width = 700,
  986. height = 200,
  987. font_size = 70
  988. })
  989. end
  990.  
  991. function bm00()
  992. local params = {}
  993. ctile = {}
  994. params.guid = '44b74a'
  995. params.position = {3.775,3,5.285}
  996. params.rotation = {0,-180,0}
  997. params.flip = false
  998. ctile = tbag.takeObject(params)
  999. params = {}
  1000. ctile = {}
  1001. params.guid = 'b53a71'
  1002. params.position ={3.775,3,18.875}
  1003. params.rotation = {0,-90,0}
  1004. params.flip = false
  1005. ctile = tbag.takeObject(params)
  1006. ctile = {}
  1007. params = {}
  1008. ctoken = {}
  1009. params.position = {8,5,23}
  1010. ctoken = tinfbag.takeObject(params)
  1011. ctoken = {}
  1012. params.position = {-2.3,7,27}
  1013. ctoken = rsbag.takeObject(params)
  1014. ctoken = {}
  1015. params.position = {2.3,3.2,15.7}
  1016. ctoken = d3dbag.takeObject(params)
  1017. ctoken = {}
  1018. params.position = {7,3.2,2.5}
  1019. params.rotation = {0,90,0}
  1020. ctoken = d3dbag.takeObject(params)
  1021. ctoken = {}
  1022. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement