Jump to content
Sign in to follow this  
Kydoimos

How does one set the GroupID colour?

Recommended Posts

Heya - no doubt a really simple one, but I was wondering how I set the colour for the subtitles in the sidechat? I found this command _group1 setGroupId ["Delta","GroupColor4"], but it doesn't seem to work. Guess it's because it's old. Any ideas?

Share this post


Link to post
Share on other sites

Ah, brilliant Cobra thanks. Just need to write the colour then? :) Cool! I'll give that a bash!

Share this post


Link to post
Share on other sites

I've now tried this setgroupid ["<t color=#4DD6B4'>John Doe:</t&gt]; but that doesn't work either. I reckon if I put it in the description.ext it'll just show the text and not the name in that colour. Any solutions anybody? Always seems like the simplest things are the hardest to do!

Share this post


Link to post
Share on other sites

I've also tried using the customchat command, Unit customchat [1, "message"]; but that doesn't appear to work either. Just can't seem to get that colour changed!

Share this post


Link to post
Share on other sites

Don't think you can change the text colour. You can only change the colour of the speaker by using the different chat commands (sideChat = blue, etc). FYI, the whole 'groupColor' thing had nothing to do with the colour of the text, it was to set custom callsigns, which back in the Flashpoint days were things like "Alpha Black", "Easy Red".

Share this post


Link to post
Share on other sites

Heya 2nd Ranger! That's great, I only want to change the colour of the speaker! But I couldn't get the chat commands to work. I'm following Kylania's demo. I have this in a script: Contact Sidechat localize "STR_ANIKETOS_SUBTITLE"; but when I change sidechat to globalchat or what not, it doesn't show up...

---------- Post added at 17:50 ---------- Previous post was at 17:49 ----------

It's probably quite simple, but I haven't quite got the hang of it yet. It works okay for the light blue colour on the name. But I'd like to change it to green and yellow for other speakers.

---------- Post added at 18:23 ---------- Previous post was at 17:50 ----------

I found quite a few threads - mostly Arma2 related - on sidechat, globalchat, groupchat. Don't know if I'm over tired or just being plain old stupid, but I can't quite work it out. Basically, I've got a stringtable and I've set a unit's id. No probs there, all good. I can get this to work: Contact Sidechat localize "STR_ANIKETOS_SUBTITLE"; - but I can't get something like this to work: Contact Groupchat localize "STR_ANIKETOS_SUBTITLE"; - not sure why?

---------- Post added at 18:26 ---------- Previous post was at 18:23 ----------

Okay - might be getting somewhere now. I put finishMissionInit; showChat true; into the init.sqf. and now I'm seeing the GlobalChat - but, instead of the unit's name (set with the groupID) I'm getting BLUFOR ...

---------- Post added at 18:31 ---------- Previous post was at 18:26 ----------

Mmm... but still having nothing coming up for groupchat.

---------- Post added at 18:44 ---------- Previous post was at 18:31 ----------

And on commandchat I'm getting the correct colour and unit name coming up, but with the unit number suffix too! E.g. John Doe 1 instead of John Doe

---------- Post added at 18:56 ---------- Previous post was at 18:44 ----------

I've now also tried the radio chat modules. They'd be fine, except I get BLUFOR coming up for global, and a number suffix on Command. I'd rather do it via a script if I can, though.

Edited by Kydoimos

Share this post


Link to post
Share on other sites

Does anybody know then, how to change callsigns so you can get rid of the number suffix? (command channel) Or the 'BLUFOR' (global channel)? Or how to make Groupchat appear for a unit speaking that's not in your group?

---------- Post added at 08:44 ---------- Previous post was at 08:06 ----------

Also, with vehiclechat, I'm getting 'Pilot' as the callsign, even though I've set the groupID to something else. So I can change the colour, but not the name. Or in sidechat, I can change the name but not the colour.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×