diff --git a/english/localizedstrings/reimagined.str b/english/localizedstrings/reimagined.str index 53f5a647..fc1f233e 100644 --- a/english/localizedstrings/reimagined.str +++ b/english/localizedstrings/reimagined.str @@ -229,16 +229,16 @@ REFERENCE ZOMBIE_PLAYER_OUT_CONTAINMENT_ZONE LANG_ENGLISH "You are out the containment zone!" REFERENCE ZOMBIE_YOUR_TEAM_CONTAINMENT_ZONE -LANG_ENGLISH "Your team controls the containment zone!" +LANG_ENGLISH "^8Your team controls the containment zone" REFERENCE ZOMBIE_OTHER_TEAM_CONTAINMENT_ZONE -LANG_ENGLISH "Enemy team controls the containment zone!" +LANG_ENGLISH "^9Enemy team controls the containment zone" REFERENCE ZOMBIE_CONTAINMENT_ZONE_CONTESTED -LANG_ENGLISH "Containment zone contested!" +LANG_ENGLISH "^3Containment zone contested" REFERENCE ZOMBIE_CONTAINMENT_ZONE_UNCONTROLLED -LANG_ENGLISH "Containment zone uncontrolled!" +LANG_ENGLISH "^7Containment zone uncontrolled" REFERENCE ZOMBIE_GRABBED_MEAT LANG_ENGLISH "^8&&1 grabbed the meat" diff --git a/scripts/zm/zgrief/zgrief_reimagined.gsc b/scripts/zm/zgrief/zgrief_reimagined.gsc index 16a347cd..93726161 100644 --- a/scripts/zm/zgrief/zgrief_reimagined.gsc +++ b/scripts/zm/zgrief/zgrief_reimagined.gsc @@ -2755,6 +2755,11 @@ containment_think() if (held_prev != "cont") { + foreach (player in players) + { + player thread print_containment_msg(&"ZOMBIE_CONTAINMENT_ZONE_CONTESTED"); + } + obj_time = 2000; held_time["axis"] = getTime(); held_time["allies"] = getTime(); @@ -2787,6 +2792,18 @@ containment_think() if (held_prev != "axis") { + foreach (player in players) + { + if (player.team == "axis") + { + player thread print_containment_msg(&"ZOMBIE_YOUR_TEAM_CONTAINMENT_ZONE"); + } + else + { + player thread print_containment_msg(&"ZOMBIE_OTHER_TEAM_CONTAINMENT_ZONE"); + } + } + obj_time = 1000; if (!isDefined(held_time["axis"])) @@ -2818,6 +2835,18 @@ containment_think() if (held_prev != "allies") { + foreach (player in players) + { + if (player.team == "axis") + { + player thread print_containment_msg(&"ZOMBIE_OTHER_TEAM_CONTAINMENT_ZONE"); + } + else + { + player thread print_containment_msg(&"ZOMBIE_YOUR_TEAM_CONTAINMENT_ZONE"); + } + } + obj_time = 1000; if (!isDefined(held_time["allies"])) @@ -2849,6 +2878,11 @@ containment_think() if (held_prev != "none") { + foreach (player in players) + { + player thread print_containment_msg(&"ZOMBIE_CONTAINMENT_ZONE_UNCONTROLLED"); + } + held_time["axis"] = undefined; held_time["allies"] = undefined; held_prev = "none"; @@ -3153,6 +3187,11 @@ containment_set_obj_waypoint_icon(icon, next_obj = false) } } +print_containment_msg(hint_string) +{ + self iprintln(hint_string); +} + meat_init() { level._powerup_timeout_custom_time = ::meat_powerup_custom_time;