model.cfg 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. class CfgSkeletons {
  2. class Default {
  3. skeletonInherit = "";
  4. skeletonBones[] = {};
  5. isDiscrete = 1;
  6. };
  7. class door_skeleton: Default
  8. {
  9. skeletonbones[] =
  10. {
  11. "door1", "frame",
  12. "door2", "frame",
  13. "frame", ""
  14. };
  15. };
  16. };
  17. class CfgModels {
  18. class Default
  19. {
  20. sectionsInherit = "";
  21. sections[] = {};
  22. skeletonName = "";
  23. };
  24. class floor: Default {
  25. skeletonName= "Default";
  26. sectionsInherit="";
  27. sections[]=
  28. {
  29. "floor",
  30. "tile"
  31. };
  32. class Animations{};
  33. };
  34. class rooflight: Default {
  35. skeletonName= "Default";
  36. sectionsInherit="";
  37. sections[]=
  38. {
  39. "roof",
  40. "light"
  41. };
  42. class Animations{};
  43. };
  44. class segment: Default {
  45. skeletonName= "Default";
  46. sectionsInherit="";
  47. sections[]=
  48. {
  49. "segment",
  50. "light"
  51. };
  52. class Animations{};
  53. };
  54. class wall: Default {
  55. skeletonName= "Default";
  56. sectionsInherit="";
  57. sections[]=
  58. {"wall_2"};
  59. class Animations{};
  60. };
  61. class walllight: Default {
  62. skeletonName= "Default";
  63. sectionsInherit="";
  64. sections[]=
  65. {
  66. "wall",
  67. "light"
  68. };
  69. class Animations{};
  70. };
  71. class 2way: Default {
  72. skeletonName= "Default";
  73. sectionsInherit="";
  74. sections[]=
  75. {
  76. "floor",
  77. "tile",
  78. "roof",
  79. "segment",
  80. "wall",
  81. "wall_2",
  82. "light"
  83. };
  84. class Animations{};
  85. };
  86. class 2way_door: Default
  87. {
  88. skeletonName= "door_skeleton";
  89. sectionsInherit="";
  90. sections[] =
  91. {
  92. "floor",
  93. "tile",
  94. "roof",
  95. "segment",
  96. "wall",
  97. "wall_2",
  98. "light",
  99. "door1",
  100. "door2",
  101. "frame"
  102. };
  103. class animations
  104. {
  105. class open_door_l
  106. {
  107. type = "translation";
  108. source = "door_open";
  109. sourceaddress = "clamp";
  110. selection = "door1";
  111. axis = "door1_axis";
  112. memory = 1;
  113. minvalue = 0;
  114. maxvalue = 1;
  115. offset0 = 0;
  116. offset1 = 1;
  117. };
  118. class open_door_r: open_door_l
  119. {
  120. selection = "door2";
  121. axis = "door2_axis";
  122. minvalue = 0;
  123. maxvalue = 1;
  124. offset0 = 0;
  125. offset1 = 1;
  126. };
  127. };
  128. };
  129. class 3way: Default {
  130. skeletonName= "Default";
  131. sectionsInherit="";
  132. sections[]=
  133. {
  134. "floor",
  135. "tile",
  136. "roof",
  137. "segment",
  138. "wall",
  139. "wall_2",
  140. "light"
  141. };
  142. class Animations{};
  143. };
  144. class 4way: Default {
  145. skeletonName= "Default";
  146. sectionsInherit="";
  147. sections[]=
  148. {
  149. "floor",
  150. "tile",
  151. "roof",
  152. "segment",
  153. "light"
  154. };
  155. class Animations{};
  156. };
  157. class corner: Default {
  158. skeletonName= "Default";
  159. sectionsInherit="";
  160. sections[]=
  161. {
  162. "floor",
  163. "tile",
  164. "roof",
  165. "segment",
  166. "wall",
  167. "wall_2",
  168. "light"
  169. };
  170. class Animations{};
  171. };
  172. class door: Default {
  173. skeletonname = "door_skeleton";
  174. sectionsInherit="";
  175. sections[] =
  176. {
  177. "door1",
  178. "door2",
  179. "frame"
  180. };
  181. class animations
  182. {
  183. class open_door_l
  184. {
  185. type = "translation";
  186. source = "door_open";
  187. sourceaddress = "clamp";
  188. selection = "door1";
  189. axis = "door1_axis";
  190. memory = 1;
  191. minvalue = 0;
  192. maxvalue = 1;
  193. offset0 = 0;
  194. offset1 = 1;
  195. };
  196. class open_door_r: open_door_l
  197. {
  198. selection = "door2";
  199. axis = "door2_axis";
  200. minvalue = 0;
  201. maxvalue = 1;
  202. offset0 = 0;
  203. offset1 = 1;
  204. };
  205. };
  206. };
  207. class ramp: Default
  208. {
  209. skeleton = "Default";
  210. sections[] =
  211. {
  212. "light",
  213. "ramp",
  214. "segment"
  215. };
  216. };
  217. };