Custom "HQ" Callsigns in your missions
by toadlife
http://toadlife.net/ofp




Introduction
I'm sure you have seen radio messages in the official missions that come from "PAPA_BEAR" or "BASE FIREFLY". While it's easy to make radio messages like those in your missions, but nobody that I know of has ever figured out how to make custom callsigns - until now!




There are some limitations...

After quite a bit of testing, I have found that you can only have two custom callsigns in any mission at a time. This is due to the fact that BIS only put two custom callsigns (PAPA_BEAR and BASE FIREFLY) in OFP, and a custom callsign must be based on one of the two that are built into the game.




Before we make up our own...

Before you make custom callsigns, you should probably know how to use the default ones in the game. To make a radio message come from "PAPA_BEAR" type this at the top of your init.sqs file.**

papabear = [West, "HQ"]

After doing this, type this to make a radio message appear to come from "PAPA_BEAR":

papabear sideradio "radiomessage"

To make a radio message come from "BASE FIREFLY" type this at the top of your init.sqs file.

firefly = [West, "airbase"]

After doing this, type this to make a radio message appear to come from "BASE FIREFLY":

firefly sideradio "radiomessage"

** Notes: When using PAPA_BEAR, intead of [West, "HQ"] you can also put [West, "Base"] or [West, "PAPA_BEAR"], but there is no need to memorize them all, as they all do the same thing. When using BASE FIREFLY, you must use [West, "airbase"]. If in your mission, the player is not on the West side, you need to put the appropriate side ("East", "Guer", or "Civil") in place of "West".




Onto the fun part!


Now that you know how to use the default HQ callsigns in your missions, you are now ready to make your own. PAPA_BEAR and BASE FIREFLY get old really fast, so lets make our own!

First, open up your init.sqs file and define your callsigns like so:

babybear = [West, "HQ"]
mamabear = [West, "AirBase"]


Now, you must define the names for "mamabear" and "babybear" in your stringtable.csv file, like so:

LANGUAGE,English,
STR_CFG_FIREFLYBASE,"Mama Bear",
STR_CFG_PAPABEAR,"Baby Bear", 

Notes: Before you go on, keep in mind that [West, "Base"],[West, "PAPA_BEAR"], and [West, "HQ"] are  all the same thing. Because of this, you cannot use two of them to make two different callsigns. [West, "airbase"] and either [West, "Base"], [West, "PAPA_BEAR"], or [West, "HQ"] are must be used to make your two custom callsigns. When you make a callsign using [West, "Base"], [West, "PAPA_BEAR"], or [West, "HQ"], you must allways use the line STR_CFG_PAPABEAR,"" to define the callsign in the stringtable.csv file!
After your callsigns have been defined, you may now use them in your missions like so!

babybear sideradio "radiomessage"
mamabear sideradio "radiomessage"


Good Luck!