mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ACE2 tracers port.
This commit is contained in:
parent
14906c68c0
commit
bc7a9dec6f
1
addons/tracers/$PBOPREFIX$
Normal file
1
addons/tracers/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\tracers
|
11
addons/tracers/README.md
Normal file
11
addons/tracers/README.md
Normal 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)
|
BIN
addons/tracers/ace_40mm_tracer_red.p3d
Normal file
BIN
addons/tracers/ace_40mm_tracer_red.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/ace_TracerGreen2.p3d
Normal file
BIN
addons/tracers/ace_TracerGreen2.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/ace_TracerRed2.p3d
Normal file
BIN
addons/tracers/ace_TracerRed2.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/ace_TracerYellow2.p3d
Normal file
BIN
addons/tracers/ace_TracerYellow2.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/ace_shell_tracer_green.p3d
Normal file
BIN
addons/tracers/ace_shell_tracer_green.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/ace_shell_tracer_red.p3d
Normal file
BIN
addons/tracers/ace_shell_tracer_red.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/ace_shell_tracer_yellow.p3d
Normal file
BIN
addons/tracers/ace_shell_tracer_yellow.p3d
Normal file
Binary file not shown.
13
addons/tracers/config.cpp
Normal file
13
addons/tracers/config.cpp
Normal 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;
|
||||
};
|
||||
};
|
9
addons/tracers/data/SLX_GreenTracer_Material.rvmat
Normal file
9
addons/tracers/data/SLX_GreenTracer_Material.rvmat
Normal 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";
|
9
addons/tracers/data/SLX_RedTracer_Material.rvmat
Normal file
9
addons/tracers/data/SLX_RedTracer_Material.rvmat
Normal 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";
|
9
addons/tracers/data/SLX_YellowTracer_Material.rvmat
Normal file
9
addons/tracers/data/SLX_YellowTracer_Material.rvmat
Normal 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";
|
BIN
addons/tracers/data/TracerGreen.paa
Normal file
BIN
addons/tracers/data/TracerGreen.paa
Normal file
Binary file not shown.
BIN
addons/tracers/data/TracerRed.paa
Normal file
BIN
addons/tracers/data/TracerRed.paa
Normal file
Binary file not shown.
BIN
addons/tracers/data/TracerYellow.paa
Normal file
BIN
addons/tracers/data/TracerYellow.paa
Normal file
Binary file not shown.
BIN
addons/tracers/data/clear_empty.paa
Normal file
BIN
addons/tracers/data/clear_empty.paa
Normal file
Binary file not shown.
18
addons/tracers/data/tracer_green.rvmat
Normal file
18
addons/tracers/data/tracer_green.rvmat
Normal 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";
|
||||
//};
|
BIN
addons/tracers/data/tracer_green1_ca.paa
Normal file
BIN
addons/tracers/data/tracer_green1_ca.paa
Normal file
Binary file not shown.
18
addons/tracers/data/tracer_red.rvmat
Normal file
18
addons/tracers/data/tracer_red.rvmat
Normal 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";
|
||||
//};
|
BIN
addons/tracers/data/tracer_red1_ca.paa
Normal file
BIN
addons/tracers/data/tracer_red1_ca.paa
Normal file
Binary file not shown.
18
addons/tracers/data/tracer_yellow.rvmat
Normal file
18
addons/tracers/data/tracer_yellow.rvmat
Normal 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";
|
||||
//};
|
BIN
addons/tracers/data/tracer_yellow1_ca.paa
Normal file
BIN
addons/tracers/data/tracer_yellow1_ca.paa
Normal file
Binary file not shown.
44
addons/tracers/model.cfg
Normal file
44
addons/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 {};
|
||||
};
|
12
addons/tracers/script_component.hpp
Normal file
12
addons/tracers/script_component.hpp
Normal 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"
|
BIN
addons/tracers/tracer_green_2.p3d
Normal file
BIN
addons/tracers/tracer_green_2.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/tracer_red_2.p3d
Normal file
BIN
addons/tracers/tracer_red_2.p3d
Normal file
Binary file not shown.
BIN
addons/tracers/tracer_yellow_2.p3d
Normal file
BIN
addons/tracers/tracer_yellow_2.p3d
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user