Add Maglite ML300L

This commit is contained in:
bux 2019-11-21 18:20:05 +01:00
parent 89266d8c84
commit 516145210f
10 changed files with 121 additions and 68 deletions

View File

@ -1,5 +1,49 @@
class CfgWeapons {
class Pistol_Base_F;
class ACE_Flashlight_Maglite_ML300L: Pistol_Base_F {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(Maglite_ML300L_DisplayName);
descriptionShort = CSTRING(Maglite_ML300L_Description);
model = QPATHTOF(data\maglite_ml300l.p3d);
picture = QPATHTOF(UI\maglite_ml300l_ca.paa);
scope = 2;
magazines[] = {};
recoil = "";
recoilProne = "";
distanceZoomMin = 50;
distanceZoomMax = 50;
autoFire = 0;
class FlashLight
{
color[] = {180,180,190};
ambient[] = {0.9,0.81,0.7};
intensity = 85;
size = 1;
innerAngle = 5;
outerAngle = 60;
coneFadeCoef = 8;
position = "flash dir";
direction = "flash";
useFlare = 1;
flareSize = 1.4;
flareMaxDistance = 100;
dayLight = 1;
class Attenuation {
start = 0;
constant = 0.7;
linear = 0.5;
quadratic = 0.6;
hardLimitStart = 45;
hardLimitEnd = 60;
};
scale[] = {0};
};
};
class ACE_ItemCore;
class CBA_MiscItem_ItemInfo;

Binary file not shown.

View File

@ -1,68 +0,0 @@
ambient[] = {1.0,1.0,1.0,1};
diffuse[] = {1.0,1.0,1.0,1};
forcedDiffuse[] = {0,0,0,1};
emmisive[] = {0,0,0,1};
specular[] = {0.15599996,0.15599996,0.15599996,1};
specularPower = 25;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1 {
texture = "z\sobassets\addons\training\data\textures\maglite_nohq.paa";
uvSource = "tex";
class uvTransform {
aside[] = { 1,0,0 };
up[] = { 0,1,0 };
dir[] = { 0,0,0 };
pos[] = { 0,0,0 };
};
};
class Stage2 {
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,dt)";
uvSource = "tex";
class uvTransform {
aside[] = { 1,0,0 };
up[] = { 0,1,0 };
dir[] = { 0,0,1 };
pos[] = { 0,0,1 };
};
};
class Stage3 {
texture = "#(argb,8,8,3)color(0,0,0,0,mc)";
uvSource = "tex";
class uvTransform {
aside[] = { 1,0,0 };
up[] = { 0,1,0 };
dir[] = { 0,0,0 };
pos[] = { 0,0,0 };
};
};
class Stage4 {
texture = "z\sobassets\addons\training\data\textures\maglite_as.paa";
uvSource = "tex";
class uvTransform {
aside[] = { 1,0,0 };
up[] = { 0,1,0 };
dir[] = { 0,0,1 };
pos[] = { 0,0,1 };
};
};
class Stage5 {
texture = "z\sobassets\addons\training\data\textures\maglite_smdi.paa";
uvSource = "tex";
class uvTransform {
aside[] = { 1,0,0 };
up[] = { 0,1,0 };
dir[] = { 0,0,0 };
pos[] = { 0,0,0 };
};
};
class Stage6 {
texture = "#(ai,64,64,1)fresnel(4.7,1.2)";
uvSource = "tex";
class uvTransform {
aside[] = { 1,0,0 };
up[] = { 0,1,0 };
dir[] = { 0,0,1 };
pos[] = { 0,0,0 };
};
};

View File

@ -0,0 +1,69 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.6,0.6,0.6,1}; //amount of glossiness - the higher the number, the higher the glossiness
specularPower=700; //area of glossiness - the higher the number, the smaller the area
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1 {
texture="z\ace\addons\flashlights\data\textures\maglite_ml300l_nohq.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2 {
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,dt)";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3 {
texture="#(argb,8,8,3)color(0,0,0,0,mc)";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4 {
texture="z\ace\addons\flashlights\data\textures\maglite_ml300l_as.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,1};
};
};
class Stage5 {
texture="z\ace\addons\flashlights\data\textures\maglite_ml300l_smdi.paa";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6 {
texture="#(ai,64,64,1)fresnel(4.7,1.2)";
uvSource="tex";
class uvTransform {
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};

Binary file not shown.

Binary file not shown.

View File

@ -103,5 +103,13 @@
<Russian>Цвет подсветки карты</Russian>
<Portuguese>Cor da lanterna no mapa</Portuguese>
</Key>
<Key ID="STR_ACE_Flashlights_Maglite_ML300L_DisplayName">
<English>Maglite ML300L</English>
<German>Maglite ML300L</German>
</Key>
<Key ID="STR_ACE_Flashlights_Maglite_ML300L_Description">
<English>Powerful LED flashlight.</English>
<German>Stark leuchtende LED Taschenlampe.</German>
</Key>
</Package>
</Project>