ACE3/addons/compat_cup_vehicles/CfgVehicles.hpp
Mike-MF 5111062e6d
Add CUP Vehicles Compatibility (#9602)
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-02-28 16:50:07 +01:00

153 lines
5.1 KiB
C++

class CfgVehicles {
class CUP_MTVR_Base;
class CUP_MTVR_Reammo_Base: CUP_MTVR_Base {
EGVAR(rearm,defaultSupply) = 1200;
};
class CUP_V3S_Open_Base;
class CUP_V3S_Rearm_Base: CUP_V3S_Open_Base {
EGVAR(rearm,defaultSupply) = 1200;
};
class CUP_Kamaz_5350_Base;
class CUP_Kamaz_5350_ReAmmo_Base: CUP_Kamaz_5350_Base {
EGVAR(rearm,defaultSupply) = 1200;
};
class CUP_T810_Unarmed_Base;
class CUP_T810_Reammo_Base: CUP_T810_Unarmed_Base {
EGVAR(rearm,defaultSupply) = 1200;
};
class Wheeled_APC_F;
class CUP_BTR80_Common_Base: Wheeled_APC_F {
class ace_viewports {
class view_0 {
camLocation[] = {0.734863, 0.143927, -0.291199};
camAttach = 45;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_1 {
camLocation[] = {0.950684, -0.00122738, -0.344391};
camAttach = 90;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_2 {
camLocation[] = {0.932129, -0.729811, -0.319};
camAttach = 90;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_3 {
camLocation[] = {-0.963379, -0.749183, -0.351501};
camAttach = -90;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_4 {
camLocation[] = {-0.973145, 0.0148516, -0.364868};
camAttach = -90;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_5 {
camLocation[] = {-0.73584, 0.119176, -0.291229};
camAttach = -45;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
};
};
class CUP_BTR90_Base: Wheeled_APC_F {
class ace_viewports {
class view_0 {
camLocation[] = {0.533417, 2.4613, -0.309951};
camAttach = 0;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_1 {
camLocation[] = {0.877106, 2.38684, -0.306068};
camAttach = 30;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_2 {
camLocation[] = {1.04312, 0.0909424, -0.281996};
camAttach = 60;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_3 {
type = "";
camLocation[] = {1.03799, -0.928223, -0.282196};
camAttach = 80;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_4 {
type = "";
camLocation[] = {-0.90097, -0.913086, -0.282192};
camAttach = -80;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
class view_5 {
type = "";
camLocation[] = {-0.939301, 0.109985, -0.281992};
camAttach = -60;
compartments[]={"Compartment1"};
roles[]={"cargo"};
};
};
};
class CUP_BTR90_HQ_Base: CUP_BTR90_Base { delete ace_viewports; }; // no cargo seats
class Tank_F;
class CUP_M2Bradley_Base: Tank_F {
ace_hunterkiller = 1;
class ace_viewports {
class view_0 {
camLocation[] = {0.987915, -0.324707, -0.0673385};
camAttach = 70;
roles[]={"cargo"};
};
class view_1 {
camLocation[] = {0.90979, -0.970215, -0.043139};
camAttach = 120;
roles[]={"cargo"};
};
class view_2 {
camLocation[] = {0.328003, -1.87402, -0.0408039};
camAttach = 160;
roles[]={"cargo"};
};
class view_3 {
camLocation[] = {-0.357178, -1.89063, -0.0480237};
camAttach = 175;
roles[]={"cargo"};
};
class view_4 {
camLocation[] = {-0.752075, -1.87061, -0.0522318};
camAttach = 190;
roles[]={"cargo"};
};
class view_5 {
camLocation[] = {-0.936401, -0.0942383, -0.107764};
camAttach = -75;
roles[]={"cargo"};
};
class SLD { // suppose to only be only on A3, but the A2s have the screen on the model?
screenLocation[] = {0.729126,-0.191597,-0.573349};
maxDistance = 5;
type = "screen";
camLocation[] = {0,0,0.05};
camAttach[] = {0,0};
roles[]={"cargo"};
};
};
};
};