### Radiation Mod ### Server game mod that will add radiation as an game element for RPs and other minigames. Radiation will be a special variable that each individual player has. Each player also has a "Geiger counter", which is simply a bottomPrint, that shows the current dose, as well as a Geiger warning and the player's current radiation sickness level. OGG loops will also be used to make an audio effect when walking into contaminated areas. ## Variables present: Rems: Stores amount of radiation as a value for each player. Geiger warning: String variable, stores the radiation warning for the zone the player is currently standing in Radiation sickness warning: String variable, stores warning for the player's radiation dose. ################### Special zonebricks will be needed for different radiation levels. These will modify the player's radiation dose and also produce some visual effects. These zones are as follows: ## "Minimal" Rem intake: 0.1 Geiger warning: "Minor contamination" Player whiteout flash: 0.200 Player damage flash: 0.000 OGG Loop: Geiger level1 ## "Low" Rem intake: 1.0 Geiger warning: "Contaminated" Player whiteout flash: 0.500 Player damage flash: 0.000 OGG Loop: Geiger level2 ## "Moderate" Rem intake: 5.0 Geiger warning: "Irradiated" Player whiteout flash: 0.300 Player damage flash: 0.200 OGG Loop: Geiger level3 ## "High" Rem intake: 10.0 Geiger warning: "Highly irradiated" Player whiteout flash: 0.300 Player damage flash: 0.500 OGG Loop: Geiger level4 ## "Severe" Rem intake: 20.0 Geiger warning: "Severely irradiated" Player whiteout flash: 0.500 Player damage flash: 0.500 OGG Loop: Geiger level5 ## "Extreme" Rem intake: 30.0 Geiger warning: "Extremely irradiated" Player whiteout flash: 0.500 Player damage flash: 0.800 OGG Loop: Geiger level6 ## "Decontamination" Rem intake: -10.0 Geiger warning: "Decontaminating" Player whiteout flash: 0.000 Player damage flash: 0.000 OGG Loop: (None) ############################## When the player is too irradiated, certain side effects take place even outside of irradiated zones. Note that effects are cumulative: REMS | HP LOSS | OTHER EFFECTS ---------------------------------------------------- 0 | | None 30 | | Vignette colour darkening 100 | -0.1 | Slight slowed movement, vignette colour reddening 400 | -0.2 | Vignette colour reddening 1000 | -0.5 | Vigenette colour red, whiting-out 2000 | -1.0 | White and redout
Comments
0 B
|👍
/👎