Jump to content
Sign in to follow this  
ANZACSAS Steven

Defining Dust/dirt effects for surfaces

Recommended Posts

Hey guys,

 

I ve noticed that most addon terrains are missing their custom definitions for dust effects for specific surfaces.

Heres an example of addon terrain surfaces entered into the dust/dirt effects for air vehicles.

 

The custom addon surfaces are named "SAMountainClutter","SADesertClutter","SAGrassClutter".

 

 

 

class CfgVehicles {
class AllVehicles;
class Air : AllVehicles {
        rightDustEffects[] = {{"SAMountainClutter", "RGrassDryEffects"}, {"SAMountainClutter", "RDirtEffects"}, {"SAMountainClutter", "RDustEffectsAir"}, {"SADesertClutter", "RGrassDryEffects"}, {"SADesertClutter", "RDirtEffects"}, {"SADesertClutter", "RDustEffectsAir"}, {"SAGrassClutter", "RGrassEffects"}, {"SAGrassClutter", "RDustEffectsAir"}};
    };
};

 

For practical purposes i have only listed the addons custom surfaces above.In the config these are entered with all the other surfaces from the vanilla game.Below is how it looks with the vanilla entries aswell as the addon custom named surfaces and their various effects defined.

class CfgVehicles {
class AllVehicles;
class Air : AllVehicles {
		rightDustEffects[] = {{"SAMountainClutter", "RGrassDryEffects"}, {"SAMountainClutter", "RDirtEffects"}, {"SAMountainClutter", "RDustEffectsAir"}, {"SADesertClutter", "RGrassDryEffects"}, {"SADesertClutter", "RDirtEffects"}, {"SADesertClutter", "RDustEffectsAir"}, {"SAGrassClutter", "RGrassEffects"}, {"SAGrassClutter", "RDustEffectsAir"}, {"GdtGrassShort", "RDustEffectsAir"}, {"GdtGrassShort", "RGrassEffects"}, {"GdtGrassTall", "RDustEffectsAir"}, {"GdtGrassTall", "RGrassEffects"}, {"GdtRedDirt", "RDustEffectsAirRed"}, {"GdtField", "RDustEffectsAir"}, {"GdtForest", "RDustEffectsAir"}, {"GdtVolcano", "RDustEffectsAir"}, {"GdtVolcano", "RStonesEffects"}, {"GdtCliff", "RDustEffectsAir"}, {"GdtVolcanoBeach", "RDustEffectsAir"}, {"SurfRoadDirt_exp", "RDustEffectsAirRed"}, {"SurfRoadConcrete_exp", "RDustEffectsAir"}, {"SurfRoadTarmac_exp", "RDustEffectsAir"}, {"GdtStratisConcrete", "RDustEffectsAir"}, {"GdtStratisConcrete", "RDirtEffects"}, {"GdtStratisBeach", "RDustEffectsAir"}, {"GdtStratisBeach", "RStonesEffects"}, {"GdtStratisDirt", "RDustEffectsAir"}, {"GdtStratisDirt", "RDirtEffects"}, {"GdtStratisSeabedCluttered", "RDustEffectsAir"}, {"GdtStratisSeabed", "RDustEffectsAir"}, {"GdtStratisDryGrass", "RDustEffectsAir"}, {"GdtStratisDryGrass", "RGrassDryEffects"}, {"GdtStratisDryGrass", "RDirtEffects"}, {"GdtStratisGreenGrass", "RDustEffectsAir"}, {"GdtStratisGreenGrass", "RGrassEffects"}, {"GdtStratisGreenGrass", "RDirtEffects"}, {"GdtStratisRocky", "RDustEffectsAir"}, {"GdtStratisRocky", "RGrassEffects"}, {"GdtStratisRocky", "RDirtEffects"}, {"GdtStratisThistles", "RDustEffectsAir"}, {"GdtStratisThistles", "RGrassEffects"}, {"GdtStratisThistles", "RDirtEffects"}, {"GdtConcrete", "RDustEffectsAir"}, {"GdtConcrete", "RDirtEffects"}, {"GdtAsphalt", "RDustEffectsAir"}, {"GdtAsphalt", "RDirtEffects"}, {"GdtRubble", "RDustEffectsAir"}, {"GdtRubble", "RDirtEffects"}, {"GdtSoil", "RDustEffectsAir"}, {"GdtSoil", "RDirtEffects"}, {"GdtBeach", "RDustEffectsAir"}, {"GdtBeach", "RStonesEffects"}, {"GdtRock", "RDustEffectsAir"}, {"GdtRock", "RDirtEffects"}, {"GdtDead", "RDustEffectsAir"}, {"GdtDead", "RDirtEffects"}, {"Default", "RDustEffectsAir"}, {"GdtDesert1", "RDustEffectsAir"}, {"GdtDesert1", "RSandEffects"}, {"GdtDesert1", "RDirtEffects"}, {"GdtDesert1", "RStonesEffects"}, {"GdtDesert2", "RDustEffectsAir"}, {"GdtDesert2", "RSandEffects"}, {"GdtDesert2", "RGrassEffects"}, {"GdtDesert2", "RDirtEffects"}, {"GdtDirt", "RDustEffectsAir"}, {"GdtDirt", "RDirtEffects"}, {"GdtGrassGreen", "RDustEffectsAir"}, {"GdtGrassGreen", "RGrassEffects"}, {"GdtGrassGreen", "RDirtEffects"}, {"GdtGrassDry", "RDustEffectsAir"}, {"GdtGrassDry", "RGrassDryEffects"}, {"GdtGrassDry", "RDirtEffects"}, {"GdtGrassWild", "RDustEffectsAir"}, {"GdtGrassWild", "RGrassEffects"}, {"GdtGrassWild", "RDirtEffects"}, {"GdtWildField", "RDustEffectsAir"}, {"GdtWildField", "RGrassEffects"}, {"GdtWildField", "RDirtEffects"}, {"GdtWeed1", "RDustEffectsAir"}, {"GdtWeed1", "RGrassEffects"}, {"GdtWeed1", "RDirtEffects"}, {"GdtWeed2", "RDustEffectsAir"}, {"GdtWeed2", "RGrassEffects"}, {"GdtWeed2", "RDirtEffects"}, {"GdtThorn", "RDustEffectsAir"}, {"GdtThorn", "RGrassEffects"}, {"GdtThorn", "RDirtEffects"}, {"GdtStony", "RDustEffectsAir"}, {"GdtStony", "RGrassEffects"}, {"GdtStony", "RDirtEffects"}, {"GdtStonyGreen", "RDustEffectsAir"}, {"GdtStonyGreen", "RGrassEffects"}, {"GdtStonyGreen", "RDirtEffects"}, {"GdtStonyThistle", "RDustEffectsAir"}, {"GdtStonyThistle", "RGrassEffects"}, {"GdtStonyThistle", "RDirtEffects"}, {"GdtSeabedDeep", "RDustEffectsAir"}, {"GdtSeabed", "RDustEffectsAir"}, {"SurfRoadDirt", "RDustEffectsAir"}, {"SurfRoadConcrete", "RDustEffectsAir"}, {"SurfRoadTarmac", "RDustEffectsAir"}, {"SurfWood", "RDustEffectsAir"}, {"SurfMetal", "RDustEffectsAir"}, {"SurfRoofTin", "RDustEffectsAir"}, {"SurfRoofTiles", "RDustEffectsAir"}, {"SurfIntWood", "RDustEffectsAir"}, {"SurfIntConcrete", "RDustEffectsAir"}, {"SurfIntTiles", "RDustEffectsAir"}, {"SurfIntMetal", "RDustEffectsAir"}};
		leftDustEffects[] = {{"SAMountainClutter", "LGrassDryEffects"}, {"SAMountainClutter", "LDirtEffects"}, {"SAMountainClutter", "LDustEffectsAir"}, {"SADesertClutter", "RGrassDryEffects"}, {"SADesertClutter", "LDirtEffects"}, {"SADesertClutter", "LDustEffectsAir"}, {"SAGrassClutter", "LGrassEffects"}, {"SAGrassClutter", "LDustEffectsAir"}, {"GdtGrassShort", "LDustEffectsAir"}, {"GdtGrassShort", "LGrassEffects"}, {"GdtGrassTall", "LDustEffectsAir"}, {"GdtGrassTall", "LGrassEffects"}, {"GdtRedDirt", "LDustEffectsAirRed"}, {"GdtField", "LDustEffectsAir"}, {"GdtForest", "LDustEffectsAir"}, {"GdtVolcano", "LDustEffectsAir"}, {"GdtVolcano", "LStonesEffects"}, {"GdtCliff", "LDustEffectsAir"}, {"GdtVolcanoBeach", "LDustEffectsAir"}, {"SurfRoadDirt_exp", "LDustEffectsAirRed"}, {"SurfRoadConcrete_exp", "LDustEffectsAir"}, {"SurfRoadTarmac_exp", "LDustEffectsAir"}, {"GdtStratisConcrete", "LDustEffectsAir"}, {"GdtStratisConcrete", "LDirtEffects"}, {"GdtStratisBeach", "LDustEffectsAir"}, {"GdtStratisBeach", "LStonesEffects"}, {"GdtStratisDirt", "LDustEffectsAir"}, {"GdtStratisDirt", "LDirtEffects"}, {"GdtStratisSeabedCluttered", "LDustEffectsAir"}, {"GdtStratisSeabed", "LDustEffectsAir"}, {"GdtStratisDryGrass", "LDustEffectsAir"}, {"GdtStratisDryGrass", "LGrassDryEffects"}, {"GdtStratisDryGrass", "LDirtEffects"}, {"GdtStratisGreenGrass", "LDustEffectsAir"}, {"GdtStratisGreenGrass", "LGrassEffects"}, {"GdtStratisGreenGrass", "LDirtEffects"}, {"GdtStratisRocky", "LDustEffectsAir"}, {"GdtStratisRocky", "LGrassEffects"}, {"GdtStratisRocky", "LDirtEffects"}, {"GdtStratisThistles", "LDustEffectsAir"}, {"GdtStratisThistles", "LGrassEffects"}, {"GdtStratisThistles", "LDirtEffects"}, {"GdtConcrete", "LDustEffectsAir"}, {"GdtConcrete", "LDirtEffects"}, {"GdtAsphalt", "LDustEffectsAir"}, {"GdtAsphalt", "LDirtEffects"}, {"GdtRubble", "LDustEffectsAir"}, {"GdtRubble", "LGrassEffects"}, {"GdtRubble", "LDirtEffects"}, {"GdtSoil", "LDustEffectsAir"}, {"GdtSoil", "LDirtEffects"}, {"GdtBeach", "LDustEffectsAir"}, {"GdtBeach", "LStonesEffects"}, {"GdtRock", "LDustEffectsAir"}, {"GdtRock", "LDirtEffects"}, {"GdtDead", "LDustEffectsAir"}, {"GdtDead", "LDirtEffects"}, {"Default", "LDustEffectsAir"}, {"GdtDesert1", "LDustEffectsAir"}, {"GdtDesert1", "LSandEffects"}, {"GdtDesert1", "LDirtEffects"}, {"GdtDesert1", "LStonesEffects"}, {"GdtDesert2", "LDustEffectsAir"}, {"GdtDesert2", "LSandEffects"}, {"GdtDesert2", "LGrassEffects"}, {"GdtDesert2", "LDirtEffects"}, {"GdtDirt", "LDustEffectsAir"}, {"GdtDirt", "LDirtEffects"}, {"GdtGrassGreen", "LDustEffectsAir"}, {"GdtGrassGreen", "LGrassEffects"}, {"GdtGrassGreen", "LDirtEffects"}, {"GdtGrassDry", "LDustEffectsAir"}, {"GdtGrassDry", "LGrassDryEffects"}, {"GdtGrassDry", "LDirtEffects"}, {"GdtGrassWild", "LDustEffectsAir"}, {"GdtGrassWild", "LGrassEffects"}, {"GdtGrassWild", "LDirtEffects"}, {"GdtWildField", "LDustEffectsAir"}, {"GdtWildField", "LGrassEffects"}, {"GdtWildField", "LDirtEffects"}, {"GdtWeed1", "LDustEffectsAir"}, {"GdtWeed1", "LGrassEffects"}, {"GdtWeed1", "LDirtEffects"}, {"GdtWeed2", "LDustEffectsAir"}, {"GdtWeed2", "LGrassEffects"}, {"GdtWeed2", "LDirtEffects"}, {"GdtThorn", "LDustEffectsAir"}, {"GdtThorn", "LGrassEffects"}, {"GdtThorn", "LDirtEffects"}, {"GdtStony", "LDustEffectsAir"}, {"GdtStony", "LGrassEffects"}, {"GdtStony", "LDirtEffects"}, {"GdtStonyGreen", "LDustEffectsAir"}, {"GdtStonyGreen", "LGrassEffects"}, {"GdtStonyGreen", "LDirtEffects"}, {"GdtStonyThistle", "LDustEffectsAir"}, {"GdtStonyThistle", "LGrassEffects"}, {"GdtStonyThistle", "LDirtEffects"}, {"GdtSeabedDeep", "LDustEffectsAir"}, {"GdtSeabed", "LDustEffectsAir"}, {"SurfRoadDirt", "LDustEffectsAir"}, {"SurfRoadConcrete", "LDustEffectsAir"}, {"SurfRoadTarmac", "LDustEffectsAir"}, {"SurfWood", "LDustEffectsAir"}, {"SurfMetal", "LDustEffectsAir"}, {"SurfRoofTin", "LDustEffectsAir"}, {"SurfRoofTiles", "LDustEffectsAir"}, {"SurfIntWood", "LDustEffectsAir"}, {"SurfIntConcrete", "LDustEffectsAir"}, {"SurfIntTiles", "LDustEffectsAir"}, {"SurfIntMetal", "LDustEffectsAir"}};
	};
};

 

 

Without the custom entries the game uses the base class (class default) dust effects.Very basic effects.The bis surfaces quite often use more than one dust/dirt effect per surface so as to achieve unique effects for many surfaces.

 

Hope it helps.

:)

 

 

 

Share this post


Link to post
Share on other sites

If your map is using CUP it's best to add their configs as well, otherwise you break the dust on them

  • Like 1

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  

×