-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from usecforce/wiki-wording
Wiki wording
- Loading branch information
Showing
44 changed files
with
287 additions
and
143 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,28 @@ | ||
class Extended_PreInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE( call COMPILE_FILE(XEH_preInit) ); | ||
init = QUOTE(call COMPILE_FILE(XEH_preInit)); | ||
}; | ||
}; | ||
|
||
class Extended_PostInit_EventHandlers { | ||
class ADDON { | ||
clientInit = QUOTE( call COMPILE_FILE(XEH_postInitClient) ); | ||
init = QUOTE(call COMPILE_FILE(XEH_postInit)); | ||
}; | ||
}; | ||
|
||
class Extended_FiredBIS_EventHandlers { | ||
class CAManBase { | ||
class ADDON { | ||
firedBIS = QUOTE( _this call FUNC(replaceATWeapon) ); | ||
firedBIS = QUOTE(_this call FUNC(replaceATWeapon)); | ||
}; | ||
}; | ||
}; | ||
|
||
// handle preloaded missile | ||
class Extended_Init_EventHandlers { | ||
class Extended_InitPost_EventHandlers { | ||
class CAManBase { | ||
class ADDON { | ||
init = QUOTE( _this call FUNC(takeLoadedATWeapon) ); | ||
}; | ||
}; | ||
}; | ||
|
||
class Extended_Take_EventHandlers { | ||
class CAManBase { | ||
class ADDON { | ||
take = QUOTE( _this call FUNC(takeLoadedATWeapon); [_this select 0] call FUNC(updateInventoryDisplay); ); | ||
}; | ||
}; | ||
}; | ||
|
||
class Extended_Put_EventHandlers { | ||
class CAManBase { | ||
class ADDON { | ||
put = QUOTE( [_this select 0] call FUNC(updateInventoryDisplay); ); | ||
init = QUOTE([ARR_2(_this select 0, secondaryWeapon (_this select 0))] call FUNC(takeLoadedATWeapon); systemChat str [ARR_2(_this select 0, secondaryWeapon (_this select 0))]); | ||
}; | ||
}; | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// by commy2 | ||
#include "script_component.hpp" | ||
|
||
if (!hasInterface) exitWith {}; | ||
|
||
["inventoryDisplayLoaded", {[ACE_player, _this select 0] call FUNC(updateInventoryDisplay)}] call EFUNC(common,addEventHandler); | ||
["playerInventoryChanged", { | ||
[_this select 0, _this select 1 select 11] call FUNC(takeLoadedATWeapon); | ||
[_this select 0] call FUNC(updateInventoryDisplay); | ||
}] call EFUNC(common,addEventHandler); |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
class Extended_PreInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_preInit)); | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class CfgVehicles { | ||
class Box_NATO_Support_F; | ||
class ACE_Box_Misc: Box_NATO_Support_F { | ||
class TransportItems { | ||
MACRO_ADDITEM(ACE_wirecutter,4); | ||
}; | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
class CfgWeapons { | ||
class InventoryItem_Base_F; | ||
class ACE_ItemCore; | ||
class InventoryItem_Base_F; | ||
class ACE_ItemCore; | ||
|
||
class ACE_wirecutter: ACE_ItemCore { | ||
author = "$STR_ACE_Common_ACETeam"; | ||
displayName = "$STR_ACE_logistics_wirecutter_wirecutterName"; | ||
descriptionShort = "$STR_ACE_logistics_wirecutter_wirecutterDescription"; | ||
model = "\A3\weapons_F\ammo\mag_univ.p3d"; | ||
picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa)); | ||
scope = 2; | ||
class ItemInfo: InventoryItem_Base_F { | ||
mass = 100; | ||
class ACE_wirecutter: ACE_ItemCore { | ||
author = "$STR_ACE_Common_ACETeam"; | ||
displayName = "$STR_ACE_logistics_wirecutter_wirecutterName"; | ||
descriptionShort = "$STR_ACE_logistics_wirecutter_wirecutterDescription"; | ||
model = "\A3\weapons_F\ammo\mag_univ.p3d"; | ||
picture = QUOTE(PATHTOF(ui\item_wirecutter_ca.paa)); | ||
scope = 2; | ||
class ItemInfo: InventoryItem_Base_F { | ||
mass = 100; | ||
}; | ||
}; | ||
}; | ||
}; |
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
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
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
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
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
Oops, something went wrong.