Stable1.3.7
UPDATED
- Forcing pose on NPCs to fix custom models T posing.
- Added a config to set the npc pose. Default is an idle stand.
- Config is
CH_AdvMedic.Config.NPCPose
Stable1.3.6
UPDATE
- Added option to give only certain teams a life alert by default.
- If this is enabled then AutoLifeAlert is ignored and this overwrites it for these teams only
- Config
CH_AdvMedic.Config.AutoLifeAlertOnlyTeams - Config for teams
CH_AdvMedic.Config.AutoLifeAlertOnlyTeamsTable - Use SafeRemoveEntityDelayed to safely remove entities.
- QoL updates to code base.
- Fixed some 3d2d not respecting CH_AdvMedic.Config.DistanceTo3D2D
- Increased font size on recharge station to improve readability.
Stable1.3.5
UPDATE
- Fixed the compatibility in my addon with demoting players in PlayerDeath hooks for DarkRP jobs not working.
If you use PlayerDeath on jobs to demote them, you should only use ply:teamBan()and then my addon will properly change their team when they respawn (if not revived).
Edited file: lua/ch_adv_medic/server/medic_defib.lua
Stable1.3.4
UPDATE
- Fixed translation for health NPC.
- Fixed a rare null entity error caused by internal bleeding.
- Added the ability to disable moaning if no gender is detected.
- It's disabled by default (and returns to Male moan like it always has)
- Can be enabled with config
CH_AdvMedic.Config.DisableMoanIfNoGender
Stable1.3.3
UPDATE
- Fixed a missing translation.
Updated file: lua/entities/ch_npc_health/init.lua
Stable1.3.2
UPDATE
- Added Polish translation thanks to Ric0 II
- Fixed various mission translation strings.
- Added config to determine how much health a player has after being revived.
- Config
CH_AdvMedic.Config.HealthAfterRevival - Added config to enable/disable needing to recharge medkits.
- Config
CH_AdvMedic.Config.HealthkitUseChargesis enabled by default. - Disabling it also hides the charge HUD for the medkit SWEP.
- Fixed an error in the damage system code.
Stable1.3.1
UPDATE
- Fixed a nil error if the moaning corpse was deleted too fast.
Updated file: lua/ch_adv_medic/server/medic_defib.lua
Stable1.3.0
UPDATE
- Purchasing health at the NPC now also heals injuries.
- Replaced old AcceptInput method with Use on NPCs and added better curtime delay code.
- Added support for setting multiple ambulance spawn points.
- Use command
ambulance_addspawnposto set a new spawn position. - Use command
ambulance_clearallspawnsto clear all spawn positions. - Added config to spawn player directly into the ambulance when they retrieve one.
- Use config
CH_AdvMedic.Config.AutoEnterAmbulance
Stable1.2.9
UPDATE
- Moan sounds are not played from corpse instead of player, so that it follows the corpse if moved around.
- Initializing more stabil through InitPostEntity
- Cached a few variables for optimization.
- Added a util function to give xp that automatically detects which XP system you are using.
- That means the manual configs for enabling your XP system are removed.
Stable1.2.8
UPDATE
- Fixed a rare bug where textures would glitch if you died while having the defibrillator equipped.
Modified file: lua/weapons/defibrillator_advanced/shared.lua
Stable1.2.7
UPDATE
- Recoded how spawning/removing/detecting ambulances work. It's a lot more optimized now.
- Fixed scaling issues with hospital and ambulance UI on very small resolutions.
- Moved all design configs to it's own file
medic_config_design.lua - You can now promote players back to their "previous" job if they are revied and demoted on death.
- Config is
CH_AdvMedic.Config.PromoteToPreviouslyJobOnRevive - For example if you demote your mayor on death, then it will promote him to mayor again if he is revived.
- Renamed common variable.
- Removed the remaining code from the default lights and sirens. Sorry, it was deprecated anyways.
- Recharge station now properly respects
DistanceTo3D2Dconfig for drawing 3d2d on screen. - Fixed a bug with recharge stations where it would possibly decrease charges when it should do the opposite.
- Recoded the recharge stations to use entity network variables instead of NW vars.
- Fixed a lot of notifications that didn't respect the
NotificationTimeconfig. - Removed unnecessary loops and replaced with more optimized solution.
There are lot of changes in this version (good changes!), so I recommend doing a fresh install when updating.
Stable1.2.6
UPDATE
- Fixed some variable names not being unique.
- Fixed taking injuries even if the players health did not change (to support godmode and prop protection systems)
- Removed an unnecessary loop.
- Fixed the
ImmuneInjuriesTeamsconfig option not working. - Removed all usage of
table.HasValuefor optimization. - Cached multiple variables for optimization.
- Changed a stupid old naming convention that didn't align with the rest of the addon.
There has been multiple edits to the config file. You need to reinstall the entire addon to update!