-
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.
- Add categories to zeus modules to group them based on their functionality - Add new utility modules: 1. Toggle simulation 2. Update editable objects - Clean up some of the zeus module code (standardise function headers, camel case, etc.)
- Loading branch information
1 parent
608f8bb
commit 324bf68
Showing
35 changed files
with
288 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
class CfgFactionClasses { | ||
class GVAR(AI) { | ||
displayName = "ACE AI"; | ||
priority = 2; | ||
side = 7; | ||
}; | ||
class GVAR(Captive) { | ||
displayName = "ACE Captive"; | ||
priority = 2; | ||
side = 7; | ||
}; | ||
class GVAR(Medical) { | ||
displayName = "ACE Medical"; | ||
priority = 2; | ||
side = 7; | ||
}; | ||
class GVAR(Repair) { | ||
displayName = "ACE Repair"; | ||
priority = 2; | ||
side = 7; | ||
}; | ||
class GVAR(Utility) { | ||
displayName = "ACE Utility"; | ||
priority = 2; | ||
side = 7; | ||
}; | ||
}; |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* 2: activated <BOOL> | ||
* | ||
* Return Value: | ||
* nil | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
* 2: activated <BOOL> | ||
* | ||
* Return Value: | ||
* nil | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* 2: activated <BOOL> | ||
* | ||
* Return Value: | ||
* nil | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
* 1: The zeus player <UNIT> | ||
* | ||
* Return Value: | ||
* nil | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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,27 @@ | ||
/* | ||
* Author: Fisher, SilentSpike | ||
* Toggle Simulation on object. | ||
* | ||
* Arguments: | ||
* 0: The module logic <OBJECT> | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
||
#include "script_component.hpp" | ||
|
||
params ["_logic"]; | ||
|
||
if !(local _logic) exitWith {}; | ||
|
||
private _object = attachedTo _logic; | ||
if (isNull _object) then { | ||
[LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured); | ||
} else { | ||
[QEGVAR(common,enableSimulationGlobal), [_object, !(simulationEnabled _object)]] call CBA_fnc_serverEvent; | ||
}; | ||
|
||
deleteVehicle _logic; |
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: Activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* 2: activated <BOOL> | ||
* | ||
* Return Value: | ||
* None <NIL> | ||
* None | ||
* | ||
* Public: No | ||
*/ | ||
|
Oops, something went wrong.