mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add Maglite ML300L
This commit is contained in:
parent
89266d8c84
commit
516145210f
@ -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;
|
||||
|
||||
|
BIN
addons/flashlights/UI/maglite_ml300l_ca.paa
Normal file
BIN
addons/flashlights/UI/maglite_ml300l_ca.paa
Normal file
Binary file not shown.
@ -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 };
|
||||
};
|
||||
};
|
Binary file not shown.
69
addons/flashlights/data/maglite_ml300l.rvmat
Normal file
69
addons/flashlights/data/maglite_ml300l.rvmat
Normal 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};
|
||||
};
|
||||
};
|
BIN
addons/flashlights/data/textures/maglite_ml300l_as.paa
Normal file
BIN
addons/flashlights/data/textures/maglite_ml300l_as.paa
Normal file
Binary file not shown.
BIN
addons/flashlights/data/textures/maglite_ml300l_ca.paa
Normal file
BIN
addons/flashlights/data/textures/maglite_ml300l_ca.paa
Normal file
Binary file not shown.
BIN
addons/flashlights/data/textures/maglite_ml300l_nohq.paa
Normal file
BIN
addons/flashlights/data/textures/maglite_ml300l_nohq.paa
Normal file
Binary file not shown.
BIN
addons/flashlights/data/textures/maglite_ml300l_smdi.paa
Normal file
BIN
addons/flashlights/data/textures/maglite_ml300l_smdi.paa
Normal file
Binary file not shown.
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user