Merge pull request #378 from acemod/ace2Tracers

ACE2 ball tracers port.
This commit is contained in:
Glowbal 2015-05-29 17:52:08 +02:00
commit aee783c1e0
29 changed files with 380 additions and 0 deletions

View File

@ -0,0 +1 @@
z\ace\addons\tracers

View File

@ -0,0 +1,217 @@
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 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 {
model = PATHTOF(tracer_red_2.p3d);
};
class B_30mm_HE_Tracer_Green: B_30mm_HE {
model = PATHTOF(tracer_green_2.p3d);
};
class B_30mm_HE_Tracer_Yellow: B_30mm_HE {
model = PATHTOF(tracer_yellow_2.p3d);
};
class B_40mm_GPR;
class B_40mm_GPR_Tracer_Red: B_40mm_GPR {
model = PATHTOF(tracer_red_2.p3d);
};
class B_40mm_GPR_Tracer_Green: B_40mm_GPR {
model = PATHTOF(tracer_green_2.p3d);
};
class B_40mm_GPR_Tracer_Yellow: B_40mm_GPR {
model = PATHTOF(tracer_yellow_2.p3d);
};
class B_20mm;
class B_20mm_Tracer_Red: B_20mm {
model = PATHTOF(tracer_red_2.p3d);
};
class B_30mm_AP;
class B_30mm_AP_Tracer_Red: B_30mm_AP {
model = PATHTOF(tracer_red_2.p3d);
};
class B_30mm_AP_Tracer_Green: B_30mm_AP {
model = PATHTOF(tracer_green_2.p3d);
};
class B_30mm_AP_Tracer_Yellow: B_30mm_AP {
model = PATHTOF(tracer_yellow_2.p3d);
};
class B_30mm_APFSDS;
class B_30mm_APFSDS_Tracer_Red: B_30mm_APFSDS {
model = PATHTOF(tracer_red_2.p3d);
};
class B_30mm_APFSDS_Tracer_Green: B_30mm_APFSDS {
model = PATHTOF(tracer_green_2.p3d);
};
class B_30mm_APFSDS_Tracer_Yellow: B_30mm_APFSDS {
model = PATHTOF(tracer_yellow_2.p3d);
};
class B_35mm_AA;
class B_35mm_AA_Tracer_Red: B_35mm_AA {
model = PATHTOF(tracer_red_2.p3d);
};
class B_35mm_AA_Tracer_Green: B_35mm_AA {
model = PATHTOF(tracer_green_2.p3d);
};
class B_35mm_AA_Tracer_Yellow: B_35mm_AA {
model = PATHTOF(tracer_yellow_2.p3d);
};
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 SubmunitionBullet;
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_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);
};
};

View File

@ -0,0 +1,10 @@
ace_balltracers
===========
Ball tracers for Arma 3 ported from ACE2.
## Maintainers
The people responsible for merging changes to this component or answering potential questions.
- [jaynus](https://github.com/walterpearce)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_ballistics"};
author[] = {"ACE2 Team"};
authorUrl = "https://www.ace3mod.com";
VERSION_CONFIG;
};
};
#include "CfgAmmo.hpp"

View File

@ -0,0 +1,9 @@
ambient[] = {0.2, 0.8, 0.1, 1};
diffuse[] = {0.2, 0.8, 0.1, 1};
forcedDiffuse[] = {0.2, 0.8, 0.1, 1};
emmisive[] = {0.2, 0.8, 0.1, 1};
specular[] = {0.0, 0.0, 0.0, 0.0};
specularPower = 0.0;
renderFlags[] = {"NoZWrite", "NoAlphaWrite", "AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";

View File

@ -0,0 +1,9 @@
ambient[] = {0.8, 0.1, 0.1, 1};
diffuse[] = {0.8, 0.1, 0.1, 1};
forcedDiffuse[] = {0.8, 0.1, 0.1, 1};
emmisive[] = {0.8, 0.1, 0.1, 1};
specular[] = {0.0, 0.0, 0.0, 0.0};
specularPower = 0.0;
renderFlags[] = {"NoZWrite", "NoAlphaWrite", "AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";

View File

@ -0,0 +1,9 @@
ambient[] = {1, 0.98, 0.137, 1};
diffuse[] = {1, 0.98, 0.137, 1};
forcedDiffuse[] = {1, 0.98, 0.137, 1};
emmisive[] = {1, 0.98, 0.137, 1};
specular[] = {0.0, 0.0, 0.0, 0.0};
specularPower = 0.0;
renderFlags[] = {"NoZWrite", "NoAlphaWrite", "AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,18 @@
////////////////////////////////////////////////////////////////////
//Produced from mikero's Dos Tools using dll 3.17
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////
#define _ARMA_
//Class weapons : Data\bullettracer\Data\tracer_green.rvmat{
ambient[] = {1.0,1.0,1.0,3.25};
diffuse[] = {1.0,1.0,1.0,1.0};
forcedDiffuse[] = {0.0,0.0,0.0,0.0};
emmisive[] = {1.0,1.0,1.0,1.0};
specular[] = {0.0,0.0,0.0,1.0};
specularPower = 1.0;
renderFlags[] = {"NoZWrite","AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";
//};

Binary file not shown.

View File

@ -0,0 +1,18 @@
////////////////////////////////////////////////////////////////////
//Produced from mikero's Dos Tools using dll 3.17
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////
#define _ARMA_
//Class weapons : Data\bullettracer\Data\tracer_red.rvmat{
ambient[] = {1.0,1.0,1.0,3.25};
diffuse[] = {1.0,1.0,1.0,1.0};
forcedDiffuse[] = {0.0,0.0,0.0,0.0};
emmisive[] = {1.0,1.0,1.0,1.0};
specular[] = {0.0,0.0,0.0,1.0};
specularPower = 1.0;
renderFlags[] = {"NoZWrite","AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";
//};

Binary file not shown.

View File

@ -0,0 +1,18 @@
////////////////////////////////////////////////////////////////////
//Produced from mikero's Dos Tools using dll 3.17
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////
#define _ARMA_
//Class weapons : Data\bullettracer\Data\tracer_yellow.rvmat{
ambient[] = {1.0,1.0,1.0,3.25};
diffuse[] = {1.0,1.0,1.0,1.0};
forcedDiffuse[] = {0.0,0.0,0.0,0.0};
emmisive[] = {1.0,1.0,1.0,1.0};
specular[] = {0.0,0.0,0.0,1.0};
specularPower = 1.0;
renderFlags[] = {"NoZWrite","AddBlend"};
PixelShaderID = "Normal";
VertexShaderID = "Basic";
//};

Binary file not shown.

View 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 {};
};

View File

@ -0,0 +1,12 @@
#define COMPONENT tracers
#include "\z\ace\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_SYS_TRACERS
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_SYS_TRACERS
#define DEBUG_SETTINGS DEBUG_SETTINGS_SYS_TRACERS
#endif
#include "\z\ace\addons\main\script_macros.hpp"

Binary file not shown.

Binary file not shown.

Binary file not shown.