This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Initializes scripted IEDs | |
// Author: Freddo | |
// #define DEBUG | |
params ["_mines", ["_detonateRadius", 5], ["_ownedSide", east]]; | |
private _statemachine = [_mines, true] call CBA_statemachine_fnc_create; | |
_statemachine setVariable ["FRD_ownedSide", _ownedSide]; | |
_statemachine setVariable ["FRD_radius", _detonateRadius]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Author: Freddo3000 | |
//Description: Replaces CUP buildings with Contact DLC equivalents | |
//License: https://www.bohemia.net/community/licenses/arma-public-license-share-alike | |
//Usage: [] execVM "cup_contact_replacement.sqf"; | |
if !(isServer) exitWith {}; | |
#define REPLACE(OLDTYPE,NEWTYPE) case OLDTYPE: {[_x, NEWTYPE] call _fnc_replaceBuilding} | |
_fnc_replaceBuilding = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# MIT License | |
# | |
# Copyright (c) 2017 Marcel de Vries | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |