Jump to content
Sign in to follow this  
chrs

CfgAmmo adding a coustom HitEffect to all bullets

Recommended Posts

Hi,

 

Does anyone know how to edit the "default" or a base cfgammo class to allow a new hit effect to be added to it. I'd like all bullets to inherit the new impact effect, as according the the WIKI the "impact" entry in cfgSurfaces reads it when its decides what bullet splash effect to spawn on the ground.

 

I'd like to add the "hitSnow" entry to all bullets in the base game and any mod.

 

class CfgAmmo
{
    class Default
    {
        class HitEffects
        {
            hitSnow = "ImpactSnow";
        };
    };
};


It seems you are unable to edit the base classes in cfgAmmo in the same way you can with say CfgVehicles:
 

class CfgVehicles
{
    class All;
    class AllVehicles: All{};
    class Land: AllVehicles{};
    class LandVehicle: Land{};
    class car: LandVehicle
    {....


Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×