ACE2 tracers port.

This commit is contained in:
jaynus 2015-04-07 13:30:33 -07:00
parent 14906c68c0
commit bc7a9dec6f
28 changed files with 162 additions and 0 deletions

View File

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

11
addons/tracers/README.md Normal file
View File

@ -0,0 +1,11 @@
ace_tracers
===========
Ball tracers for ArmA3 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.

13
addons/tracers/config.cpp Normal file
View File

@ -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;
};
};

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.

44
addons/tracers/model.cfg Normal file
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.