Custom "HQ" Radio Callsigns

by toadlife  Website

Recommended for OFP version 1.0.

Views: 5200

Recommended for OFP version 1.0
Custom "HQ" Radio Callsigns
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". 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 setting up your init.sqs file, type this in a script or trigger 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 setting up your init.sqs file, type this in a script or trigger to make a radio message appear to come from "BASE FIREFLY":
firefly sideradio "radiomessage"
** Notes: When using "PAPA_BEAR" for your callsign, instead 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. You must use [West, "airbase"] to make the callsign "BASE FIREFLY". 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 on with it!
Open up your init.sqs file and define your callsigns like so:
babybear = [West, "HQ"]
mamabear = [West, "AirBase"]
Now, open up your stringtable.csv file and define the names for "mamabear" and "babybear", 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 a combination of the afforementioned three to make different callsigns. To make two different callsigns, you must use [West, "airbase"] along with either [West, "Base"], [West, "PAPA_BEAR"], or [West, "HQ"]. 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!When you make a callsign using [West, "airbase"], you must use the line STR_CFG_FIREFLYBASE to define the callsign in your 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!

Download custom_hq_callsigns.zip (5.791 kb).

Downloads: 1188

General Barron March 08, 2003, 04:56
Can you only have 2 custom callsigns PER SIDE, or 2 custom callsigns PERIOD? Could you have 2 custom callsigns for your side (west), AND a custom one for the enemy to use with global chats?
Viking March 08, 2003, 17:27
I have ALWAYS said it....
Toadlife, you ARE the MAN(or woman?)!!!!
Kick ass tut, toady!!!!
Thanks!
toadlife March 08, 2003, 19:16
Quote:
Can you only have 2 custom callsigns PER SIDE, or 2 custom callsigns PERIOD? Could you have 2 custom callsigns for your side (west), AND a custom one for the enemy to use with global chats?


Two custom callsigns PERIOD.
toadlife March 08, 2003, 19:17
Quote:
Toadlife, you ARE the MAN(or woman?)!!!!


LOL. I'm male dude. Thanks.
Confucius March 09, 2003, 00:52
Custom radio messages could also be achieved through editing the OFP config file and stringtable (or with an addon I think ). No limit to the number you add there.

Find the classname "CfgHQIdentities" in a decoded config file and add:

class Confucius
   {
   name="$STR_CFG_Confucius";
   speaker="Dan";
   pitch=.95;
   };

And add the following string to the STRINGTABLE.CSV:
$STR_CFG_Confucius,Confucius,Confucius,Confucius,Confucius,Confucius,Confucius

And I'll be speaking to you in the game
toadlife March 09, 2003, 02:04
Yep. I'm almost sure an addon could be used to add more, but most people can do fine with only two.

IMO, the best format for an addon that give the ability to make custom would be like so....


class customhq1
  {
  name="$STR_CFG_customhq1";
  speaker="Dan";
  pitch=.95;
  };
class customhq2
  {
  name="$STR_CFG_customhq2";
  speaker="Dan";
  pitch=.95;
  };
class customhq3
  {
  name="$STR_CFG_customhq3";
  speaker="Dan";
  pitch=.95;
  };
class customhq4
  {
  name="$STR_CFG_customhq4";
  speaker="Dan";
  pitch=.95;
  };
class customhq5
  {
  name="$STR_CFG_customhq5";
  speaker="Dan";
  pitch=.95;
  };


Of course the addon could have 10 or 20, not just 5, but you get the pricture.
General Barron April 22, 2003, 03:28
Am I doing something wrong, or does this not work with 1.46? I tried the sample mission and can't get it to work!
toadlife April 22, 2003, 09:37
The sample mission was compiled with 1.90, so that's probably why it doesn't work with 1.46.

Why are you playing 1.46 anyway? Go get Resistance!
General Barron April 23, 2003, 01:40
I tried doing this in my own mission on my own, but it still doesn't work...

Yeah, I suppose I should get Resistance... eventually....



Use this information at your own risk!

This site is not affiliated in anyway with BI Studios or Codemasters

©Copyright 2001 www.ofpec.com. All Rights Reserved.

Donate to OFPEC