mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Initial draft of the ACE2 tracer config compat pbo
This commit is contained in:
parent
e4766edfbf
commit
f40e471fb9
@ -1,44 +0,0 @@
|
||||
class CfgSkeletons {
|
||||
class Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class ACE_Tracer_Skeleton : Default {};
|
||||
class ACE_Tracer_Skeleton_Default: ACE_Tracer_Skeleton { // BWC
|
||||
skeletonInherit = "ACE_Tracer_Skeleton";
|
||||
skeletonBones[]= {
|
||||
"core","",
|
||||
"halo","",
|
||||
"tracer",""
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels {
|
||||
class Default {
|
||||
sectionsInherit="";
|
||||
sections[] = {};
|
||||
skeletonName = "";
|
||||
};
|
||||
class ACE_Tracer: Default {
|
||||
skeletonName = "ACE_Tracer_Skeleton";
|
||||
};
|
||||
class ACE_Tracer_Default: ACE_Tracer { // BWC
|
||||
skeletonName = "ACE_Tracer_Skeleton_Default";
|
||||
};
|
||||
// Bullet tracers
|
||||
class ace_TracerRed2: ACE_Tracer_Default {};
|
||||
class ace_TracerGreen2: ACE_Tracer_Default {};
|
||||
class ace_TracerYellow2: ACE_Tracer_Default {};
|
||||
|
||||
// Bullet tracers, alternative
|
||||
class tracer_green_2: ACE_Tracer {};
|
||||
class tracer_red_2: ACE_Tracer {};
|
||||
class tracer_yellow_2: ACE_Tracer {};
|
||||
|
||||
// Shell Tracers
|
||||
class ace_shell_tracer_green: ACE_Tracer {};
|
||||
class ace_shell_tracer_red: ACE_Tracer {};
|
||||
class ace_shell_tracer_yellow: ACE_Tracer {};
|
||||
};
|
209
optionals/tracers/CfgAmmo.hpp
Normal file
209
optionals/tracers/CfgAmmo.hpp
Normal file
@ -0,0 +1,209 @@
|
||||
|
||||
class CfgAmmo {
|
||||
class B_556x45_Ball;
|
||||
class B_556x45_Ball_Tracer_Red : B_556x45_Ball {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_556x45_Ball_Tracer_Green : B_556x45_Ball {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_556x45_Ball_Tracer_Yellow : B_556x45_Ball {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class ACE_545x39_Ball_7T3M : B_556x45_Ball_Tracer_Green {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_65x39_Case;
|
||||
class B_65x39_Case_green: B_65x39_Case {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_65x39_Case_yellow: B_65x39_Case {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class B_65x39_Caseless;
|
||||
class B_65x39_Caseless_green: B_65x39_Caseless {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_65x39_Caseless_yellow: B_65x39_Caseless {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class B_762x51_Ball;
|
||||
class B_762x51_Tracer_Red: B_762x51_Ball {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_762x51_Tracer_Green: B_762x51_Ball {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_762x51_Tracer_Yellow: B_762x51_Ball {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class SubmunitionBullet;
|
||||
class B_762x51_Minigun_Tracer_Red: SubmunitionBullet {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_762x51_Minigun_Tracer_Red_splash: B_762x51_Ball {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_762x54_Ball;
|
||||
class B_762x54_Tracer_Red: B_762x54_Ball {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_762x54_Tracer_Green: B_762x54_Ball {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_762x54_Tracer_Yellow: B_762x54_Ball {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class ACE_762x54_Ball_7T2 : B_762x54_Tracer_Green {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class ACE_762x39_Ball_57N231P : B_762x54_Tracer_Green {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_9x21_Ball;
|
||||
class B_9x21_Ball_Tracer_Green: B_9x21_Ball {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_127x99_Ball;
|
||||
class B_127x99_Ball_Tracer_Red: B_127x99_Ball {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_127x99_Ball_Tracer_Green: B_127x99_Ball {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_127x99_Ball_Tracer_Yellow: B_127x99_Ball {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class B_127x99_SLAP;
|
||||
class B_127x99_SLAP_Tracer_Red: B_127x99_SLAP {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_127x99_SLAP_Tracer_Green: B_127x99_SLAP {
|
||||
model = PATHTOF(ace_TracerGreen2.p3d);
|
||||
};
|
||||
class B_127x99_SLAP_Tracer_Yellow: B_127x99_SLAP {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class B_30mm_HE;
|
||||
class B_30mm_HE_Tracer_Red: B_30mm_HE {
|
||||
};
|
||||
class B_30mm_HE_Tracer_Green: B_30mm_HE {
|
||||
};
|
||||
class B_30mm_HE_Tracer_Yellow: B_30mm_HE {
|
||||
};
|
||||
class B_40mm_GPR;
|
||||
class B_40mm_GPR_Tracer_Red: B_40mm_GPR {
|
||||
model = PATHTOF(ace_40mm_tracer_red.p3d);
|
||||
};
|
||||
class B_40mm_GPR_Tracer_Green: B_40mm_GPR {
|
||||
};
|
||||
class B_40mm_GPR_Tracer_Yellow: B_40mm_GPR {
|
||||
};
|
||||
class B_20mm;
|
||||
class B_20mm_Tracer_Red: B_20mm {
|
||||
};
|
||||
class B_30mm_AP;
|
||||
class B_30mm_AP_Tracer_Red: B_30mm_AP {
|
||||
};
|
||||
class B_30mm_AP_Tracer_Green: B_30mm_AP {
|
||||
};
|
||||
class B_30mm_AP_Tracer_Yellow: B_30mm_AP {
|
||||
};
|
||||
class B_30mm_APFSDS;
|
||||
class B_30mm_APFSDS_Tracer_Red: B_30mm_APFSDS {
|
||||
};
|
||||
class B_30mm_APFSDS_Tracer_Green: B_30mm_APFSDS {
|
||||
};
|
||||
class B_30mm_APFSDS_Tracer_Yellow: B_30mm_APFSDS {
|
||||
};
|
||||
class B_35mm_AA;
|
||||
class B_35mm_AA_Tracer_Red: B_35mm_AA {
|
||||
};
|
||||
class B_35mm_AA_Tracer_Green: B_35mm_AA {
|
||||
};
|
||||
class B_35mm_AA_Tracer_Yellow: B_35mm_AA {
|
||||
};
|
||||
class Sh_120mm_HE;
|
||||
class Sh_120mm_HE_Tracer_Red: Sh_120mm_HE {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_120mm_HE_Tracer_Green: Sh_120mm_HE {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_120mm_HE_Tracer_Yellow: Sh_120mm_HE {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
class Sh_120mm_APFSDS;
|
||||
class Sh_120mm_APFSDS_Tracer_Red: Sh_120mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_120mm_APFSDS_Tracer_Green: Sh_120mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_120mm_APFSDS_Tracer_Yellow: Sh_120mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
class B_762x51_Minigun_Tracer_Red: SubmunitionBullet {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_762x51_Minigun_Tracer_Yellow: B_762x51_Minigun_Tracer_Red {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class B_762x51_Ball;
|
||||
class B_762x51_Minigun_Tracer_Red_splash: B_762x51_Ball {
|
||||
model = PATHTOF(ace_TracerRed2.p3d);
|
||||
};
|
||||
class B_762x51_Minigun_Tracer_Yellow_splash: B_762x51_Minigun_Tracer_Red_splash {
|
||||
model = PATHTOF(ace_TracerYellow2.p3d);
|
||||
};
|
||||
class Sh_125mm_APFSDS;
|
||||
class Sh_125mm_APFSDS_T_Red: Sh_125mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_125mm_APFSDS_T_Green: Sh_125mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_125mm_APFSDS_T_Yellow: Sh_125mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
class Sh_125mm_HE;
|
||||
class Sh_125mm_HE_T_Red: Sh_125mm_HE {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_125mm_HE_T_Green: Sh_125mm_HE {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_125mm_HE_T_Yellow: Sh_125mm_HE {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
class Sh_125mm_HEAT;
|
||||
class Sh_125mm_HEAT_T_Red: Sh_125mm_HEAT {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_125mm_HEAT_T_Green: Sh_125mm_HEAT {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_125mm_HEAT_T_Yellow: Sh_125mm_HEAT {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
class Sh_105mm_APFSDS;
|
||||
class Sh_105mm_APFSDS_T_Red: Sh_105mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_105mm_APFSDS_T_Green: Sh_105mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_105mm_APFSDS_T_Yellow: Sh_105mm_APFSDS {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
class Sh_105mm_HEAT_MP;
|
||||
class Sh_105mm_HEAT_MP_T_Red: Sh_105mm_HEAT_MP {
|
||||
model = PATHTOF(ace_shell_tracer_red.p3d);
|
||||
};
|
||||
class Sh_105mm_HEAT_MP_T_Green: Sh_105mm_HEAT_MP {
|
||||
model = PATHTOF(ace_shell_tracer_green.p3d);
|
||||
};
|
||||
class Sh_105mm_HEAT_MP_T_Yellow: Sh_105mm_HEAT_MP {
|
||||
model = PATHTOF(ace_shell_tracer_yellow.p3d);
|
||||
};
|
||||
};
|
@ -3,7 +3,6 @@ ace_tracers
|
||||
|
||||
Ball tracers for ArmA3 ported from ACE2.
|
||||
|
||||
|
||||
## Maintainers
|
||||
|
||||
The people responsible for merging changes to this component or answering potential questions.
|
@ -5,9 +5,11 @@ class CfgPatches {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
requiredAddons[] = {"ace_ballistics"};
|
||||
author[] = {"ACE2 Team"};
|
||||
authorUrl = "https://www.ace3mod.com";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgAmmo.hpp"
|
44
optionals/tracers/model.cfg
Normal file
44
optionals/tracers/model.cfg
Normal file
@ -0,0 +1,44 @@
|
||||
class CfgSkeletons {
|
||||
class Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class ACE_Tracer_Skeleton : Default {};
|
||||
class ACE_Tracer_Skeleton_Default: ACE_Tracer_Skeleton { // BWC
|
||||
skeletonInherit = "ACE_Tracer_Skeleton";
|
||||
skeletonBones[]= {
|
||||
"core","",
|
||||
"halo","",
|
||||
"tracer",""
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels {
|
||||
class Default {
|
||||
sectionsInherit="";
|
||||
sections[] = {};
|
||||
skeletonName = "";
|
||||
};
|
||||
class ACE_Tracer: Default {
|
||||
skeletonName = "ACE_Tracer_Skeleton";
|
||||
};
|
||||
class ACE_Tracer_Default: ACE_Tracer { // BWC
|
||||
skeletonName = "ACE_Tracer_Skeleton_Default";
|
||||
};
|
||||
// Bullet tracers
|
||||
class ace_TracerRed2: ACE_Tracer_Default {};
|
||||
class ace_TracerGreen2: ACE_Tracer_Default {};
|
||||
class ace_TracerYellow2: ACE_Tracer_Default {};
|
||||
|
||||
// Bullet tracers, alternative
|
||||
class tracer_green_2: ACE_Tracer {};
|
||||
class tracer_red_2: ACE_Tracer {};
|
||||
class tracer_yellow_2: ACE_Tracer {};
|
||||
|
||||
// Shell Tracers
|
||||
class ace_shell_tracer_green: ACE_Tracer {};
|
||||
class ace_shell_tracer_red: ACE_Tracer {};
|
||||
class ace_shell_tracer_yellow: ACE_Tracer {};
|
||||
};
|
Loading…
Reference in New Issue
Block a user