From 6731ff5140b9b093298e5e0b3a52e92adcc047b8 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sun, 3 Apr 2016 15:38:52 +0200 Subject: [PATCH] Localizing helpful hints. --- english/localizedstrings/hns.str | 18 ++++++++++++++++++ german/localizedstrings/hns.str | 20 +++++++++++++++++++- maps/mp/gametypes/hns.gsc | 12 ++++++------ mod.csv | 6 ++++++ mod.ff | Bin 367 -> 709 bytes spanish/localizedstrings/hns.str | 18 ++++++++++++++++++ 6 files changed, 67 insertions(+), 7 deletions(-) diff --git a/english/localizedstrings/hns.str b/english/localizedstrings/hns.str index a8456bc..d47f903 100644 --- a/english/localizedstrings/hns.str +++ b/english/localizedstrings/hns.str @@ -25,4 +25,22 @@ LANG_ENGLISH "Seekers will be released in:" REFERENCE HIDEANDSEEK_SEEKERS_RELEASED LANG_ENGLISH "Seekers have been released." +REFERENCE HIDEANDSEEK_HINT_HIDER_DISGUISE +LANG_ENGLISH "Disguise yourself in the environment by changing into a prop on the map.\nLook at a prop and use [{+attack}] to do so." + +REFERENCE HIDEANDSEEK_HINT_HIDER_ANGLELOCK +LANG_ENGLISH "Get into position then use [{+melee}] to lock your pose.\nUse [{+melee}] again later to unlock." + +REFERENCE HIDEANDSEEK_HINT_HIDER_THIRDPERSON +LANG_ENGLISH "Toggle between first-person and third-person view using [{+actionslot 3}],\nthis will help you to change into other models." + +REFERENCE HIDEANDSEEK_HINT_SEEKER_SEMTEX +LANG_ENGLISH "You have one Semtex on [{+frag}], don't waste it!" + +REFERENCE HIDEANDSEEK_HINT_SEEKER_UNLIMITEDRELOAD +LANG_ENGLISH "No need to care about ammo, you can reload endlessly as needed." + +REFERENCE HIDEANDSEEK_HINT_SEEKER_PRIMARYWEAPON +LANG_ENGLISH "You can use [{+actionslot 3}] to get a new primary weapon." + ENDMARKER \ No newline at end of file diff --git a/german/localizedstrings/hns.str b/german/localizedstrings/hns.str index 66b642c..0430db9 100644 --- a/german/localizedstrings/hns.str +++ b/german/localizedstrings/hns.str @@ -23,6 +23,24 @@ REFERENCE HIDEANDSEEK_TIMER_SEEKER_RELEASE_TITLE LANG_GERMAN "Seeker werden freigelassen in:" REFERENCE HIDEANDSEEK_SEEKERS_RELEASED -LANG_ENGLISH "Seeker freigelassen." +LANG_GERMAN "Seeker freigelassen." + +REFERENCE HIDEANDSEEK_HINT_HIDER_DISGUISE +LANG_GERMAN "Tarne dich als Prop.\nSchaue auf ein Prop und benutze [{+attack}]." + +REFERENCE HIDEANDSEEK_HINT_HIDER_ANGLELOCK +LANG_GERMAN "Stelle dich hin und benutze [{+melee}] um deine Pose zu sperren.\nBenutze [{+melee}] später wieder um die Pose zu entsperren." + +REFERENCE HIDEANDSEEK_HINT_HIDER_THIRDPERSON +LANG_GERMAN "Du kannst zwischen First Person und Third Person mit [{+actionslot 3}]\nwechseln, was hilfreich beim Ändern des Props ist." + +REFERENCE HIDEANDSEEK_HINT_SEEKER_SEMTEX +LANG_GERMAN "Du hast eine Semtex auf [{+frag}], verschwende sie nicht!" + +REFERENCE HIDEANDSEEK_HINT_SEEKER_UNLIMITEDRELOAD +LANG_GERMAN "Du brauchst dich nicht um deine Munition zu kümmern, du kannst nämlich\nunendlich nachladen!" + +REFERENCE HIDEANDSEEK_HINT_SEEKER_PRIMARYWEAPON +LANG_GERMAN "Du kannst [{+actionslot 3}] benutzen um eine neue Primärwaffe zu bekommen." ENDMARKER \ No newline at end of file diff --git a/maps/mp/gametypes/hns.gsc b/maps/mp/gametypes/hns.gsc index 3c9d59d..7d5abf8 100644 --- a/maps/mp/gametypes/hns.gsc +++ b/maps/mp/gametypes/hns.gsc @@ -936,15 +936,15 @@ giveHelpfulHintsForHider() player thread clearHintsShownOnDisconnect(); player notifyOnPlayerCommand("hide_hint_for_disguise", "+attack"); - player showHintOnce("Disguise yourself in the environment by changing into a prop on the map.\nLook at a prop and use [{+attack}] to do so."); + player showHintOnce(&"HIDEANDSEEK_HINT_HIDER_DISGUISE"); player waittill("hide_hint_for_disguise"); player notifyOnPlayerCommand("hide_hint_for_anglelock", "+melee"); - player showHintOnce("Get into position then use [{+melee}] to lock your pose.\nUse [{+melee}] again later to unlock."); + player showHintOnce(&"HIDEANDSEEK_HINT_HIDER_ANGLELOCK"); player waittill("hide_hint_for_anglelock"); player notifyOnPlayerCommand("hide_hint_for_thirdperson", "+actionslot 3"); - player showHintOnce("Toggle between first-person and third-person view using [{+actionslot 3}],\nthis will help you to change into other models."); + player showHintOnce(&"HIDEANDSEEK_HINT_HIDER_THIRDPERSON"); player waittill("hide_hint_for_thirdperson"); player hideHint(); @@ -967,15 +967,15 @@ giveHelpfulHintsForSeeker() player thread clearHintsShownOnDisconnect(); player notifyOnPlayerCommand("hide_hint_for_primaryweapon", "+actionslot 3"); - player showHintOnce("You can use [{+actionslot 3}] to get a new primary weapon."); + player showHintOnce(&"HIDEANDSEEK_HINT_SEEKER_PRIMARYWEAPON"); player waittill("hide_hint_for_primaryweapon"); player notifyOnPlayerCommand("hide_hint_for_reload", "+reload"); - player showHintOnce("No need to care about ammo, you can reload endlessly as needed."); + player showHintOnce(&"HIDEANDSEEK_HINT_SEEKER_UNLIMITEDRELOAD"); player waittill("hide_hint_for_reload"); player notifyOnPlayerCommand("hide_hint_for_semtex", "+frag"); - player showHintOnce("You have one Semtex on [{+frag}], don't waste it!"); + player showHintOnce(&"HIDEANDSEEK_HINT_SEEKER_SEMTEX"); player waittill("hide_hint_for_semtex"); player hideHint(); diff --git a/mod.csv b/mod.csv index 845ab92..86f0e2f 100644 --- a/mod.csv +++ b/mod.csv @@ -6,3 +6,9 @@ localize,OBJECTIVES_HIDEANDSEEK_DEFENDER localize,HIDEANDSEEK_TIMER_SEEKER_RELEASE localize,HIDEANDSEEK_TIMER_SEEKER_RELEASE_TITLE localize,HIDEANDSEEK_SEEKERS_RELEASED +localize,HIDEANDSEEK_HINT_HIDER_DISGUISE +localize,HIDEANDSEEK_HINT_HIDER_ANGLELOCK +localize,HIDEANDSEEK_HINT_HIDER_THIRDPERSON +localize,HIDEANDSEEK_HINT_SEEKER_SEMTEX +localize,HIDEANDSEEK_HINT_SEEKER_UNLIMITEDRELOAD +localize,HIDEANDSEEK_HINT_SEEKER_PRIMARYWEAPON diff --git a/mod.ff b/mod.ff index 6da4649133736f263823e864fec90da3a1736370..c8a5f9824dbbe8e913b6880a87aa1861ce9d601d 100644 GIT binary patch literal 709 zcmV;$0y_OkS7v5)F)%O`0RR91u8q+F_31$vc-p;GO>fgc5cQ>(UiblArUI1%Z6pLI zZl>NghQx_%hf)vTO9`}4%B*AH*I zzMXhS*Ax2vqV@DYKcBCj>(vw)!Z{>}6R+Lvh5cq2Fh2?s#y)I-F6KZk_88Q^^1I0v z86}5^q}hqneVlKA!QkZUwB;MoN% z^c03%fw6+(Bax3Sy%qdUm)+f~Xy9ost0bcj69GtY~;`7WMvEcpywZ6$V|p z%Ag$8C(X2)i5WJ$&b#;QDh)rfWUt%Au@u33>@Fc-c5@X*~gM*RPzlQ=}5&DlOkSEqo}fVU?y-*5}jGD`k~Wpq_*(-;p@dIL07FG zqb%#uCq=crxU5xEjTIC+Lurm`Oq*dGbg8ACXruCuxavXB3h5FkEZ(~ok%&>nb4pJ3 zs}~mL+*rzG&ko5~!3uK9`j!INb|#Qpw$ZXwYSIF)$BRKy_LqS;@JW?j=kw38l=lv4H6=SG9rCMA%=ck* z_Rn~^jvEbmiqHjyxFqB0%%2Z^kGg@!D1F!(ZOxi&?Yn8-cc*OU4A`-Q4JToA=yMgs zP?*_O4|Megx`afaOo2<2>H+~}!>dxRP-?gWo(K!XJQ{8>ti6qb3I)ar?UvB(UX%T%$RE>iZc`INI-)M4M}QZ5=LGjb zw|`PhF&Z7Sinu|;Lb;_m2dFOy+fcj~aIt=lHeZz~8N^BtxG