Realistic Tracer Documentation: ------------------------------------------------------------------------------------------------- Method 1 Easy & Automatic Enabling of the Tracers: Place the CENT_Tracer "Tracer Auto Add" Gamelogic on the Map. That's all! ------------------------------------------------------------------------------------------------- Method 2 Init line of the unit for manual addition: * Place the CENT_Tracer "Tracer Init" Gamelogic on the MAP. * Init line for unit: d=[unitname, (tracer settings)] spawn CENT_tracer; e.g: d=[player6, 5, 0, 1, 2] spawn CENT_tracer; Note, if you do not place the Gamelogic on the map, please use the following syntax: * [unitname, (tracer settings)] execVM "\cent_tracer\cent_tracer.sqf"; e.g: [player6, 5, 0, 1, 2] execVM "\cent_tracer\cent_tracer.sqf"; The Tracer backengine will automaticly initialize if it wasn't yet. ------------------------------------------------------------------------------------------------- Method 3 Using a trigger: * Place the CENT_Tracer "Tracer Init" Gamelogic on the MAP. * Create a trigger with the parameters you desire * Trigger onActivation Field: {d=[_x, (tracer settings)] spawn CENT_tracer;} forEach ThisList e.g: {d=[_x, 5, 0, 1, 2] spawn CENT_tracer;} forEach ThisList ------------------------------------------------------------------------------------------------- Method 4 Script Snippet for Automatic Enabling of the Tracers: (Though it's easier to just place the "Tracer Auto Add" Gamelogic on the map :D) CENT_AUTO=true; // Enable loop CENT_REFRESH=30; // Sleep time CENT_PATH="\cent_tracer\"; // Path to take the script from, change to "" if you have the script inside your mission folder [] execVM (CENT_PATH+"cent_tracer-Init.sqf"); ------------------------------------------------------------------------------------------------- Tracer config: [unitname, , , , ] Default: [this, 3, 0, 1, 1] Tracer every 3rd round, no ricochets, all weapons, size 1 ------------------------------------------------------------------------------------------------- New Variables: * CENT_UNIT_ARRAY2 - Array. Used for only placing the units in without their parameters, for easy index searching etc. * CENT_UNIT_ARRAY3 - Array. Used for exclusion units, units inside this array will not get tracers, used by the Auto Trigger, gamelogics etc will automaticly be excluded. * CENT_REFRESH - Number. Default: 30. Used for the Trigger loop, Put somewhere in your init.sqf before initializing the script: CENT_REFRESH=20; to make the loop sleep 20 seconds * CENT_AUTO - Boolean. Default: false. Used for the Trigger loop. Put somewhere in your init.sqf before initializing the script: CENT_AUTO=true; to enable the loop * CENT_PATH - String. Default: "\cent_tracer\". Put in your init.sqf before initializing the script to for instance use the scripts from within side a mission folder instead of the addon. * Default Settings used, you can overwrite these values as you wish. These values are taken when using Auto Trigger, and if you do not specify any tracer settings when adding a unit manually * CENT_SETT_TRACERSETTING = 3; * CENT_SETT_RICO = 0; * CENT_SETT_TRACER = 1; * CENT_SETT_SIZEMOD = 1; Demo Missions: * Legacy - Displays how to manually add units to the script * Modern - Displays how to manually add units to the script while making use of a gamelogic and as such being able to use spawn instead of execVM * Auto - Displays how to automaticly add units to the script. * ScriptsInside - Displays how to make it possible to run the scripts from inside Mission folder * Demo - Couple of East vs West Fighting :-) New Gamelogics: * AUTO - Enables the Automatic addition of units to the trigger script * INIT - Simply enables the Tracer Backengine Updates by Sickboy (sb_at_6thSense.eu)