1
0

config.cpp 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. //Get this addons macro
  2. //get the macro for the air macro_patch_name(vehicles)
  3. //get generlized macros
  4. #include "../../../RD501_main/config_macros.hpp"
  5. //General name of the vehicle
  6. #define vehicle_addon posters
  7. #define patch_name MODNAME##vehicle_addon##_Patches
  8. #define vehicle_classname MODNAME##_##vehicle_addon
  9. #define new_poster_class(name) vehicle_classname##_##name
  10. #define new_poster_item(CLASSNAME,displayText,TEXTURE)\
  11. class macro_new_vehicle(poster,CLASSNAME): macro_new_vehicle(poster,base)\
  12. {\
  13. scope=2;\
  14. displayName = Poster - ##displayText;\
  15. hiddenSelectionsTextures[] = {\
  16. macro_vehicle_textures##\posters\TEXTURE\
  17. };\
  18. };
  19. class CfgPatches
  20. {
  21. class macro_patch_name(posters)
  22. {
  23. addonRootClass=macro_patch_name(vehicles)
  24. requiredAddons[]=
  25. {
  26. macro_patch_name(vehicles)
  27. };
  28. requiredVersion=0.1;
  29. units[]=
  30. {
  31. macro_new_vehicle(poster,for_the_republic),
  32. macro_new_vehicle(poster,droid_fight_for_you),
  33. macro_new_vehicle(poster,b2_fight_for_you),
  34. macro_new_vehicle(poster,sbw),
  35. macro_new_vehicle(poster,sin),
  36. macro_new_vehicle(poster,501stposter),
  37. macro_new_vehicle(poster,wantedboba),
  38. macro_new_vehicle(poster,crebelterror),
  39. macro_new_vehicle(poster,senator_2000),
  40. macro_new_vehicle(poster,E_throughvictory),
  41. macro_new_vehicle(poster,keep_em_flying),
  42. macro_new_vehicle(poster,strike_back),
  43. macro_new_vehicle(poster,ithermaldet),
  44. macro_new_vehicle(poster,join_the_rebel_forces),
  45. macro_new_vehicle(poster,see_the_galaxy),
  46. macro_new_vehicle(poster,b1_prop),
  47. macro_new_vehicle(poster,R_join),
  48. macro_new_vehicle(poster,R_standagainsttranny),
  49. macro_new_vehicle(poster,Remember_Alderaan_poster),
  50. macro_new_vehicle(poster,resisttheempire),
  51. macro_new_vehicle(poster,reb_need_you),
  52. macro_new_vehicle(poster,enlist_leia),
  53. macro_new_vehicle(poster,rebel_no_want_peace),
  54. macro_new_vehicle(poster,inquisitor),
  55. macro_new_vehicle(poster,imp_navy),
  56. macro_new_vehicle(poster,manda_you),
  57. macro_new_vehicle(poster,reb_terr),
  58. };
  59. weapons[]=
  60. {
  61. };
  62. };
  63. };
  64. //
  65. class CBA_Extended_EventHandlers_base;
  66. class CfgVehicles
  67. {
  68. class UserTexture_1x2_F;
  69. class macro_new_vehicle(poster,base): UserTexture_1x2_F
  70. {
  71. author = "RD501";
  72. editorPreview = "\A3\EditorPreviews_F\Data\CfgVehicles\UserTexture_1x2_F.jpg";
  73. _generalMacro = "UserTexture_1x2_F";
  74. scope = 0;
  75. //displayName = "Poster- For the Republic";
  76. model = "\A3\Structures_F_Bootcamp\System\UserTexture_1x2_F.p3d";
  77. icon = "iconObject_10x1";
  78. editorCategory = macro_editor_cat(statics)
  79. editorSubcategory = macro_editor_cat(posters)
  80. vehicleClass = "Helpers";
  81. destrType = "DestructNo";
  82. hiddenSelections[] = {"UserTexture"};
  83. class EventHandlers {
  84. class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base {};
  85. };
  86. };
  87. new_poster_item(for_the_republic,For The Republic!,for_the_repub.jpg)
  88. new_poster_item(droid_fight_for_you,Droid Fights For You!,droidfi4.jpg)
  89. new_poster_item(b2_fight_for_you,B2 Fights For You!,b2_fights_for_you.jpg)
  90. new_poster_item(sbw,Support Boys in White,SBW.jpg)
  91. new_poster_item(sin,Strength in Numbers,sin.jpg)
  92. new_poster_item(501stposter,501st Bringing Order,bring_order_501st.jpg)
  93. new_poster_item(wantedboba,Wanted Boba,wantedboba.jpg)
  94. new_poster_item(crebelterror,Rebel Terror,crebelterror.jpg)
  95. new_poster_item(senator_2000,2000 senators,senator_2000.jpg)
  96. new_poster_item(E_throughvictory,Through Victory Peace ,E_throughvictory.jpg)
  97. new_poster_item(keep_em_flying,Keep Them Flying,keep_em_flying.jpg)
  98. new_poster_item(strike_back,Strike Back,strike_back.jpg)
  99. new_poster_item(ithermaldet,Therm Det Diplomacy,ithermaldet.jpg)
  100. new_poster_item(join_the_rebel_forces,Join Rebels Save Galaxy,join_the_rebel_forces_by_cunaka.jpg)
  101. new_poster_item(see_the_galaxy,See The Galaxy,see_the_galaxy.jpg)
  102. new_poster_item(b1_prop,B1 Propaganda,b1_prop.jpg)
  103. new_poster_item(R_join,Join The Rebel Alliance Galen,R_join.jpg)
  104. new_poster_item(R_standagainsttranny,Against Tyranny,R_standagainsttranny.jpg)
  105. new_poster_item(Remember_Alderaan_poster,Never Forgot Alderaan,Remember_Alderaan_poster.jpg)
  106. new_poster_item(resisttheempire,Resist The Empire,resisttheempire.jpg)
  107. new_poster_item(reb_need_you,Rebels need you,reb_need_you.jpg)
  108. new_poster_item(enlist_leia,Enlist Sexy Leia,enlist_leia.jpg)
  109. new_poster_item(rebel_no_want_peace,Do you think rebels want peace ?,rebel_no_want_peace.jpg)
  110. new_poster_item(inquisitor,Do you think rebels want peace ?,inquisitor.jpg)
  111. new_poster_item(imp_navy,The Imperial Navy,imp_navy.jpg)
  112. new_poster_item(manda_you,Mandalor wants you,manda_you.jpg)
  113. new_poster_item(reb_terr,Rebel Terrorists,reb_terr.jpg)
  114. new_poster_item(battle_1,Dank ass battle #1,battle_1.jpg)
  115. };