config.cpp 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. class CfgPatches
  2. {
  3. class 442_hallway
  4. {
  5. requiredAddons[]={};
  6. weapons[]={};
  7. units[]=
  8. {
  9. "442_floor",
  10. "442_roof",
  11. "442_roof_r",
  12. "442_wall",
  13. "442_wall_light",
  14. "442_wall_light_r",
  15. "442_segment",
  16. "442_segment_r",
  17. "442_door",
  18. "442_2way_rep",
  19. "442_2way_rep_r",
  20. "442_3way_rep",
  21. "442_3way_rep_r",
  22. "442_4way_rep",
  23. "442_5way_rep_r",
  24. "442_corner_rep",
  25. "442_corner_rep_r",
  26. "442_ramp_rep",
  27. "442_ramp_rep_r",
  28. "442_door_lock"
  29. };
  30. author="kripto202";
  31. };
  32. };
  33. class CfgVehicles
  34. {
  35. class House_F;
  36. class 442_floor: House_F
  37. {
  38. scope=2;
  39. scopecurator=2;
  40. author="kripto202";
  41. displayName="Floor";
  42. model="\442_structures\hallway\floor.p3d";
  43. editorcategory="kobra";
  44. editorsubcategory="442_hallway";
  45. vehicleClass="Structures";
  46. destrtype="DestructNo";
  47. hiddenselections[]=
  48. {
  49. "tile",
  50. "lower"
  51. };
  52. hiddenselectionstextures[]=
  53. {
  54. "442_structures\hallway\data\tile_co.paa",
  55. "442_structures\hallway\data\lower_co.paa"
  56. };
  57. };
  58. class 442_roof: 442_floor
  59. {
  60. displayName="Roof Light";
  61. model="\442_structures\hallway\rooflight.p3d";
  62. hiddenselections[]=
  63. {
  64. "roof",
  65. "light"
  66. };
  67. /* class MarkerLights
  68. {
  69. class Light_1
  70. {
  71. color[]={1,1,1};
  72. ambient[]={0.0099999998,0.0099999998,0.0099999998};
  73. intensity=10;
  74. name="Lightpos1";
  75. useFlare=0;
  76. flareSize=0;
  77. flareMaxDistance=0;
  78. activeLight=1;
  79. blinking=0;
  80. dayLight=0;
  81. drawLight=0;
  82. class Attenuation
  83. {
  84. start=0;
  85. constant=0;
  86. linear=1;
  87. quadratic=0;
  88. hardLimitStart=20;
  89. hardLimitEnd=5;
  90. };
  91. };
  92. class Light_2
  93. {
  94. color[]={1,1,1,0.1};
  95. ambient[]={0.0099999998,0.0099999998,0.0099999998};
  96. intensity=10;
  97. name="Lightpos2";
  98. useFlare=0;
  99. flareSize=0;
  100. flareMaxDistance=0;
  101. activeLight=1;
  102. blinking=0;
  103. dayLight=0;
  104. drawLight=0;
  105. class Attenuation
  106. {
  107. start=0;
  108. constant=0;
  109. linear=1;
  110. quadratic=0;
  111. hardLimitStart=20;
  112. hardLimitEnd=5;
  113. };
  114. };
  115. }; */
  116. hiddenselectionstextures[]=
  117. {
  118. "442_structures\hallway\data\roof_co.paa",
  119. "442_structures\hallway\data\light_co.paa"
  120. };
  121. };
  122. class 442_roof_r: 442_roof
  123. {
  124. displayName="Roof Light (Red)";
  125. /* class MarkerLights
  126. {
  127. class Light_1
  128. {
  129. color[]={1,0,0};
  130. ambient[]={0.0099999998,0,0};
  131. intensity=10;
  132. name="Lightpos1";
  133. useFlare=0;
  134. flareSize=0;
  135. flareMaxDistance=0;
  136. activeLight=1;
  137. blinking=0;
  138. dayLight=0;
  139. drawLight=0;
  140. class Attenuation
  141. {
  142. start=0;
  143. constant=0;
  144. linear=1;
  145. quadratic=0;
  146. hardLimitStart=20;
  147. hardLimitEnd=5;
  148. };
  149. };
  150. class Light_2
  151. {
  152. color[]={1,0,0,0.1};
  153. ambient[]={0.0099999998,0,0};
  154. intensity=10;
  155. name="Lightpos2";
  156. useFlare=0;
  157. flareSize=0;
  158. flareMaxDistance=0;
  159. activeLight=1;
  160. blinking=0;
  161. dayLight=0;
  162. drawLight=0;
  163. class Attenuation
  164. {
  165. start=0;
  166. constant=0;
  167. linear=1;
  168. quadratic=0;
  169. hardLimitStart=20;
  170. hardLimitEnd=5;
  171. };
  172. };
  173. }; */
  174. hiddenselectionstextures[]=
  175. {
  176. "442_structures\hallway\data\roof_co.paa",
  177. "442_structures\hallway\data\light_2_co.paa"
  178. };
  179. };
  180. class 442_wall: 442_floor
  181. {
  182. displayName="Wall";
  183. model="\442_structures\hallway\wall.p3d";
  184. hiddenselections[]=
  185. {
  186. "wall_2"
  187. };
  188. hiddenselectionstextures[]=
  189. {
  190. "442_structures\hallway\data\wall_2_co.paa"
  191. };
  192. };
  193. class 442_wall_light: 442_floor
  194. {
  195. displayName="Wall Light";
  196. model="\442_structures\hallway\walllight.p3d";
  197. /* class MarkerLights
  198. {
  199. class Light_1
  200. {
  201. color[]={1,1,1};
  202. ambient[]={0.0099999998,0.0099999998,0.0099999998};
  203. intensity=10;
  204. name="Lightpos";
  205. useFlare=0;
  206. flareSize=0;
  207. flareMaxDistance=0;
  208. activeLight=1;
  209. blinking=0;
  210. dayLight=0;
  211. drawLight=0;
  212. class Attenuation
  213. {
  214. start=0;
  215. constant=0;
  216. linear=1;
  217. quadratic=0;
  218. hardLimitStart=20;
  219. hardLimitEnd=5;
  220. };
  221. };
  222. }; */
  223. hiddenselections[]=
  224. {
  225. "wall",
  226. "light"
  227. };
  228. hiddenselectionstextures[]=
  229. {
  230. "442_structures\hallway\data\wall_co.paa",
  231. "442_structures\hallway\data\light_co.paa"
  232. };
  233. };
  234. class 442_wall_light_r: 442_wall_light
  235. {
  236. displayName="Wall Light (Red)";
  237. /* class MarkerLights
  238. {
  239. class Light_1
  240. {
  241. color[]={1,0,0,0.1};
  242. ambient[]={0.0099999998,0,0};
  243. intensity=10;
  244. name="Lightpos";
  245. useFlare=0;
  246. flareSize=0;
  247. flareMaxDistance=0;
  248. activeLight=1;
  249. blinking=0;
  250. dayLight=0;
  251. drawLight=0;
  252. class Attenuation
  253. {
  254. start=0;
  255. constant=0;
  256. linear=1;
  257. quadratic=0;
  258. hardLimitStart=20;
  259. hardLimitEnd=5;
  260. };
  261. };
  262. }; */
  263. hiddenselectionstextures[]=
  264. {
  265. "442_structures\hallway\data\wall_co.paa",
  266. "442_structures\hallway\data\light_2_co.paa"
  267. };
  268. };
  269. class 442_segment: 442_floor
  270. {
  271. displayName="Segment";
  272. model="\442_structures\hallway\segment.p3d";
  273. hiddenselections[]=
  274. {
  275. "segment",
  276. "light"
  277. };
  278. /* class MarkerLights
  279. {
  280. class Light_1
  281. {
  282. color[]={1,1,1,0.1};
  283. ambient[]={0.0099999998,0.0099999998,0.0099999998};
  284. intensity=10;
  285. name="Lightpos";
  286. useFlare=0;
  287. flareSize=0;
  288. flareMaxDistance=0;
  289. activeLight=1;
  290. blinking=0;
  291. dayLight=0;
  292. drawLight=0;
  293. class Attenuation
  294. {
  295. start=0;
  296. constant=0;
  297. linear=1;
  298. quadratic=0;
  299. hardLimitStart=20;
  300. hardLimitEnd=5;
  301. };
  302. };
  303. }; */
  304. hiddenselectionstextures[]=
  305. {
  306. "442_structures\hallway\data\segment_co.paa",
  307. "442_structures\hallway\data\light_co.paa"
  308. };
  309. };
  310. class 442_segment_r: 442_segment
  311. {
  312. displayName="Segment (Red)";
  313. /* class MarkerLights
  314. {
  315. class Light_1
  316. {
  317. color[]={1,0,0};
  318. ambient[]={0.0099999998,0,0};
  319. intensity=10;
  320. name="Lightpos";
  321. useFlare=0;
  322. flareSize=0;
  323. flareMaxDistance=0;
  324. activeLight=1;
  325. blinking=0;
  326. dayLight=0;
  327. drawLight=0;
  328. class Attenuation
  329. {
  330. start=0;
  331. constant=0;
  332. linear=1;
  333. quadratic=0;
  334. hardLimitStart=20;
  335. hardLimitEnd=5;
  336. };
  337. };
  338. }; */
  339. hiddenselectionstextures[]=
  340. {
  341. "442_structures\hallway\data\segment_co.paa",
  342. "442_structures\hallway\data\light_2_co.paa"
  343. };
  344. };
  345. class 442_door: 442_floor
  346. {
  347. displayname="Door";
  348. model="\442_structures\hallway\door.p3d";
  349. hiddenselections[]=
  350. {
  351. "door1",
  352. "door2",
  353. "frame"
  354. };
  355. hiddenselectionstextures[]=
  356. {
  357. "442_structures\hallway\data\doors_co.paa",
  358. "442_structures\hallway\data\doors_co.paa",
  359. "442_structures\hallway\data\frame_co.paa"
  360. };
  361. class animationsources
  362. {
  363. class door_open
  364. {
  365. source="user";
  366. animPeriod=5;
  367. initphase=0;
  368. };
  369. };
  370. animationlist[]=
  371. {
  372. "door_open",
  373. 0
  374. };
  375. class useractions
  376. {
  377. class door_open
  378. {
  379. displayname="Open Doors";
  380. position="door_pos";
  381. radius=5;
  382. onlyforplayer=0;
  383. priority=101;
  384. condition="this animationsourcephase ""door_open"" == 0";
  385. statement="this animatesource [""door_open"", 1];";
  386. };
  387. class door_close: door_open
  388. {
  389. displayname="Close Doors";
  390. condition="this animationsourcephase ""door_open"" == 1";
  391. statement="this animatesource [""door_open"", 0];";
  392. };
  393. };
  394. };
  395. class 442_door_lock: 442_door
  396. {
  397. displayname = "Door (Locked)";
  398. class useractions {};
  399. };
  400. class 442_2way_rep: 442_floor
  401. {
  402. displayName="2-way Hallway";
  403. model="\442_structures\hallway\2way.p3d";
  404. hiddenselections[]=
  405. {
  406. "tile",
  407. "lower",
  408. "roof",
  409. "segment",
  410. "wall",
  411. "wall_2",
  412. "light"
  413. };
  414. hiddenselectionstextures[]=
  415. {
  416. "442_structures\hallway\data\tile_co.paa",
  417. "442_structures\hallway\data\lower_co.paa",
  418. "442_structures\hallway\data\roof_co.paa",
  419. "442_structures\hallway\data\segment_co.paa",
  420. "442_structures\hallway\data\wall_co.paa",
  421. "442_structures\hallway\data\wall_2_co.paa",
  422. "442_structures\hallway\data\light_co.paa"
  423. };
  424. // class MarkerLights
  425. // {
  426. // class Light_1
  427. // {
  428. // color[]={1,1,1};
  429. // ambient[]={0.0099999998,0.0099999998,0.0099999998};
  430. // intensity=10;
  431. // name="Lightpos";
  432. // useFlare=0;
  433. // flareSize=0;
  434. // flareMaxDistance=0;
  435. // activeLight=1;
  436. // blinking=0;
  437. // dayLight=0;
  438. // drawLight=0;
  439. // class Attenuation
  440. // {
  441. // start=0;
  442. // constant=0;
  443. // linear=1;
  444. // quadratic=0;
  445. // hardLimitStart=20;
  446. // hardLimitEnd=5;
  447. // };
  448. // };
  449. // };
  450. };
  451. class 442_2way_rep_r: 442_2way_rep
  452. {
  453. displayName="2-way Hallway (Red)";
  454. hiddenselectionstextures[]=
  455. {
  456. "442_structures\hallway\data\tile_co.paa",
  457. "442_structures\hallway\data\lower_co.paa",
  458. "442_structures\hallway\data\roof_co.paa",
  459. "442_structures\hallway\data\segment_co.paa",
  460. "442_structures\hallway\data\wall_co.paa",
  461. "442_structures\hallway\data\wall_2_co.paa",
  462. "442_structures\hallway\data\light_2_co.paa"
  463. };
  464. /* class MarkerLights
  465. {
  466. class Light_1
  467. {
  468. color[]={1,0,0};
  469. ambient[]={0.0099999998,0,0};
  470. intensity=10;
  471. name="Lightpos";
  472. useFlare=0;
  473. flareSize=0;
  474. flareMaxDistance=0;
  475. activeLight=1;
  476. blinking=0;
  477. dayLight=0;
  478. drawLight=0;
  479. class Attenuation
  480. {
  481. start=0;
  482. constant=0;
  483. linear=1;
  484. quadratic=0;
  485. hardLimitStart=20;
  486. hardLimitEnd=5;
  487. };
  488. };
  489. }; */
  490. };
  491. class 442_3way_rep: 442_2way_rep
  492. {
  493. displayName="3-way Hallway";
  494. model="\442_structures\hallway\3way.p3d";
  495. hiddenselectionstextures[]=
  496. {
  497. "442_structures\hallway\data\tile_co.paa",
  498. "442_structures\hallway\data\lower_co.paa",
  499. "442_structures\hallway\data\roof_co.paa",
  500. "442_structures\hallway\data\segment_co.paa",
  501. "442_structures\hallway\data\wall_co.paa",
  502. "442_structures\hallway\data\wall_2_co.paa",
  503. "442_structures\hallway\data\light_co.paa"
  504. };
  505. };
  506. class 442_3way_rep_r: 442_3way_rep
  507. {
  508. displayName="3-way Hallway (Red)";
  509. hiddenselectionstextures[]=
  510. {
  511. "442_structures\hallway\data\tile_co.paa",
  512. "442_structures\hallway\data\lower_co.paa",
  513. "442_structures\hallway\data\roof_co.paa",
  514. "442_structures\hallway\data\segment_co.paa",
  515. "442_structures\hallway\data\wall_co.paa",
  516. "442_structures\hallway\data\wall_2_co.paa",
  517. "442_structures\hallway\data\light_2_co.paa"
  518. };
  519. /* class MarkerLights
  520. {
  521. class Light_1
  522. {
  523. color[]={1,0,0};
  524. ambient[]={0.0099999998,0,0};
  525. intensity=10;
  526. name="Lightpos";
  527. useFlare=0;
  528. flareSize=0;
  529. flareMaxDistance=0;
  530. activeLight=1;
  531. blinking=0;
  532. dayLight=0;
  533. drawLight=0;
  534. class Attenuation
  535. {
  536. start=0;
  537. constant=0;
  538. linear=1;
  539. quadratic=0;
  540. hardLimitStart=20;
  541. hardLimitEnd=5;
  542. };
  543. };
  544. }; */
  545. };
  546. class 442_4way_rep: 442_2way_rep
  547. {
  548. displayName="4-way Hallway";
  549. model="\442_structures\hallway\4way.p3d";
  550. hiddenselectionstextures[]=
  551. {
  552. "442_structures\hallway\data\tile_co.paa",
  553. "442_structures\hallway\data\lower_co.paa",
  554. "442_structures\hallway\data\roof_co.paa",
  555. "442_structures\hallway\data\segment_co.paa",
  556. "442_structures\hallway\data\wall_co.paa",
  557. "442_structures\hallway\data\wall_2_co.paa",
  558. "442_structures\hallway\data\light_co.paa"
  559. };
  560. };
  561. class 442_4way_rep_r: 442_4way_rep
  562. {
  563. displayName="4-way Hallway (Red)";
  564. hiddenselectionstextures[]=
  565. {
  566. "442_structures\hallway\data\tile_co.paa",
  567. "442_structures\hallway\data\lower_co.paa",
  568. "442_structures\hallway\data\roof_co.paa",
  569. "442_structures\hallway\data\segment_co.paa",
  570. "442_structures\hallway\data\wall_1_co.paa",
  571. "442_structures\hallway\data\wall_2_co.paa",
  572. "442_structures\hallway\data\light_2_co.paa"
  573. };
  574. /* class MarkerLights
  575. {
  576. class Light_1
  577. {
  578. color[]={1,0,0};
  579. ambient[]={0.0099999998,0,0};
  580. intensity=10;
  581. name="Lightpos";
  582. useFlare=0;
  583. flareSize=0;
  584. flareMaxDistance=0;
  585. activeLight=1;
  586. blinking=0;
  587. dayLight=0;
  588. drawLight=0;
  589. class Attenuation
  590. {
  591. start=0;
  592. constant=0;
  593. linear=1;
  594. quadratic=0;
  595. hardLimitStart=20;
  596. hardLimitEnd=5;
  597. };
  598. };
  599. }; */
  600. };
  601. class 442_corner_rep: 442_2way_rep
  602. {
  603. displayName="Corner Hallway";
  604. model="\442_structures\hallway\corner.p3d";
  605. hiddenselectionstextures[]=
  606. {
  607. "442_structures\hallway\data\tile_co.paa",
  608. "442_structures\hallway\data\lower_co.paa",
  609. "442_structures\hallway\data\roof_co.paa",
  610. "442_structures\hallway\data\segment_co.paa",
  611. "442_structures\hallway\data\wall_co.paa",
  612. "442_structures\hallway\data\wall_2_co.paa",
  613. "442_structures\hallway\data\light_co.paa"
  614. };
  615. };
  616. class 442_corner_rep_r: 442_corner_rep
  617. {
  618. displayName="Corner Hallway (Red)";
  619. hiddenselectionstextures[]=
  620. {
  621. "442_structures\hallway\data\tile_co.paa",
  622. "442_structures\hallway\data\lower_co.paa",
  623. "442_structures\hallway\data\roof_co.paa",
  624. "442_structures\hallway\data\segment_co.paa",
  625. "442_structures\hallway\data\wall_co.paa",
  626. "442_structures\hallway\data\wall_2_co.paa",
  627. "442_structures\hallway\data\light_2_co.paa"
  628. };
  629. /* class MarkerLights
  630. {
  631. class Light_1
  632. {
  633. color[]={1,0,0};
  634. ambient[]={0.0099999998,0,0};
  635. intensity=10;
  636. name="Lightpos";
  637. useFlare=0;
  638. flareSize=0;
  639. flareMaxDistance=0;
  640. activeLight=1;
  641. blinking=0;
  642. dayLight=0;
  643. drawLight=0;
  644. class Attenuation
  645. {
  646. start=0;
  647. constant=0;
  648. linear=1;
  649. quadratic=0;
  650. hardLimitStart=20;
  651. hardLimitEnd=5;
  652. };
  653. };
  654. }; */
  655. };
  656. class 442_ramp_rep: 442_floor
  657. {
  658. displayname = "Ramp";
  659. model = "442_structures\hallway\ramp.p3d";
  660. hiddenselections[] =
  661. {
  662. "ramp",
  663. "segment",
  664. "light"
  665. };
  666. hiddenselectionstextures[] =
  667. {
  668. "442_structures\hallway\data\ramp_co.paa",
  669. "442_structures\hallway\data\segment_co.paa",
  670. "442_structures\hallway\data\light_co.paa"
  671. };
  672. };
  673. class 442_ramp_rep_r: 442_ramp_rep
  674. {
  675. displayname = "Ramp (Red)";
  676. hiddenselectionstextures[] =
  677. {
  678. "442_structures\hallway\data\ramp_co.paa",
  679. "442_structures\hallway\data\segment_co.paa",
  680. "442_structures\hallway\data\light_2_co.paa"
  681. };
  682. };
  683. };