This repository has been archived by the owner on May 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial commit * Add settings * Begin postInit work * Add refill actions * Add items and drinking sound * Add update function loop * Add consume actions * More refill action work * Add HUD and more update function work * Function headers * Handle respawn * Add translations * Various improvements * Add README file and refill action always show * RVMAT config guidelines and PBOPREFIX new line * HUD improvements: ability to reposition and settings * Fix requiredAddons and add to AUTHORS.txt * Misc improvements to refill actions * Add handleRespawn to PREP * Remove addRefillActions function, move to postInit + refill icon * Update water refill system to include water supply * Compile water sources list at preStart * Allow time settings to be set to lower values * Refactor update loop and 1 sec update interval * Add handleEffects function * Move ACEX prefix to stringtable for settings category * Change HUD thirst icon to water drop * Rework HUD and add draining icon HUD type * Update HUD settings * Re-integrate HUD transparency setting * Re-add auto showing of HUD and when hovering interaction * Optimize getConsumableChildren function * Re-add repositioning of HUD and update IGUI preview * Add drink animations * Update CfgWeapons with new entries * Update consumable functions for new entries * Add water actions to map objects * Add drinkable soda cans * Make drinking animations transition * Add new drinking sounds * Animation and sound syncing for consumeItem * delay a frame for progress bar * Cleanup stringtables and water source actions * Add fade delay to HUD when hovering on interaction * Add soda can animations and sounds * Add placeable items * Clearer config entry names * Action offset support for p3ds * Disable Debug * Show refill actions when source has supply of 0
- Loading branch information
1 parent
fc2e5ef
commit 4152b39
Showing
77 changed files
with
2,536 additions
and
0 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 |
---|---|---|
|
@@ -92,6 +92,7 @@ licht-im-Norden87 <[email protected]> | |
Macusercom <[email protected]> | ||
MarcBook | ||
meat <[email protected]> | ||
mharis001 <[email protected]> | ||
Michail Nikolaev | ||
MikeMatrix <[email protected]> | ||
nic547 <[email protected]> | ||
|
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 @@ | ||
z\acex\addons\field_rations |
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,17 @@ | ||
class Extended_PreStart_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_preStart)); | ||
}; | ||
}; | ||
|
||
class Extended_PreInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_preInit)); | ||
}; | ||
}; | ||
|
||
class Extended_PostInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_postInit)); | ||
}; | ||
}; |
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,47 @@ | ||
class CfgMovesBasic; | ||
class CfgMovesMaleSdr: CfgMovesBasic { | ||
class States { | ||
class CutSceneAnimationBase; | ||
class GVAR(drinkStand): CutSceneAnimationBase { | ||
file = QPATHTOF(anim\drink_stand.rtm); | ||
actions = "CivilStandActions"; | ||
speed = 0.1; | ||
disableWeapons = 1; | ||
disableWeaponsLong = 1; | ||
canReload = 0; | ||
canPullTrigger = 0; | ||
showWeaponAim = 0; | ||
looped = 0; | ||
head = "headNo"; | ||
aiming = "aimingNo"; | ||
legs = "legsNo"; | ||
connectTo[] = {"AmovPercMstpSnonWnonDnon", 0.1}; | ||
interpolateFrom[] = {"AmovPercMstpSnonWnonDnon", 0.1}; | ||
interpolateTo[] = {"Unconscious", 0.1}; | ||
}; | ||
class GVAR(drinkCrouch): GVAR(drinkStand) { | ||
file = QPATHTOF(anim\drink_crouch.rtm); | ||
actions = "CivilKneelActions"; | ||
connectTo[] = {"AmovPknlMstpSnonWnonDnon", 0.1}; | ||
interpolateFrom[] = {"AmovPknlMstpSnonWnonDnon", 0.1}; | ||
}; | ||
class GVAR(drinkProne): GVAR(drinkStand) { | ||
file = QPATHTOF(anim\drink_prone.rtm); | ||
actions = "CivilProneActions"; | ||
connectTo[] = {"AmovPpneMstpSnonWnonDnon", 0.1}; | ||
interpolateFrom[] = {"AmovPpneMstpSnonWnonDnon", 0.1}; | ||
}; | ||
class GVAR(drinkStandCan): GVAR(drinkStand) { | ||
file = QPATHTOF(anim\drink_stand_can.rtm); | ||
speed = 1/9; | ||
}; | ||
class GVAR(drinkCrouchCan): GVAR(drinkCrouch) { | ||
file = QPATHTOF(anim\drink_crouch_can.rtm); | ||
speed = 1/9; | ||
}; | ||
class GVAR(drinkProneCan): GVAR(drinkProne) { | ||
file = QPATHTOF(anim\drink_prone_can.rtm); | ||
speed = 1/9; | ||
}; | ||
}; | ||
}; |
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,22 @@ | ||
class CfgSounds { | ||
class GVAR(drink1) { | ||
name = QGVAR(drink1); | ||
sound[] = {QPATHTOF(sounds\drink1.ogg), 1, 1}; | ||
titles[] = {}; | ||
}; | ||
class GVAR(drink2) { | ||
name = QGVAR(drink2); | ||
sound[] = {QPATHTOF(sounds\drink2.ogg), 1, 1}; | ||
titles[] = {}; | ||
}; | ||
class GVAR(drinkCan1) { | ||
name = QGVAR(drinkCan1); | ||
sound[] = {QPATHTOF(sounds\drink_can1.ogg), 1, 1}; | ||
titles[] = {}; | ||
}; | ||
class GVAR(drinkCan2) { | ||
name = QGVAR(drinkCan2); | ||
sound[] = {QPATHTOF(sounds\drink_can2.ogg), 1, 1}; | ||
titles[] = {}; | ||
}; | ||
}; |
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,29 @@ | ||
class CfgUIGrids { | ||
class IGUI { | ||
class Presets { | ||
class Arma3 { | ||
class Variables { | ||
GVAR(grid)[] = { | ||
{ | ||
safeZoneX + safeZoneW - 4.2 * GUI_GRID_W, | ||
safeZoneY + safeZoneH - 2.2 * GUI_GRID_H, | ||
4 * GUI_GRID_W, | ||
2 * GUI_GRID_H | ||
}, | ||
GUI_GRID_W, | ||
GUI_GRID_H | ||
}; | ||
}; | ||
}; | ||
}; | ||
class Variables { | ||
class GVAR(grid) { | ||
displayName = CSTRING(IGUI_DisplayName); | ||
description = CSTRING(IGUI_Description); | ||
preview = QPATHTOF(ui\igui_preview.paa); | ||
saveToProfile[] = {0, 1}; | ||
canResize = 0; | ||
}; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.