mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
Merge branch 'master' of https://github.com/vbawol/DayZ-Epoch
This commit is contained in:
@@ -589,7 +589,7 @@ if (isClass (configFile >> "SnapBuilding" >> _classname)) then {
|
||||
publicVariableServer "PVDZE_obj_Publish";
|
||||
|
||||
cutText [format[(localize "str_epoch_player_140"),_combinationDisplay,_text], "PLAIN DOWN", 5];
|
||||
|
||||
systemChat format [(localize "str_epoch_player_140"),_combinationDisplay,_text];
|
||||
|
||||
} else {
|
||||
_tmpbuilt setVariable ["CharacterID",dayz_characterID,true];
|
||||
|
||||
90
SQF/redryder/config.cpp
Normal file
90
SQF/redryder/config.cpp
Normal file
@@ -0,0 +1,90 @@
|
||||
// RedRyder BB Gun by WillRobinson.
|
||||
|
||||
#define TEast 0
|
||||
#define TWest 1
|
||||
#define TGuerrila 2
|
||||
#define TCivilian 3
|
||||
#define TSideUnknown 4
|
||||
#define TEnemy 5
|
||||
#define TFriendly 6
|
||||
#define TLogic 7
|
||||
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
class CfgPatches
|
||||
{
|
||||
class RedRyder
|
||||
{
|
||||
units[] = {};
|
||||
weapons[] = {RedRyder};
|
||||
requiredVersion = 1.00000;
|
||||
};
|
||||
};
|
||||
class CfgModels
|
||||
{
|
||||
class Default{};
|
||||
class Weapon: Default{};
|
||||
class RedRyder : Weapon{};
|
||||
|
||||
};
|
||||
|
||||
class CfgAmmo
|
||||
{
|
||||
class BulletBase;
|
||||
class 177_BB: BulletBase {
|
||||
model= \addons\redryder\models\BB_Round.p3d; //will need to be changed
|
||||
simulation=shotShell;
|
||||
soundHit[]={,0,1};
|
||||
hit=3.7;indirectHit=0;indirectHitRange=0;
|
||||
visibleFire=10;
|
||||
audibleFire=10;
|
||||
visibleFireTime=3;
|
||||
deflecting=5;
|
||||
airFriction = -0.001064;
|
||||
fuseDistance = 0;
|
||||
CraterEffects = "";
|
||||
explosionEffects = "";
|
||||
muzzleEffect = "BIS_Effects_Rifle";
|
||||
};
|
||||
};
|
||||
|
||||
class CfgMagazines
|
||||
{
|
||||
class CA_Magazine;
|
||||
class 350Rnd_BB_Magazine: CA_Magazine {
|
||||
scope = 2;
|
||||
model= \addons\redryder\models\bb_magazine.p3d; //will need to be changed
|
||||
picture="\addons\redryder\textures\bb_magazine_picture.paa"; //will need to be changed
|
||||
displayName = 350 Count 177 Cal. BBs;
|
||||
count=350;
|
||||
ammo = 177_BB;
|
||||
initSpeed = 175;
|
||||
sound[]={"\addons\redryder\M9SD_S1", db8, 1,60}; //will need to be changed
|
||||
reloadMagazineSound[]={"Ca\sounds\Weapons\rifles\M1014-reload",db-40,1,20};
|
||||
descriptionShort = 350 Zink Coated .177, 4.5mm BBs;
|
||||
};
|
||||
};
|
||||
class CfgWeapons
|
||||
{
|
||||
class Default {};
|
||||
class Rifle: Default {};
|
||||
class RedRyder: Rifle {
|
||||
scope = 2;
|
||||
model="\addons\redryder\models\RedRyder.p3d"; //will need to be changed
|
||||
displayName = "RedRyder BB Gun";
|
||||
displayNameMagazine="BB";
|
||||
magazines[]={"350Rnd_BB_Magazine"};
|
||||
recoil = "recoil_single_pistol_2outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_2outof3";
|
||||
reloadTime=0.45;
|
||||
sound[]={"\addons\redryder\RedRyder\M9SD_S1", db8, 1,60}; //will need to be changed
|
||||
dispersion=0.00045;
|
||||
minRange=0;minRangeProbab=0.30;
|
||||
midRange=39;midRangeProbab=0.7;
|
||||
maxRange=75;maxRangeProbab=0.05;
|
||||
picture="\addons\redryder\textures\redryder_picture.paa"; //will need to be changed
|
||||
handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"};
|
||||
|
||||
};
|
||||
};
|
||||
45
SQF/redryder/model.cfg
Normal file
45
SQF/redryder/model.cfg
Normal file
@@ -0,0 +1,45 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default;
|
||||
class redryder: Default
|
||||
{
|
||||
skeletonInherit="";
|
||||
skeletonBones[]=
|
||||
{
|
||||
"lever",""
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
class CfgModels
|
||||
{
|
||||
class Default;
|
||||
class redryder: Default
|
||||
{
|
||||
skeletonName = "redryder";
|
||||
class Animations
|
||||
|
||||
{
|
||||
class lever_up
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="lever";
|
||||
axis="lever_axis";
|
||||
memory=1;
|
||||
minValue=0.000000;
|
||||
maxValue=0.100000;
|
||||
angle0=0.000000;
|
||||
angle1=1.570796;
|
||||
};
|
||||
class lever_down:lever_up
|
||||
{
|
||||
minValue=0.950000;
|
||||
maxValue=1.000000;
|
||||
angle0=0.000000;
|
||||
angle1=-1.570796;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
SQF/redryder/models/BB_Round.p3d
Normal file
BIN
SQF/redryder/models/BB_Round.p3d
Normal file
Binary file not shown.
BIN
SQF/redryder/models/RedRyder.p3d
Normal file
BIN
SQF/redryder/models/RedRyder.p3d
Normal file
Binary file not shown.
BIN
SQF/redryder/models/bb_magazine.p3d
Normal file
BIN
SQF/redryder/models/bb_magazine.p3d
Normal file
Binary file not shown.
BIN
SQF/redryder/textures/bb_NOHQ.paa
Normal file
BIN
SQF/redryder/textures/bb_NOHQ.paa
Normal file
Binary file not shown.
BIN
SQF/redryder/textures/bb_SMDI.paa
Normal file
BIN
SQF/redryder/textures/bb_SMDI.paa
Normal file
Binary file not shown.
BIN
SQF/redryder/textures/bb_co.paa
Normal file
BIN
SQF/redryder/textures/bb_co.paa
Normal file
Binary file not shown.
32
SQF/redryder/textures/bb_rv.rvmat
Normal file
32
SQF/redryder/textures/bb_rv.rvmat
Normal file
@@ -0,0 +1,32 @@
|
||||
ambient[]={0.85000002,0.85000002,0.85000002,0.85000002};
|
||||
diffuse[]={0.85000002,0.85000002,0.85000002,0.85000002};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={1,1,1,1};
|
||||
specularPower=30;
|
||||
PixelShaderID="NormalMapSpecularMap";
|
||||
VertexShaderID="NormalMap";
|
||||
class Stage1
|
||||
{
|
||||
texture="addons\redryder\textures\bb_NOHQ.paa"; //will need to be changed
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage2
|
||||
{
|
||||
texture="addons\redryder\textures\bb_SMDI.paa"; //will need to be changed
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
BIN
SQF/redryder/textures/bb_uvmap.paa
Normal file
BIN
SQF/redryder/textures/bb_uvmap.paa
Normal file
Binary file not shown.
BIN
SQF/redryder/textures/redmap1sd2_SMDI.paa
Normal file
BIN
SQF/redryder/textures/redmap1sd2_SMDI.paa
Normal file
Binary file not shown.
BIN
SQF/redryder/textures/redmap3.paa
Normal file
BIN
SQF/redryder/textures/redmap3.paa
Normal file
Binary file not shown.
BIN
SQF/redryder/textures/redmap_NOHQ.paa
Normal file
BIN
SQF/redryder/textures/redmap_NOHQ.paa
Normal file
Binary file not shown.
32
SQF/redryder/textures/redryder.rvmat
Normal file
32
SQF/redryder/textures/redryder.rvmat
Normal file
@@ -0,0 +1,32 @@
|
||||
ambient[]={0.85000002,0.85000002,0.85000002,0.85000002};
|
||||
diffuse[]={0.85000002,0.85000002,0.85000002,0.85000002};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.80392158,0.80392158,0.80392158,1};
|
||||
specularPower=150;
|
||||
PixelShaderID="NormalMapSpecularMap";
|
||||
VertexShaderID="NormalMap";
|
||||
class Stage1
|
||||
{
|
||||
texture="addons\redryder\textures\redmap_NOHQ.paa"; //will need to be changed
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage2
|
||||
{
|
||||
texture="addons\redryder\textures\redmap1sd2_SMDI.paa"; //will need to be changed
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user