Advertisement
Spookygnu

model config fixed

Sep 2nd, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. // Configuration file for fallujah buildings, objects and etc
  2.  
  3. #include "BIS_AddonInfo.hpp"
  4. #include "basicdefines_A3.hpp"
  5. #include "cfgPatches.hpp"
  6.  
  7.  
  8. class cfgVehicleClasses
  9. {
  10. class BGZ_Models
  11. {
  12. displayName = "BGZ Models";
  13. };
  14. };
  15. class CfgEditorCategories
  16. {
  17. class BGZModels
  18. {
  19. displayname = "BGZ Models";
  20. };
  21. };
  22. class CfgEditorSubcategories
  23. {
  24. class BGZBuildings
  25. {
  26. displayName = "BGZ Buildings";
  27. };
  28. };
  29.  
  30. class CfgDestroy
  31. {
  32. class BuildingHit
  33. {
  34. sound[] = {};
  35. };
  36. };
  37. class CfgVehicles
  38. {
  39.  
  40. class House; // declare House from ArmA 3
  41. class House_F : House // declare and define House_F, and make it inheret House
  42. {
  43. class DestructionEffects;
  44. };
  45.  
  46. class Ruins_F;
  47.  
  48. class spkg_wall1 : House_F
  49. {
  50.  
  51. scope = 2;
  52. cost = 40;
  53. vehicleClass = BGZ_Models;
  54. editorCatergory = BGZModels;
  55. editorSubCategory = BGZBuildings;
  56. model = "spooks\benghazi_models\wall_broken_quarter.p3d";
  57. displayName = "broken_wall_quarter";
  58. displayNameShort = "Wall";
  59.  
  60. };
  61.  
  62. class spkg_house_wip1 : House_F
  63. {
  64. scope = 2;
  65. cost = 40;
  66. vehicleClass = BGZ_Models;
  67. editorCatergory = BGZModels;
  68. editorSubCategory = BGZBuildings;
  69. model = "spooks\benghazi_models\house_wip1.p3d";
  70. displayName = "House_WIP1";
  71. displayNameShort = "house_WIP1";
  72. class DestructionEffects: DestructionEffects
  73. {
  74. class Ruin1
  75. {
  76. simulation = "ruin";
  77. type = "\a3\structures_f\households\house_small01\House_Small_01_V1_ruins_F";
  78. position = "";
  79. intensity = 1;
  80. interval = 1;
  81. lifeTime = 1;
  82. };
  83. };
  84. };
  85. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement