SHARE
TWEET

Untitled

LuckySpoon Sep 17th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vv------- It gives us this ------vv
  2. class 506th_OBS_EG_2S3M1 : rhs_2s3_tv_OCimport_02 {
  3.     author = "506th S-4 Mod Team";
  4.     scope = 2;
  5.     scopeCurator = 2;
  6.     displayName = "2S3M1";
  7.     side = 2;
  8.     faction = "506th_OBS_EG";
  9.     crew = "506th_OBS_EG_Crewman";
  10.  
  11.     class Turrets : Turrets {
  12.         class MainTurret : MainTurret {
  13.             gunnerType = "506th_OBS_EG_Crewman";
  14.         };
  15.     };
  16.  
  17.     class EventHandlers : EventHandlers {
  18.         class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};
  19.  
  20.         class ALiVE_orbatCreator {
  21.             init = "if (local (_this select 0)) then {_onSpawn = {sleep 0.3; _unit = _this select 0;_unit setObjectTextureGlobal [0,'rhsafrf\addons\rhs_2s3_camo\data\rhs_2s3_01_des_co.paa'];_unit setObjectTextureGlobal [1,'rhsafrf\addons\rhs_2s3_camo\data\rhs_2s3_02_des_co.paa'];_unit setObjectTextureGlobal [2,'rhsafrf\addons\rhs_2s3_camo\data\rhs_art_wheels_des_co.paa'];};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
  22.         };
  23.  
  24.     };
  25.  
  26.     // custom attributes (do not delete)
  27.     ALiVE_orbatCreator_owned = 1;
  28.     ALiVE_orbatCreator_texture = "rhs_sand";
  29.  
  30. };
  31.  
  32. vv ------- Which we need to change to this ------- vv
  33. class 506th_OBS_EG_2S3M1 : rhs_2s3_tv_OCimport_03 {
  34.     author = "506th S-4 Mod Team";
  35.     scope = 2;
  36.     scopeCurator = 2;
  37.     displayName = "2S3M1";
  38.     side = 2;
  39.     faction = "506th_OBS_EG";
  40.     crew = "506th_OBS_EG_Crewman";
  41.  
  42.     class Turrets : Turrets {
  43.         class MainTurret : MainTurret {
  44.             gunnerType = "506th_OBS_EG_Crewman";
  45.             class Turrets : Turrets {
  46.                 class CommanderOptics : CommanderOptics {
  47.                     gunnerType = "506th_OBS_EG_Crewman";
  48.                 }
  49.             };
  50.         };
  51.     };
  52.  
  53.     class EventHandlers : EventHandlers {
  54.         class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};
  55.  
  56.         class ALiVE_orbatCreator {
  57.             init = "if (local (_this select 0)) then {_onSpawn = {sleep 0.3; _unit = _this select 0;_unit setObjectTextureGlobal [0,'rhsafrf\addons\rhs_2s3_camo\data\rhs_2s3_01_des_co.paa'];_unit setObjectTextureGlobal [1,'rhsafrf\addons\rhs_2s3_camo\data\rhs_2s3_02_des_co.paa'];_unit setObjectTextureGlobal [2,'rhsafrf\addons\rhs_2s3_camo\data\rhs_art_wheels_des_co.paa'];};_this spawn _onSpawn;(_this select 0) addMPEventHandler ['MPRespawn', _onSpawn];};";
  58.         };
  59.  
  60.     };
  61.  
  62.     // custom attributes (do not delete)
  63.     ALiVE_orbatCreator_owned = 1;
  64.     ALiVE_orbatCreator_texture = "rhs_sand";
  65.  
  66. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top