Survival HUD
- This script enhances player immersion in FiveM by introducing survival mechanics like heat, cold, and wetness, complete with dynamic effects, damage…
Icons
1 - Heat
2 - Cold
3 - wet
4 - Comfort
5 - injuries
Note : this hud Is additional to your main hud so it’s not full with the other icons (health , food…)
Features
Dynamic Cold Effects:
- Intense effects at 100% cold level.
- Damage applied when the cold level is at 100%.
Heat Mechanics:
- Heat effects and damage occur when the heat level reaches 100%.
Wetness Mechanics:
- Wet effects and increased cold susceptibility when the player is wet.
Comfort Zones:
- Comfort zones negate all negative effects.
Jacket Detection:
Jackets reduce cold effects and cap cold levels at lower thresholds.
and more…
Config
Config = {}
Config.DamageTimer = 10 -- Example Damage every 10s For both Heat and Cold
Config.heatDamage = 3 -- Damage amount when overheated
Config.ColdDamage = 3 -- Damage amount when too cold
Config.wetToCold = 50 -- Minimum wet level percentage to start increasing cold level
Config.WettTimer = 0 -- Time in seconds before starting to get wet in rain or swimming
Config.ColdIncreases = 10 -- speed if Cold Increases %
Config.HeatIncreases = 5 -- speed if Heat Increases %
Config.WetIncreases = 1 -- speed if wet Increases %
-- clothing related
Config.WetComponentId = 8 -- 8 is for undershirts Get them Here 'https://docs.fivem.net/natives/?_0x262B14F48D29DE80'
Config.HotAndColdComponentId = 11 -- 11 is for jacket Get them Here 'https://docs.fivem.net/natives/?_0x262B14F48D29DE80'
Config.NoJacketNum = {252} -- Numbers indicating no jacket "using Config.HotAndColdComponentId"
Config.NoWetClothing = {123} -- Diving suits or other clothing that prevents wetness"using Config.WetComponentId"
Config.JacketCaps = 60 -- Jacket caps cold at 60% in Cold
-- Comfort configuration
Config.ComfortHp = 5 -- HP to regain per "Config.ComfortHpTimer"
Config.ComfortHpTimer = 10 -- Time in seconds for each HP regain from "Config.ComfortHp"
Config.ComfortZones = {
{coords = vector3(193.19, 2768.22, 50.35), radius = 50.0} -- Example comfort zone
-- Add more comfort zones as needed
}
-- Injured configuration based on player health
Config.MaxHealth = 200 -- this is Default player max health
Config.Startinjured = 180 --The threshold for being considered injured
-- Heat and Cold zones
Config.heatZones = {"DESERT", "SANDY", "JAIL"} --Get Them Here : https://docs.fivem.net/natives/?_0x98CD1D2934B76CC1
Config.CustomHeatZones = {
{coords = vector3(1436.52, 3122.78, 48.14), radius = 100.0}
}
Config.ColdZones = {"SNOWY", "MTCHIL"} --Get Them Here : https://docs.fivem.net/natives/?_0x98CD1D2934B76CC1
Config.CustomColdZones = {
{coords = vector3(1930.73, 316.76, 191.19), radius = 100.0}
}
tebex
Preview
Other Scripts
Standalone|AdvancedZombieSystem
QBCore|RobberyCreator
QBCore|SafeZone
QBCore/ESX|LootPeds
QBCore/ESX|RadiationZones
Standalone|ZombieSystem
QBCore|Shop
QBCore|WeatherSync
QBCore|PhoneStoreRobbery
QBCore/ESX|InGameMusic
QBCore|CamperHousing
QBCore|LootBags
ESX|LootBags
Code is accessible | N/A |
Subscription-based | No |
Lines (approximately) | 450+ |
Requirements | FiveM |
Support | Yes |