====== ArmA 2 To ArmA 3 Port Vehicle - Tank ======
[[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]]
**Howto port ArmA 2 Vehicle into ArmA 3**
Animations are necessary to get in/out of the vehicle.
Unpack tracked.pbo from your ArmA 2 and copy the following files from the data\anim\ directory:
KIA_Abrams_Driver.rtm
KIA_Abrams_Gunner.rtm
KIA_Abrams_Commander.rtm
KIA_Abrams_CommanderOut.rtm
KIA_Abrams_DriverOut.rtm
KIA_Abrams_GunnerOut.rtm
Abrams_Commander.rtm
Abrams_CommanderOut.rtm
Abrams_Gunner.rtm
Abrams_GunnerOut.rtm
Abrams_DriverOut.rtm
Abrams_Driver.rtm
Config.cpp:
class KIA_Abrams_Commander : DefaultDie
{
actions = "DeadActions";
file = "\ADDON\anims\KIA_Abrams_Commander.rtm";
terminal = 1;
soundEnabled = 0;
connectTo[] = {"DeadState", 0.1};
speed = 0.5;
looped = 0;
};
class Abrams_Commander : Crew
{
file = "\ADDON\anims\Abrams_Commander.rtm";
interpolateTo[] = {"KIA_Abrams_Commander", 1};
};
class Abrams_CommanderOut : Abrams_Commander
{
file = "\ADDON\anims\Abrams_CommanderOut.rtm";
interpolateTo[] = {"KIA_Abrams_Commander", 1};
};
class KIA_Abrams_Driver : DefaultDie
{
actions = "DeadActions";
file = "\ADDON\anims\KIA_Abrams_Driver.rtm";
speed = 0.5;
looped = 0;
terminal = 1;
soundEnabled = 0;
connectTo[] = {"DeadState", 0.1};
};
class Abrams_Driver : Crew
{
file = "\ADDON\anims\Abrams_Driver.rtm";
interpolateTo[] = {"KIA_Abrams_Driver", 1};
};
class Abrams_DriverOut : Abrams_Driver
{
file = "\ADDON\anims\Abrams_DriverOut.rtm";
interpolateTo[] = {"KIA_Abrams_Driver", 1};
};
class KIA_Abrams_Gunner : DefaultDie
{
actions = "DeadActions";
file = "\ADDON2\anims\KIA_Abrams_Commander.rtm";
speed = 0.5;
looped = 0;
terminal = 1;
soundEnabled = 0;
connectTo[] = {"DeadState", 0.1};
};
class Abrams_Gunner : Crew
{
file = "\ADDON2\anims\Abrams_Commander.rtm";
interpolateTo[] = {"KIA_Abrams_Gunner", 1};
};
Replace each driverOpticsModel = "\ca\Tracked\optika_tank_driver"; with the following:
driverOpticsModel = "\a3\armor_f\driverOptics";
Replace each gunnerOpticsModel = "\ca\Tracked\optika_tank_gunner"; with the following:
gunnerOpticsModel = "\a3\armor_f\2D_scope_strider_commander";
Replace each gunnerOpticsModel = "\ca\Tracked\optika_tank_driver"; with the following:
gunnerOpticsModel = "\a3\armor_f\2D_scope_crows";
Replace each gunnerOutOpticsModel = "\ca\Weapons\optika_empty"; with the following:
gunnerOutOpticsModel = "\A3\weapons_f\reticle\optics_empty";
Replace each cursor = "\ca\Weapons\Data\w_weapon_mg"; with the following:
cursor = "mg";
Replace each cursorAim = "\ca\Weapons\Data\w_weapon_mg"; with the folloowing:
cursorAim = "mg";