Home   Help Search Login Register  

Author Topic: An Abstract sources and SideRadio question  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

Offline Red Barron

  • Members
  • *
An Abstract sources and SideRadio question
« on: 26 Sep 2007, 09:28:17 »
According to the scripting biki Ceeb has this to say about the "sideRadio" command (as well as sideChat):

Quote
Ceeeb
    In OFP v1.96, sideRadio messages can be sent from 2 abstract sources: "Papa_Bear" and "Base FireFly". Use sideRadio on an array in the form [SIDE,"base"],[SIDE,"HQ"],[SIDE,"Papa_bear"] or [SIDE,"airbase"], where SIDE is the side broadcasting. "HQ", "base" and "Papa_bear" seem to be the same object. The callsign strings can be re-defined using a stringTable.csv file, using STR_CFG_PAPABEAR and STR_CFG_FIREFLYBASE. Example : [EAST,"base"] sideRadio "returnToBase".

In Arma it seems that "Papa_bear" has been changed to "Crossroad," but "Base FireFly" remains the same.  What I really want is for my radio message to come from "Papa_bear."  Is there any way to adjust the "abstract source," or at least make it come from a unit tagged as "papa_bear" (or whatever a mission editor wants it to be) instead of "1-1-A" (or whatever the unit is designated as by default) or the like?


To add another layer to my question, this mission I'm making is a MP coop, and I'd *like* to have the message only go to certain groups, not the whole side.  Is this possible at all?

Offline Cheetah

  • Former Staff
  • ****
Re: An Abstract sources and SideRadio question
« Reply #1 on: 26 Sep 2007, 09:44:27 »
Code: [Select]
(group unit) setgroupid ["PAPA BEAR","groupcolor1"];
Where unit should be a west (?) unit placed on the map, named "unit".

Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: An Abstract sources and SideRadio question
« Reply #2 on: 26 Sep 2007, 14:41:59 »
u cud use da stringtable.csv and put in da next codes


STR_CFG_PAPABEAR,"Papa Bear"
STR_CFG_FIREFLYBASE,"Cielo"

dats from guardian angel :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Red Barron

  • Members
  • *
Re: An Abstract sources and SideRadio question
« Reply #3 on: 28 Sep 2007, 07:52:16 »
Thanks guys, I think that gives me something to work with now.... I'm pretty illiterate when it comes to most anything beyond the most basic of scripting and the language, so this is why it's a bit difficult for me.

Offline Red Barron

  • Members
  • *
Re: An Abstract sources and SideRadio question
« Reply #4 on: 08 Oct 2007, 01:42:10 »
u cud use da stringtable.csv and put in da next codes


STR_CFG_PAPABEAR,"Papa Bear"
STR_CFG_FIREFLYBASE,"Cielo"

dats from guardian angel :D

LCD OUT

Okay, when I just copy and past STR_CFG_PAPABEAR,"Papa Bear" into the stringtable.csv file, it is still coming out as Crossroads, not Papa Bear.

On my trigger, I have this:
[resistance,"Papa_bear"] sideChat "Insert message here";

Any ideas as to what I could be doing wrong?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: An Abstract sources and SideRadio question
« Reply #5 on: 08 Oct 2007, 06:00:02 »
guess u need 2 ue [resistance,"HQ"]...

nywayz heres a quick example... just use da radio triger :D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Red Barron

  • Members
  • *
Re: An Abstract sources and SideRadio question
« Reply #6 on: 08 Oct 2007, 07:04:49 »
Sweet.  Apparently I was a dummy who didn't actually save his stringtable after he changed it.  Thanks LCD, that's one less headache to worry about.