Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe



- 0
-
Our picks
Доброго времени суток. Первый раз создаю патроны сделал конфиг, калибр, указал путь сделал 3д модель. но при запаковке вылетает ошибка -1073741819
помогите пожалуйста кто чем может. вообще не понимаю что не так.
Что-то не так в конфиге из за него не могу паковать другие моды даже, когда удаляю все норм.
Патроны как отдельный мод они не лежат в папке с оружием
class CfgPatches {
class Weapons_Projectiles_Ammo {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class cfgAmmoTypes {
class AType_Meru_210mm_Bullet {
name = "Meru_210mm_Bullet";
};
};
class CfgPatches {
class DZ_Weapons_Ammunition {
units[] = {"Meru_210mm_ammo"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class CfgMagazines {
class Magazine_Base; // External class reference
class Ammunition_Base; // External class reference
class Meru_210mm_ammo : Ammunition_Base {
scope = 2;
displayName = "Патрон пушечного калибра";
descriptionShort = "Патрон калибра 210мм//By Meru";
model = "Meruammo\meruammordy.p3d";
iconCartridge = 3;
weight = 40;
itemSize[] = {1, 1};
count = 50;
ammo = "Meru_210mm_Bullet";
class DamageSystem {
class GlobalHealth {
class Health {
hitpoints = 100;
healthLevels[] = {{1, {"DZ\weapons\attachments\data\mosinclip.rvmat"}}, {0.7, {}}, {0.5, {"DZ\weapons\attachments\data\mosinclip_damage.rvmat"}}, {0.3, {}}, {0, {"DZ\weapons\attachments\data\mosinclip_destruct.rvmat"}}};
};
};
};
};
};
class CfgAmmo {
Edited by asusroggggg (see edit history)class Bullet_Base; // External class reference
class DefaultAmmo; // External class reference
class Meru_210mm_Bullet : Bullet_Base {
scope = 2;
model = "\dz\weapons\projectiles\tracer_green.p3d";
lootCategory = "Crafted";
cartridge = "FxCartridge_762";
spawnPileType = "Meru_210mm_ammo";
hit = 8;
indirectHit = 0;
indirectHitRange = 0;
visibleFire = 22;
audibleFire = 22;
visibleFireTime = 3;
cost = 12.2;
airLock = 1;
typicalSpeed = 1000;
initSpeed = 1000;
caliber = 9;
airFriction = -0.0013;
damageBarrel = 6;
damageBarrelDestroyed = 60;
tracerScale = 1.2;
tracerStartTime = 0.0001;
tracerEndTime = 10;
weight = 0.045;
class DamageApplied {
type = "Projectile";
dispersion = 0;
bleedThreshold = 1;
class Health {
damage = 15000;
};
class Blood {
damage = 15000;
};
class Shock {
damage = 15000;
};
};
class NoiseHit {
strength = 40;
type = "shot";
};
};
};
Share this post
Link to post
Share on other sites