Skip to content

Commit

Permalink
ACE2 tracers port.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaynus committed Apr 7, 2015
1 parent 14906c6 commit bc7a9de
Show file tree
Hide file tree
Showing 28 changed files with 162 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/tracers/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\ace\addons\tracers
11 changes: 11 additions & 0 deletions addons/tracers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ace_tracers
===========

Ball tracers for ArmA3 ported from ACE2.

This comment has been minimized.

Copy link
@jonpas

jonpas May 19, 2015

Member

Should be Arma 3 not ArmA3.



## Maintainers

The people responsible for merging changes to this component or answering potential questions.

- [jaynus](https://github.com/walterpearce)
Binary file added addons/tracers/ace_40mm_tracer_red.p3d
Binary file not shown.
Binary file added addons/tracers/ace_TracerGreen2.p3d
Binary file not shown.
Binary file added addons/tracers/ace_TracerRed2.p3d
Binary file not shown.
Binary file added addons/tracers/ace_TracerYellow2.p3d
Binary file not shown.
Binary file added addons/tracers/ace_shell_tracer_green.p3d
Binary file not shown.
Binary file added addons/tracers/ace_shell_tracer_red.p3d
Binary file not shown.
Binary file added addons/tracers/ace_shell_tracer_yellow.p3d
Binary file not shown.
13 changes: 13 additions & 0 deletions addons/tracers/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"ACE2 Team"};
authorUrl = "https://www.ace3mod.com";
VERSION_CONFIG;
};
};
9 changes: 9 additions & 0 deletions addons/tracers/data/SLX_GreenTracer_Material.rvmat
Original file line number Diff line number Diff line change
@@ -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";
9 changes: 9 additions & 0 deletions addons/tracers/data/SLX_RedTracer_Material.rvmat
Original file line number Diff line number Diff line change
@@ -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";
9 changes: 9 additions & 0 deletions addons/tracers/data/SLX_YellowTracer_Material.rvmat
Original file line number Diff line number Diff line change
@@ -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 added addons/tracers/data/TracerGreen.paa
Binary file not shown.
Binary file added addons/tracers/data/TracerRed.paa
Binary file not shown.
Binary file added addons/tracers/data/TracerYellow.paa
Binary file not shown.
Binary file added addons/tracers/data/clear_empty.paa
Binary file not shown.
18 changes: 18 additions & 0 deletions addons/tracers/data/tracer_green.rvmat
Original file line number Diff line number Diff line change
@@ -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 added addons/tracers/data/tracer_green1_ca.paa
Binary file not shown.
18 changes: 18 additions & 0 deletions addons/tracers/data/tracer_red.rvmat
Original file line number Diff line number Diff line change
@@ -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 added addons/tracers/data/tracer_red1_ca.paa
Binary file not shown.
18 changes: 18 additions & 0 deletions addons/tracers/data/tracer_yellow.rvmat
Original file line number Diff line number Diff line change
@@ -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 added addons/tracers/data/tracer_yellow1_ca.paa
Binary file not shown.
44 changes: 44 additions & 0 deletions addons/tracers/model.cfg
Original file line number Diff line number Diff line change
@@ -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 {};
};
12 changes: 12 additions & 0 deletions addons/tracers/script_component.hpp
Original file line number Diff line number Diff line change
@@ -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 added addons/tracers/tracer_green_2.p3d
Binary file not shown.
Binary file added addons/tracers/tracer_red_2.p3d
Binary file not shown.
Binary file added addons/tracers/tracer_yellow_2.p3d
Binary file not shown.

0 comments on commit bc7a9de

Please sign in to comment.