hi,
first of all, i want to thanks for this nice mod. keep it up.
recently, i wanted to disable the tracers for all M16 and M4 rifles except for the ones with scope (M16A4_ACG, M16A4_ACG_GL, M4SPR) and all AK rifles except AKS74PSO. so i edited the cfgWeapons.hpp file
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class cfgWeapons
{
class Rifle;
// All Rifles are inherited from these
class M16A2: Rifle
{
SIX_tracerEnable = 0;
SIX_tracerDiff = 0; // 0 = false, 1=true; If true, the weapon is sensitive for the "Rifle Bullet Tracers" Difficulty settings in ArmA Options
};
class M16A4_ACG: M16A2
{
SIX_tracerEnable = 1;
SIX_tracerDiff = 1;
};
class M16A4_ACG_GL: M16A2
{
SIX_tracerEnable = 1;
SIX_tracerDiff = 1;
};
class M4: Rifle
{
SIX_tracerEnable = 0;
SIX_tracerDiff = 0;
};
class M4SPR: M4
{
SIX_tracerEnable = 1;
SIX_tracerDiff = 1;
};
class G36a: Rifle
{
SIX_tracerDiff = 1;
};
class AK74: Rifle
{
SIX_tracerEnable = 0;
SIX_tracerDiff = 0;
};
class AKS74PSO: AK74
{
SIX_tracerEnable = 1;
SIX_tracerDiff = 1;
};
// M249 only
class M249: Rifle
{
SIX_tracerDiff = 1;
};
};
everything works fine.
then i did the same thing with snipe rifles (M24, M107, SVD, KSVK) to enable the tracers
(i choose the M24 snipe rifle for instance)
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class M24: Rifle
{
SIX_tracerEnable = 1;
SIX_tracerDiff = 1;
};
but nothing changed
i though maybe i have to check the cfgAmmo.hpp file and i changed some lines so that i can see the bullets of the snipe rifles
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class B_762x51_Ball: BulletBase
{
tracerColor[] = {0, 0, 0, 0};
tracerColorR[] = {0, 0, 0, 0};
SIX_tracerEnable = 1;
SIX_tracerColor = "R";
SIX_tracerPer = 1;
SIX_tracerSize = "Small";
SIX_tracerLife = 0.697;
};
but nothing changed (i still cant see the tracers)
so this is my question: where i made a mystake or do i have to do something more ?