OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: LCD on 17 Jul 2007, 11:21:40

Title: SOLVED : custom HQ callsigns in ArmA
Post by: LCD on 17 Jul 2007, 11:21:40
from some strange reason da ED is not workin 4 me right now... (aint my fault :P)

so i wanna know does ny1 remembers how 2 do custom HQ callsings ? and howe does it work in ArmA

also is dere any name exept crossroad ? in case i want 2 costum HQs ?

LCD OUT
Title: Re: costum HQ callsigns in ArmA
Post by: h- on 17 Jul 2007, 16:46:07
I did remember correctly about answering this question at some point  :D
Don't be fooled about the createUnit stuff, the relevant bit is there too..  :P

http://www.ofpec.com/forum/index.php?topic=28938.msg197306#msg197306
Title: Re: custom HQ callsigns in ArmA
Post by: Nixer6 on 17 Jul 2007, 18:40:13
I had mixed results with this in ArmA.

I tried the old OFP way...ala stringtable.csv and the init script. I couldn't change Crossroad or Base Firefly (Airbase)...wouldn't work.

here's an extract from the main .csv

Code: [Select]
STR_CFG_HQ_BASE,"Base"
STR_CFG_HQ_HQ,"HQ"
STR_CFG_PAPABEAR,"CROSSROAD"
STR_CFG_FIREFLYBASE,"BASE FIREFLY"

STR_CFG_GRPNAMES_ALPHA,"Alpha"
STR_CFG_GRPNAMES_BRAVO,"Bravo"
STR_CFG_GRPNAMES_CHARLIE,"Charlie"
STR_CFG_GRPNAMES_DELTA,"Delta"
STR_CFG_GRPNAMES_ECHO,"Echo"
STR_CFG_GRPNAMES_FOXTROT,"Foxtrot"
STR_CFG_GRPNAMES_GOLF,"Golf"
STR_CFG_GRPNAMES_HOTEL,"Hotel"
STR_CFG_GRPNAMES_NOVEMBER,"November"
STR_CFG_GRPNAMES_KILO,"Kilo"
STR_CFG_GRPNAMES_YANKEE,"Yankee"
STR_CFG_GRPNAMES_ZULU,"Zulu"
STR_CFG_GRPNAMES_BUFFALO,"Buffalo"
STR_CFG_GRPNAMES_SIX,"Six"
STR_CFG_GRPNAMES_TWO,"Two"
STR_CFG_GRPNAMES_THREE,"Three"
STR_CFG_GRPNAMES_GUARDIAN,"Guardian"
STR_CFG_GRPNAMES_CONVOY,"Convoy"
STR_CFG_GRPNAMES_FOX,"Fox"

But........I was able to make custom call signs work WITHOUT using a stringtable, at least for sidechat purposes, I don't know if it works for side radio.

in the units init box:
Code: [Select]
Mace = group this;
in the init file:

Code: [Select]
Mace setgroupid ["Mace","groupcolor1"];
Then, whenever I had someone in that group sidechat "blah, blah", it would come up on the screen as;

Mace 1 "blah, blah"  

I had never tried that in OFP, I mean for individual groups, but it works in sidechat in ArmA, so it should work for side radio.


Now if I could only get vehicle chat to work.............


Title: Re: custom HQ callsigns in ArmA
Post by: h- on 17 Jul 2007, 18:53:50
The example I linked to works just fine for me..
 
Didn't do anything in the init.sqs/sqf, just the stringtable..
Title: Re: custom HQ callsigns in ArmA
Post by: Nixer6 on 17 Jul 2007, 19:09:37
Thanks -h, will try just using the stringtable.

I was just happy to have custom group callsigns just using the init.sqf.

Mace 1 blah, blah, blah  

Beats the heck out of

1-2-B Blah Blah Blah


edit: BTW, I do have a copy of the old OFP Custom HQ names tutorial if you would like it.
Title: Re: custom HQ callsigns in ArmA
Post by: h- on 17 Jul 2007, 19:29:49
That setGroupID thing worked in OFP pretty much the same way IIRC, not completely sure though..

Quote
I do have a copy of the old OFP Custom HQ names tutorial if you would like it.
Sure, it's welcome stuff.
I probably have it myself too, buried somewhere in the gigantous piles of CD-Rs/DVD-Rs so finding it there would probably take about 3 weeks  :D...
Title: Re: custom HQ callsigns in ArmA
Post by: LCD on 17 Jul 2007, 23:18:30
thx 4 help :D

ill check it out

@ nixer... in ArmA u can use ny groupID u want... at least dat how it seems

LCD OUT