Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
0698098
Add conversion atm to kPa
Kexanone Aug 13, 2025
cd588f3
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Aug 18, 2025
06d5f64
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Aug 30, 2025
96ec608
Init project
Kexanone Aug 31, 2025
aba289c
Add settings
Kexanone Aug 31, 2025
e767634
Add blood volume getters
Kexanone Aug 31, 2025
f4d5fde
Add respiratory vitals to component
Kexanone Aug 31, 2025
3461374
Implement calculations of vitals
Kexanone Aug 31, 2025
09a66a7
Add overrides of vitals for cardiac arrest and resusication states
Kexanone Aug 31, 2025
f9e54a0
Add evaluations of SpO2
Kexanone Aug 31, 2025
36b8812
Add diag for respiratory vitals
Kexanone Aug 31, 2025
3229ef9
Add chest hit zone override
Kexanone Oct 6, 2025
492e88c
Add SpO2 tooltip
Kexanone Oct 6, 2025
2a11c73
Add constants
Kexanone Oct 13, 2025
70bcee7
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Oct 20, 2025
cadee69
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Nov 8, 2025
f91244e
Add contributors
Kexanone Nov 8, 2025
17cc62c
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Nov 20, 2025
c528e64
Update contributors
Kexanone Dec 2, 2025
4a15aa1
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Dec 7, 2025
9981e15
Correct name of airway methods
Kexanone Dec 11, 2025
83fc63c
Lower default probability for airway obstruction
Kexanone Dec 11, 2025
d9b41d3
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Dec 11, 2025
e49c971
Always trigger ACE_Medical_Event_UnconsciousPoseChange on server
Kexanone Dec 11, 2025
aedae99
Add slots for attachable medical items
Kexanone Dec 11, 2025
733ce91
Add assets for medical items
Kexanone Dec 11, 2025
527205e
Implement consumable and damage effects
Kexanone Dec 11, 2025
3161adf
Add item prefabs
Kexanone Dec 11, 2025
ea63ef8
Add user actions to character
Kexanone Dec 11, 2025
96dbcbf
Register new status notifications
Kexanone Dec 11, 2025
fa2cfd1
Add new actions to medical radial menu
Kexanone Dec 11, 2025
4ff02ae
Add localizations
Kexanone Dec 11, 2025
55396ba
Add handling for obstruction of airway
Kexanone Dec 11, 2025
c2920d5
Register medical items in catalogues
Kexanone Dec 11, 2025
51b697f
Remove old attribute
Kexanone Dec 11, 2025
20147ad
Move regen scale update request to airway setters
Kexanone Dec 12, 2025
8d53ff5
Extend uncon graph for head tilt command
Kexanone Dec 12, 2025
fb6cedf
Move regen scale update request to airway setters
Kexanone Dec 12, 2025
d5413fe
Add head tilting action
Kexanone Dec 12, 2025
a11ab3e
Add clear vomit action
Kexanone Dec 12, 2025
6134585
Update stringtables
Kexanone Dec 12, 2025
beec499
Reorder settings and replace PTX volume with scale
Kexanone Dec 12, 2025
bc101f7
Increase PTX chance
Kexanone Dec 12, 2025
fdac0aa
Remove check breathing from chest
Kexanone Dec 13, 2025
7de259b
Temporarily disable oxygen mask in catalogs
Kexanone Dec 13, 2025
85e9f11
Add vomit system
Kexanone Dec 13, 2025
d3c1846
Add vomit timer to context
Kexanone Dec 14, 2025
6971d7b
Register/unregister vomit system
Kexanone Dec 14, 2025
44f09ea
Add tmp PTX handling to chest
Kexanone Dec 14, 2025
49de915
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Dec 14, 2025
7a3a666
Reimport assets
Kexanone Dec 14, 2025
98ac2b1
Add self application of chest seal
Kexanone Dec 14, 2025
a30d9bf
Reimport assets
Kexanone Dec 14, 2025
3a60af6
Add lungs icon
Kexanone Dec 14, 2025
c6ca231
Add pneumothorax state to inspection widget
Kexanone Dec 14, 2025
d35a708
Refactor PTX tooltip entry to prefab
Kexanone Dec 14, 2025
149dd13
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Dec 14, 2025
00407bf
Add missing meta file
Kexanone Dec 14, 2025
c058724
Add pneumothorax info to inventory menu
Kexanone Dec 14, 2025
0680576
Add pneumothorax invoker and update visibility of state in inventory …
Kexanone Dec 15, 2025
e97449d
Replace old blend file
Kexanone Dec 15, 2025
2c1d120
Make chest seal accessible as treatment option in inventory menu
Kexanone Dec 15, 2025
b80f8f9
Reexport chest seal animations
Kexanone Dec 15, 2025
3bc0715
Pass world to system GetInstance
Kexanone Dec 15, 2025
7fb93e9
Add pneumothorax deterioration
Kexanone Dec 15, 2025
1da49af
Add pneumothorax diag
Kexanone Dec 15, 2025
b7bbe58
Increase default tension pneumothorax chance
Kexanone Dec 15, 2025
d274d5c
Improve member func names
Kexanone Dec 15, 2025
d49ab75
Add default values as settings and remove unused settings
Kexanone Dec 15, 2025
6c0c4cc
Adjust breathing rate to pneumothorax
Kexanone Dec 15, 2025
a1a5b41
Update remarks
Kexanone Dec 15, 2025
0727c5f
Adjust HR for tachypnea
Kexanone Dec 15, 2025
5fbd2c7
Update remarks
Kexanone Dec 15, 2025
45971df
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Dec 15, 2025
2b2b5ef
Update docs
Kexanone Dec 15, 2025
d709562
Generate GUID for dev mod
Kexanone Dec 15, 2025
2295866
Merge branch 'medical/add-circulation' into medical/add-breathing
Kexanone Dec 16, 2025
31a61e9
Add docs
Kexanone Dec 25, 2025
37202db
Remove unpublished note
Kexanone Dec 25, 2025
ec40ec3
Update docs
Kexanone Dec 25, 2025
63c0ab5
Rename PTX
Kexanone Dec 28, 2025
51d5c60
Add SpO2 to glossary
Kexanone Dec 28, 2025
d8818b2
Medical Breathing - Korean translations (#360)
Psycool3695 Jan 12, 2026
dc9321d
Medical Breathing - Update Chinese localization (#350)
TWYuanYu Jan 12, 2026
1a8f602
Update stringtable runtimes
Kexanone Jan 12, 2026
0140ef6
Fix and add comments
Kexanone Jan 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ veteran29
AkiKay
ArtOfWar
Badger 2-3
Ban4na
Caleb
denispol
dr_ext
dustypeek
Fedora12 <monn45888@gmail.com>
Glowbal
gnif <geoff@hostfission.com>
Jonpas <jonpas33@gmail.com>
Kanf
Katalam
LorenLuke
Mad [Hk]
OverlordZorn
Expand All @@ -30,6 +34,7 @@ Sahbazz
Searing Star
Skamdrept
Smith <smitt14ua@gmail.com>
Spuds
TraceSnowOwl
TWYuanYu
Zelik
6 changes: 6 additions & 0 deletions addons/core/Prefabs/Characters/Core/Character_Base.et
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
SCR_ChimeraCharacter {
ID "520EC961A090B1EE"
components {
SCR_CharacterInventoryStorageComponent "{520EA1D2DB118DAC}" {
components {
ACE_EquipmentStorageComponent "{671625C6478FB2AB}" {
}
}
}
ActionsManagerComponent "{520EA1D2F659CE02}" {
ActionContexts {
UserActionContext "{647772A5736E4459}" {
Expand Down
10 changes: 10 additions & 0 deletions addons/core/scripts/Game/ACE_Core/Global/ACE_MaterialProperties.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//------------------------------------------------------------------------------------------------
class ACE_MaterialProperties
{
static const float DEFAULT_PH_BLOOD = 7.4; // Average pH of blood under physiological conditions
static const float DEFAULT_KD_HEMOGLOBIN = 3.6; // Dissociation constant of O2 binding to hemoglobin
static const float HILL_COEFF_HEMOGLOBIN = 2.7; // Hill coefficient of O2 binding to hemoglobin
static const float PKA_H2CO3_BLOOD = 6.1; // pKa of carbonic acid in blood
static const float X_O2_AIR = 0.2095; // Mole fraction of oxygen in air
static const float KH_CO2_BLOOD = 0.000225; // [mmol/(ml*kPa)] Henry constant of CO2 in blood
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ class ACE_PhysicalConstants

// Conversions
static const float KPA2MMHG = 7.5006168; // kPa to mmHg
static const float ATM2KPA = 101.325; // atm to kPa
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//------------------------------------------------------------------------------------------------
enum ACE_EEquipementSlot
{
NONE = -1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//------------------------------------------------------------------------------------------------
class ACE_EquipmentStorageComponentClass : SCR_EquipmentStorageComponentClass
{
}

//------------------------------------------------------------------------------------------------
class ACE_EquipmentStorageComponent : SCR_EquipmentStorageComponent
{
//------------------------------------------------------------------------------------------------
bool AddItemToSlot(IEntity target, IEntity item, ACE_EEquipementSlot slotID)
{
if (!target || !item)
return false;

RplComponent rpl = RplComponent.Cast(target.FindComponent(RplComponent));
if (rpl && rpl.IsProxy())
return false;

SCR_InventoryStorageManagerComponent storageManager = SCR_InventoryStorageManagerComponent.Cast(GetOwner().FindComponent(SCR_InventoryStorageManagerComponent));
if (!storageManager)
return false;

if (storageManager.TryMoveItemToStorage(item, this, slotID))
return true;

if (storageManager.TryInsertItemInStorage(item, this, slotID))
return true;

return false;
}

//------------------------------------------------------------------------------------------------
bool IsSlotOccupied(ACE_EEquipementSlot slotID)
{
return GetSlot(slotID).GetStorage().Get(slotID);
}

//------------------------------------------------------------------------------------------------
override protected bool ShouldPreviewAttachedItems()
{
return true;
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading