OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Cougar on 21 Aug 2002, 20:43:24
-
Hey guys!!! Well im wondering if theres anyway to change the group name of a group!?? I mean by tht... When youre in a multiplayer session you choose the side you want and after tht select a soldier, well ill have 4 group and i want to name them like tht Alpha Bravo Charlie and Delta only those i dont want if possible color but i can live with it! for example:
Alpha 1 Pilot
Alpha 2 Crew
Bravo 1 Sniper
Charlie 1 LawSoldier
Delta 4 Black Ops
Anyone have a clue???
-
yep, easy enuff... but you have to have a colour :-\
name the leader of ya group - we'll call him off1
then in his init field type:
off1 SetGroupId ["Alpha", "GroupColor#"]
possible values for alpha are all the phonetic alphabet up to Hotel - colours go to number 8.
also you can have instead of Alpha:
Convoy
Guardian
November
Yankee
thats all i can remember, hope that helps. check the command reference to see what colours you can choose and the possible phonetic alphabet call signs.
-
Phonetic alphabeth being:
Alpha
Beta
Charlie
Delta
Echo
Foxtrot
Golf
Hotel
the colours being:
"GroupColor1" = Black
"GroupColor2" = Red
"GroupColor3" = Green
"GroupColor4" = Blue
"GroupColor5" = Yellow
"GroupColor6" = Orange
"GroupColor7" = Pink
You can also use the group's name instead of a person, as in:
groupname setGroupId["Alpha", "GroupColor1"]
also, if you set the color to "GroupColor0", the name will appear like "Alpha 1", "Alpha 2" etc.
Hope all of that helps ;) Good luck.
Wolfrug out.
-
:)
Straight out of the ComRef 1.75
group setGroupId id
Operand types:
group: Object or Group
id: Array
Type of returned value:
None
Description:
Set group identity. Id format is [letter,color,picture] or [letter,color]. Letter is one of: "Alpha", "Bravo", "Charlie", "Delta", "Echo", "Foxtrot", "Golf", "Hotel", "Kilo", color is one of "GroupColor0" to "GroupColor7".
Example:
setGroupId ["Alpha", "GroupColor0"]
Do I see "kilo"..hmm I guess I do :-\
also you can have instead of Alpha:
Convoy
Guardian
November
Yankee
Messiah, do you have any idea about where I can obtain more info about those, since it would be nice to incorporate Papa bear and more of those...."pink squirrel, pink squirrel this is stag-beetle blue...do you copy..." ;D.....SNAP!
No seriously, it would be cool if we can pry some info from OFP somehow..
[RT]SuperTron
-
ok thanks guys for the replys!!
-
Yep ;D
-
damn its not working im still with alpha red yellow green black <grin> but i have puted alpha bravo charlie delta
-
ummmm as for papa bear: type this in any init field
command = [west, "Base/HQ"]
and then make 'command' talk as any other unit
in 1.46 it would read as base said it, but now it says papa bear. Also i think you can use 'Tower' in this version. Give it a go.
-
4 da group name u can use also
zulu
@ Mezzy
instead of HQ nd Base u can use : Airbase nd PAPA_BEAR
LCD OUT
-
:wave:
also you can have instead of Alpha:
Convoy
Guardian
November
Yankee
thats all i can remember
The one you are missing is Buffalo[/i]
Cheers
-
ok nm its working just saw it was on side channel not on the client setup screen >:( >:( ;D
-
Welcome to the new forums guys,
As far as I know, the SetGroupID method will not work in multiplayer due to the fact that when you choose your group in the client screen, the init.sqs and all the init lines of your units have yet to be executed.
This means that your SetGroupID commands haven't happened yet, so you still get group alpha pink ;)
You'll be fine once you get into the mission (or even at the briefing), but on the player selection screen you can't define the group names I'm afraid...
-
dont be afraid lol you right only when im in the game!! no biggies