помогите вертуть в спавн ас 50 и м 107

кто шарит ребят как вернуть эти пушки ас 50 и м 107 что бы спавнились?
 

ROKY

New Member
Если разобрался , подскажи решение . Заранее спасибо .
 
вернуть вернул спавнятся обе с помошью кастомных таблиц лута! но теперь они пропадают в руки не взять м 107 берётся но не насот урона урон 0 кто какое решение подскажет!
 
M107.hpp


class m107: Rifle
{
displayname = "$STR_DN_M107";
descriptionShort = "$STR_DSS_M107";
type = "1";
canlock = 0;
cursor = "RifleCursor";
cursoraim = "Foresight";
};
class m107_DZ: m107
{
type = "1";
canlock = 0;
cursor = "";
cursoraim = "Foresight";
dexterity = "(0.5 + 3.75/(12.9 + 0.001) + -3/10)";
maxrange = 1800;
maxrangeprobab = 0.1;
mfact = 1;
mfmax = 0;
midrange = 500;
midrangeprobab = 0.8;
minrange = 1;
minrangeprobab = 0.4;
opticszoominit = 0.0553;
opticszoommax = 0.05246;
opticszoommin = 0.020984;
reloadtime = 0.5;
class OpticsModes {
class StepScope {
cameradir = "";
discretedistance[] = {};
discretedistanceinitindex = 0;
distancezoommax = 500;
distancezoommin = 500;
memorypointcamera = "konec hlavne";
opticsdisableperipherialvision = 1;
opticsflare = 1;
opticsid = 1;
opticsppeffects[] = {"OpticsCHAbera1", "OpticsBlur1"};
opticszoominit = 0.05246;
opticszoommax = 0.05246;
opticszoommin = 0.020984;
usemodeloptics = 1;
visionmode[] = {"Normal"};
};
};
};

CfgWeapons.hpp

class Mode_SemiAuto; // External class reference
class Mode_FullAuto; // External class reference
class Mode_Burst; // External class reference
class DZ_SingleMelee; // External class reference
class CfgWeapons {
class Default {
canlock = 0;
};
class ItemCore;
class Crossbow;
class Rifle;
class MeleeWeapon : Rifle {
canDrop = true;
class Single : DZ_SingleMelee {
displayName = $STR_ACTION_HACK;
};
};
class PistolCore;
class Pistol;
class GrenadeLauncher;
class M107_DZ;
//class BAF_AS50_scoped;
class DMR;
class SVD;
class SVD_CAMO;
class M14_EP1;

#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeMachete.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\ItemMachete.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeHatchet.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\ItemHatchet.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeCrowbar.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\ItemCrowbar.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\Crossbow.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeBaseBallBat.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeBaseBallBatBarbed.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeBaseBallBatNails.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Melee\MeleeFishingPole.hpp"

#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemWatch.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemMap.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemMap_Debug.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemCompass.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\Flashlight.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\Flare.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemEtool.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemShovel.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Item\ItemFishingPole.hpp"

//Pistols
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\M9.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\M9SD.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\G17.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\M1911.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\Makarov.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\MakarovSD.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\PDW.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Pistol\Revolver.hpp"
//AR
class M16_base;
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\M16A2.hpp"

#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\M16A2GL.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\M16A4.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\M16A4ACG.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\M16A4GL.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\M16A4ACGGL.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\AR\FNFAL.hpp"

//Sniper
#include "M107.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Sniper\DMR_DZ.hpp"
//#include "CfgWeapons\Weapon\M14_DZ.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Sniper\SVD_DZ.hpp"
#include "\z\addons\dayz_code\Configs\CfgWeapons\Weapon\Sniper\SVD_CAMO_DZ.hpp"
};
Надеюсь, дальше разберешься на этом примере.
 
Top