Cleanup old AGM

This commit is contained in:
PabstMirror 2015-01-13 19:57:15 -06:00
parent 01f16be76b
commit 2df8f4f1fb
13 changed files with 16 additions and 16 deletions

View File

@ -1,7 +1,7 @@
#include "script_component.hpp"
class CfgPatches {
class AGM_Aircraft {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;

View File

@ -38,7 +38,7 @@ player addEventHandler ["Take", {
_giver = _this select 1;
_config = ConfigFile >> "CfgWeapons" >> _item;
if (isClass _config && {getNumber(_config >> "AGM_Detonator") == 1}) then {
if (isClass _config && {getNumber(_config >> "ACE_Detonator") == 1}) then {
private ["_clackerItems"];
_clackerItems = _giver getVariable [QGVAR(Clackers), []];
_getter SetVariable [QGVAR(Clackers), (_getter getVariable [QGVAR(Clackers), []]) + _clackerItems, true];
@ -56,7 +56,7 @@ player addEventHandler ["Put", {
_giver = _this select 0;
_config = ConfigFile >> "CfgWeapons" >> _item;
if (isClass _config && {getNumber(_config >> "AGM_Detonator") == 1}) then {
if (isClass _config && {getNumber(_config >> "ACE_Detonator") == 1}) then {
private ["_clackerItems"];
_clackerItems = _giver getVariable [QGVAR(Clackers), []];
_getter SetVariable [QGVAR(Clackers), (_getter getVariable [QGVAR(Clackers), []]) + _clackerItems, true];

View File

@ -24,7 +24,7 @@ private ["_type", "_varName", "_data"];
_type = _this select 0;
_varName = format ["AGM_CrewInfo_Cache_%1", _type];
_varName = format ["ACE_CrewInfo_Cache_%1", _type];
_data = + (uiNamespace getVariable _varName);
if (!isNil "_data") exitWith {

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_addMapFunction
Name: ACE_SwitchUnits_fnc_addMapFunction
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_handleMapClick
Name: ACE_SwitchUnits_fnc_handleMapClick
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_initPlayer
Name: ACE_SwitchUnits_fnc_initPlayer
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_isValidAi
Name: ACE_SwitchUnits_fnc_isValidAi
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_markAiOnMap
Name: ACE_SwitchUnits_fnc_markAiOnMap
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_module
Name: ACE_SwitchUnits_fnc_module
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_nearestPlayers
Name: ACE_SwitchUnits_fnc_nearestPlayers
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_switchBack
Name: ACE_SwitchUnits_fnc_switchBack
Author(s):
bux578

View File

@ -1,5 +1,5 @@
/*
Name: AGM_SwitchUnits_fnc_switchUnit
Name: ACE_SwitchUnits_fnc_switchUnit
Author(s):
bux578

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Edited with tabler - 2014-12-20 -->
<Project name="AGM">
<Project name="ACE">
<Package name="SwitchUnits">
<Key ID="STR_AGM_SwitchUnits_SwitchedUnit">
<Key ID="STR_ACE_SwitchUnits_SwitchedUnit">
<English>Switched unit</English>
<German>Einheit gewechselt</German>
<Russian>Юнит переключен</Russian>
@ -10,7 +10,7 @@
<Polish>Przełącz jednostkę</Polish>
<Spanish>Cambiado de unidad</Spanish>
</Key>
<Key ID="STR_AGM_SwitchUnits_TooCloseToEnemy">
<Key ID="STR_ACE_SwitchUnits_TooCloseToEnemy">
<English>This unit is too close to the enemy.</English>
<German>Diese Einheit ist zu nah am Feind.</German>
<Russian>Юнит слишком близок к противнику</Russian>