Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 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 servers
  • Don'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
Sign in to follow this  
h0ust8n

маленький ромб трассера

Как сделать так, чтобы на новых боеприпасах отображался маленький ромб трассера ?
За ранее спасибо .

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0


Пример с ванилы, так ты сделаешь сам эффект трассера на патроне (tracerScale, tracerStartTime, tracerEndTime):
 

class Bullet_556x45: Bullet_Base
	{
		scope = 1;
		spawnPileType = "Ammo_556x45";
		casing = "FxCartridge_556";
		round = "FxRound_556";
		hit = 8;
		indirectHit = 0;
		indirectHitRange = 0;
		initSpeed = 850;
		typicalSpeed = 1000;
		airFriction = -0.00125;
		caliber = 1;
		deflecting = 10;
		tracerScale = 1;
		tracerStartTime = -1;
		tracerEndTime = 1;
		nvgOnly = 1;
		damageBarrel = 250;
		damageBarrelDestroyed = 250;
		weight = 0.004;
		impactBehaviour = 0;
		hitAnimation = 1;
		unconRefillModifier = 4;
		class DamageApplied
		{
			type = "Projectile";
			dispersion = 0.0;
			bleedThreshold = 1.0;
			defaultDamageOverride[] = {{0.87,1.0}};
			class Health
			{
				damage = 110;
			};
			class Blood
			{
				damage = 100;
			};
			class Shock
			{
				damage = 110;
			};
		};
		class NoiseHit
		{
			strength = 10;
			type = "shot";
		};
	};
	class Bullet_556x45Tracer: Bullet_556x45
	{
		scope = 1;
		model = "\dz\weapons\projectiles\tracer_red.p3d";
		spawnPileType = "Ammo_556x45Tracer";
		tracerScale = 1;
		tracerStartTime = 0.075;
		tracerEndTime = 3;
	};

Ванильный путь к файлу выше: "ДИСК:\Steam\steamapps\common\DayZ\Addons\weapons_projectiles\DZ\weapons\projectiles\config.cpp".

А также иконка, все из ванилы уже для самого стака в инвентаре или на земле (iconCartridge и iconType):

class Ammo_556x45Tracer: Ammunition_Base
	{
		scope = 2;
		displayName = "$STR_CfgMagazines_Ammo_556x45Tracer0";
		descriptionShort = "$STR_CfgMagazines_Ammo_556x45Tracer1";
		model = "\dz\weapons\ammunition\556_LooseRounds.p3d";
		iconCartridge = 2;
		iconType = 1;
		weight = 4;
		count = 20;
		ammo = "Bullet_556x45Tracer";
		hiddenSelections[] = {"zbytek"};
		hiddenSelectionsTextures[] = {"dz\weapons\ammunition\Data\556_loose_tracer_co.paa"};
		class DamageSystem
		{
			class GlobalHealth
			{
				class Health
				{
					hitpoints = 100;
					healthLevels[] = {{1.0,{"DZ\weapons\ammunition\data\556_LooseRounds5.rvmat"}},{0.7,{"DZ\weapons\ammunition\data\556_LooseRounds5.rvmat"}},{0.5,{"DZ\weapons\ammunition\data\556_LooseRounds5_damage.rvmat"}},{0.3,{"DZ\weapons\ammunition\data\556_LooseRounds5_damage.rvmat"}},{0.0,{"DZ\weapons\ammunition\data\556_LooseRounds5_destruct.rvmat"}}};
				};
			};
		};
	};

Ванильный путь к файлу выше: "ДИСК:\Steam\steamapps\common\DayZ\Addons\weapons_ammunition\DZ\weapons\ammunition\config.cpp" 

Делаешь свой мод, суешь туда все что хочешь, пакуешь и получаешь результат.

Edited by Lost228 (see edit history)

Share this post


Link to post
Share on other sites



  • 0
9 часов назад, Lost228 сказал:


Пример с ванилы, так ты сделаешь сам эффект трассера на патроне (tracerScale, tracerStartTime, tracerEndTime):
 

class Bullet_556x45: Bullet_Base { scope = 1; spawnPileType = "Ammo_556x45"; casing = "FxCartridge_556"; round = "FxRound_556"; hit = 8; indirectHit = 0; indirectHitRange = 0; initSpeed = 850; typicalSpeed = 1000; airFriction = -0.00125; caliber = 1; deflecting = 10; tracerScale = 1; tracerStartTime = -1; tracerEndTime = 1; nvgOnly = 1; damageBarrel = 250; damageBarrelDestroyed = 250; weight = 0.004; impactBehaviour = 0; hitAnimation = 1; unconRefillModifier = 4; class DamageApplied { type = "Projectile"; dispersion = 0.0; bleedThreshold = 1.0; defaultDamageOverride[] = {{0.87,1.0}}; class Health { damage = 110; }; class Blood { damage = 100; }; class Shock { damage = 110; }; }; class NoiseHit { strength = 10; type = "shot"; }; }; class Bullet_556x45Tracer: Bullet_556x45 { scope = 1; model = "\dz\weapons\projectiles\tracer_red.p3d"; spawnPileType = "Ammo_556x45Tracer"; tracerScale = 1; tracerStartTime = 0.075; tracerEndTime = 3; };


