Call of Duty 5: Adding WAR Zone names
This tutorial will show you how to get names on the Flags/Areas used in WAR Gametype.
By Kyd462
Map GSC File
This example is based on 5 Flags placed in the map.
- In your Map GSC, add the following after maps\mp\_load::main();
game["strings"]["war_callsign_a"] = &"MP_MAPNAME_CALLSIGN_LOCATION_A"; game["strings"]["war_callsign_b"] = &"MP_MAPNAME_CALLSIGN_LOCATION_B"; game["strings"]["war_callsign_c"] = &"MP_MAPNAME_CALLSIGN_LOCATION_C"; game["strings"]["war_callsign_d"] = &"MP_MAPNAME_CALLSIGN_LOCATION_D"; game["strings"]["war_callsign_e"] = &"MP_MAPNAME_CALLSIGN_LOCATION_E"; game["strings_menu"]["war_callsign_a"] = "@MAPNAME_CALLSIGN_LOCATION_A"; game["strings_menu"]["war_callsign_b"] = "@MAPNAME_CALLSIGN_LOCATION_B"; game["strings_menu"]["war_callsign_c"] = "@MAPNAME_CALLSIGN_LOCATION_C"; game["strings_menu"]["war_callsign_d"] = "@MAPNAME_CALLSIGN_LOCATION_D"; game["strings_menu"]["war_callsign_e"] = "@MAPNAME_CALLSIGN_LOCATION_E";
Localizedstrings File
- Create a new file in
raw/english/localizedstrings
- Copy and Paste this into the file and save it as mp_mapname.str
// Callsigns for mp_MapName VERSION "1" CONFIG "C:\cod5\cod\cod5\bin\StringEd.cfg" FILENOTES "" REFERENCE CALLSIGN_LOCATION_A LANG_ENGLISH "Local_101" REFERENCE CALLSIGN_LOCATION_B LANG_ENGLISH "Local_202" REFERENCE CALLSIGN_LOCATION_C LANG_ENGLISH "Local_303" REFERENCE CALLSIGN_LOCATION_D LANG_ENGLISH "Local_404" REFERENCE CALLSIGN_LOCATION_E LANG_ENGLISH "Local_505" ENDMARKER
Change the "XXX" to whatever you want it to be
Zone File
- Add the following to your Zone File:
localize,mp_MapName
Compile!