INFECTION

INFECTION

Integer.EmojiInfection = "🩸"
Integer.DamageForInfection = 1 -- how much damage the infection give after loop time                                                                 
Integer.DecreaseInfectionOnMedicine = 2.5

The Integer.EmojiInfection is only a image displayed in hud when you take the medicine and remining time like in photo

The infection will reduce the player's health by Integer.DamageForInfection for the duration specified in Integer.LoopTime DecreaseInfectionOnMedicine, instead, is the value that the script subtracts every second if the medicine effect is active and visible in *Buff.

ANIMATION

Integer.CoughAnim = false
Integer.ShakeCamIfInfected = false
Integer.CoughAnimDict = "timetable@gardener@smoking_joint"
Integer.CoughAnimType = "idle_cough"
Integer.MinInfectionToCough = 15

With these values, you can determine whether the player will cough with an animation, if the camera will oscillate when infected, decide which animation to execute, and the minimum infection value to activate all effects.

MEDICINE ITEMS

Like radiation, infection can also be cured. Below is the table showing an example.

RadioChargeSpeed: is time of recharge ScriptLoop: Manage the cycle .Higher values decrease the rate of radioactive decay. time: the duration in seconds of that medicine propName: the prop you want to use for animations

circle-info

ATTENTION

If you want to use this function you have to insert this export when a zombie attacks you.

Last updated