class Bullet_556x45: Bullet_Base
	{
		scope = 1;
		spawnPileType = "Ammo_556x45";
		casing = "FxCartridge_556";
		round = "FxRound_556";
		hit = 8;
		indirectHit = 0;
		indirectHitRange = 0;
		initSpeed = 850;
		typicalSpeed = 1000;
		airFriction = -0.00125;
		caliber = 1;
		deflecting = 10;
		tracerScale = 1;
		tracerStartTime = -1;
		tracerEndTime = 1;
		nvgOnly = 1;
		damageBarrel = 250;
		damageBarrelDestroyed = 250;
		weight = 0.004;
		impactBehaviour = 0;
		hitAnimation = 1;
		unconRefillModifier = 4;
		class DamageApplied
		{
			type = "Projectile";
			dispersion = 0.0;
			bleedThreshold = 1.0;
			defaultDamageOverride[] = {{0.87,1.0}};
			class Health
			{
				damage = 110;
			};
			class Blood
			{
				damage = 100;
			};
			class Shock
			{
				damage = 110;
			};
		};
		class NoiseHit
		{
			strength = 10;
			type = "shot";
		};
	};
	class Bullet_556x45Tracer: Bullet_556x45
	{
		scope = 1;
		model = "\dz\weapons\projectiles\tracer_red.p3d";
		spawnPileType = "Ammo_556x45Tracer";
		tracerScale = 1;
		tracerStartTime = 0.075;
		tracerEndTime = 3;
	};

Ванильный путь к файлу выше: "ДИСК:\Steam\steamapps\common\DayZ\Addons\weapons_projectiles\DZ\weapons\projectiles\config.cpp".

А также иконка, все из ванилы уже для самого стака в инвентаре или на земле (iconCartridge и iconType):

class Ammo_556x45Tracer: Ammunition_Base { scope = 2; displayName = "$STR_CfgMagazines_Ammo_556x45Tracer0"; descriptionShort = "$STR_CfgMagazines_Ammo_556x45Tracer1"; model = "\dz\weapons\ammunition\556_LooseRounds.p3d"; iconCartridge = 2; iconType = 1; weight = 4; count = 20; ammo = "Bullet_556x45Tracer"; hiddenSelections[] = {"zbytek"}; hiddenSelectionsTextures[] = {"dz\weapons\ammunition\Data\556_loose_tracer_co.paa"}; class DamageSystem { class GlobalHealth { class Health { hitpoints = 100; healthLevels[] = {{1.0,{"DZ\weapons\ammunition\data\556_LooseRounds5.rvmat"}},{0.7,{"DZ\weapons\ammunition\data\556_LooseRounds5.rvmat"}},{0.5,{"DZ\weapons\ammunition\data\556_LooseRounds5_damage.rvmat"}},{0.3,{"DZ\weapons\ammunition\data\556_LooseRounds5_damage.rvmat"}},{0.0,{"DZ\weapons\ammunition\data\556_LooseRounds5_destruct.rvmat"}}}; }; }; }; };


class Ammo_556x45Tracer: Ammunition_Base
	{
		scope = 2;
		displayName = "$STR_CfgMagazines_Ammo_556x45Tracer0";
		descriptionShort = "$STR_CfgMagazines_Ammo_556x45Tracer1";
		model = "\dz\weapons\ammunition\556_LooseRounds.p3d";
		iconCartridge = 2;
		iconType = 1;
		weight = 4;
		count = 20;
		ammo = "Bullet_556x45Tracer";
		hiddenSelections[] = {"zbytek"};
		hiddenSelectionsTextures[] = {"dz\weapons\ammunition\Data\556_loose_tracer_co.paa"};
		class DamageSystem
		{
			class GlobalHealth
			{
				class Health
				{
					hitpoints = 100;
					healthLevels[] = {{1.0,{"DZ\weapons\ammunition\data\556_LooseRounds5.rvmat"}},{0.7,{"DZ\weapons\ammunition\data\556_LooseRounds5.rvmat"}},{0.5,{"DZ\weapons\ammunition\data\556_LooseRounds5_damage.rvmat"}},{0.3,{"DZ\weapons\ammunition\data\556_LooseRounds5_damage.rvmat"}},{0.0,{"DZ\weapons\ammunition\data\556_LooseRounds5_destruct.rvmat"}}};
				};
			};
		};
	};

Ванильный путь к файлу выше: "ДИСК:\Steam\steamapps\common\DayZ\Addons\weapons_ammunition\DZ\weapons\ammunition\config.cpp" 

Делаешь свой мод, суешь туда все что хочешь, пакуешь и получаешь результат.



Конфиги это не проблема , я устал искать как добавить по мимо ромба новые иконки по типу : до звуковые , бронебойные и тд. 
за пояснее спасибо большое .

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.