-
Notifications
You must be signed in to change notification settings - Fork 0
Script version install instructions
TheTimidShade edited this page Mar 14, 2022
·
3 revisions
- Download the script files via the green 'Code' button in the top right of the repository. Extract the ZIP file somewhere easily accessible.
- Open your mission folder. You can do this from the 3den Editor using (Scenario > Open Scenario Folder).
- Copy the 'scripts' folder into your mission folder.
- If you do not already have a
description.ext
file in your mission, copy it into your mission folder. If you already have one, copy the contents of mydescription.ext
into yours. Any 'CfgSomething' classes need to be merged together into one. e.g.
// from TTS Cloak
class CfgFunctions
{
#include "scripts\tts_cloak\cfgFunctions.hpp"
};
and
// from TTS Beam Laser
class CfgFunctions
{
#include "scripts\tts_beam\cfgFunctions.hpp"
};
should become
// what CfgFunctions should look like when using both
class CfgFunctions
{
#include "scripts\tts_cloak\cfgFunctions.hpp"
#include "scripts\tts_beam\cfgFunctions.hpp"
};
- If you do not already have a
stringtable.xml
file in your mission, copy it into your mission folder. If you already have one, copy everything EXCEPT THE FIRST LINE from mystringtable.xml
into yours. - Done! You can now trigger a beam strike using
// basic beam strike on target position, see function documentation/examples for more info
[_beamTarget] spawn tts_beam_fnc_beam;
Alternatively, if you are using Zeus Enhanced you can do this via Zeus modules.