Skip to content

Commit

Permalink
IFA logistics
Browse files Browse the repository at this point in the history
  • Loading branch information
ante185 committed Mar 10, 2024
1 parent 52a180f commit 7fe9399
Show file tree
Hide file tree
Showing 3 changed files with 258 additions and 0 deletions.
120 changes: 120 additions & 0 deletions A3A/addons/logistics/Cargo/IFA.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
//Mortars
class WW2_Assets_m_Weapons_Mortars_m_WW2_M2_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,1};
rotation[] = {0,0,0};
size = 2;
recoil = 2500;
isWeapon = 1;
};
class WW2_Assets_m_Weapons_Mortars_m_IF_Bm37_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,1};
rotation[] = {0,0,0};
size = 3;
recoil = 3500;
isWeapon = 1;
};
class WW2_Assets_m_Weapons_Mortars_m_IF_GrWr34_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,1};
rotation[] = {0,0,0};
size = 3;
recoil = 3500;
isWeapon = 1;
};
//Crates & Misc
class WW2_Assets_m_Weapons_Ammoboxes_m_WW2_Cle_Container_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {90,0,0};
size = 2;
recoil = 0;
};
class WW2_Assets_m_Weapons_Ammoboxes_m_IF_GER_Weapons_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {0,0,0};
size = 1;
recoil = 0;
};
class WW2_Assets_m_Weapons_Ammoboxes_m_IF_SU_Ammo_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {0,0,0};
size = 1;
recoil = 0;
};
class WW2_Assets_m_Weapons_Ammoboxes_m_IF_Ammobox_Lone_Big_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0.21};
rotation[] = {0,0,0};
size = 1;
recoil = 0;
};
class WW2_Assets_m_Weapons_Ammoboxes_m_IF_SU_Weapons_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {0,0,0};
size = 1;
recoil = 0;
};
class WW2_Assets_m_Weapons_Ammoboxes_m_IF_GER_Weapons_Big_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0.5,0};
rotation[] = {0,0,0};
size = 2;
recoil = 0;
};
class WW2_Assets_m_Weapons_Ammoboxes_m_IF_SU_Weapons_Big_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0.3,0,0};
rotation[] = {0,0,0};
size = 2;
recoil = 0;
};


class WW2_Assets_m_Vehicles_StaticWeapons_m_IF_Searchlight_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {0,0,0};
size = 2;
recoil = 0;
isWeapon = 1;
};
//MGs
class WW2_Assets_m_Vehicles_StaticWeapons_m_WW2_MG34_lafette_high_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0.35,0};
rotation[] = {0,0,0};
size = 2;
recoil = 1000;
isWeapon = 1;
};
class WW2_Assets_m_Vehicles_StaticWeapons_m_IF_MG42_Lafette_High_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0.35,0};
rotation[] = {0,0,0};
size = 2;
recoil = 1000;
isWeapon = 1;
};

//AA guns
class WW2_Assets_m_Vehicles_StaticWeapons_m_IF_FlaK_38_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {0,0,0};
size = 3;
recoil = 1500;
isWeapon = 1;
};
class WW2_Assets_m_Vehicles_StaticWeapons_m_IF_Flakvierling_38_p3d : TRIPLES(ADDON,Cargo,Base)
{
offset[] = {0,0,0};
rotation[] = {0,0,0};
size = 3;
recoil = 1000;
isWeapon = 1;
};
2 changes: 2 additions & 0 deletions A3A/addons/logistics/CfgLogistics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class DOUBLES(ADDON,Nodes)
#include "Nodes\CUP.hpp"
#include "Nodes\D3S.hpp"
#include "Nodes\GM.hpp"
#include "Nodes\IFA.hpp"
#include "Nodes\RDS.hpp"
#include "Nodes\RHS.hpp"
#include "Nodes\RNT.hpp"
Expand Down Expand Up @@ -39,6 +40,7 @@ class DOUBLES(ADDON,Cargo)
#include "Cargo\BWA3.hpp"
#include "Cargo\CUP.hpp"
#include "Cargo\GM.hpp"
#include "Cargo\IFA.hpp"
#include "Cargo\RHS.hpp"
#include "Cargo\SPE.hpp"
#include "Cargo\UNS.hpp"
Expand Down
136 changes: 136 additions & 0 deletions A3A/addons/logistics/Nodes/IFA.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
class WW2_Assets_m_Vehicles_Cars_m_IF_Willys_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {-0.325,-0.9,-0.35};
};
};
};

class WW2_Assets_m_Vehicles_Trucks_m_IF_Opelblitz_Tent_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {0,-0.4,-0.05};
};
class Node2
{
offset[] = {0,-1.2,-0.05};
};
class Node3
{
offset[] = {0,-2,-0.05};
};
};
};

class WW2_Assets_m_Vehicles_Trucks_m_IF_Opelblitz_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {0,-0.4,-0.05};
};
class Node2
{
offset[] = {0,-1.2,-0.05};
};
class Node3
{
offset[] = {0,-2,-0.05};
};
};
};

class WW2_Assets_m_Vehicles_WheeledAPC_m_IF_SdKfz_7_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {0,-0.5,-0.75};
};
class Node2
{
offset[] = {0,-1.3,-0.75};
};
class Node3
{
offset[] = {0,-2.1,-0.75};
};
class Node4
{
offset[] = {0,-2.9,-0.75};
};
};
};

class WW2_Assets_m_Vehicles_Trucks_m_IF_Us6_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {0,-0.4,0.2};
};
class Node2
{
offset[] = {0,-1.2,0.2};
};
class Node3
{
offset[] = {0,-2,0.2};
};
class Node4
{
offset[] = {0,-2.8,0.2};
};
};
};

class WW2_Assets_m_Vehicles_Trucks_m_IF_Gmc353Truck_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {0,-0.4,-0.6};
};
class Node2
{
offset[] = {0,-1.2,-0.6};
};
class Node3
{
offset[] = {0,-2,-0.6};
};
class Node4
{
offset[] = {0,-2.8,-0.6};
};
};
};

class WW2_Assets_m_Vehicles_Trucks_m_IF_Zis5v_p3d : TRIPLES(ADDON,Nodes,Base)
{
class Nodes
{
class Node1
{
offset[] = {0,-0.15,-0.4};
};
class Node2
{
offset[] = {0,-0.95,-0.4};
};
class Node3
{
offset[] = {0,-1.75,-0.4};
};
};
};

0 comments on commit 7fe9399

Please sign in to comment.