Difference between revisions of "setGroupId"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 27: Line 27:
 
* '''"Two"'''
 
* '''"Two"'''
 
* '''"Three"'''
 
* '''"Three"'''
 +
* '''"Fox"'''
  
Colour can be one of "GroupColor0" to "GroupColor7":
+
 
* '''0''' - No colour
+
Colour can be one of the following:
* '''1''' - Black
+
* '''"GroupColor0"''' - (Nothing)
* '''2''' - Red
+
* '''"GroupColor1"''' - Black
* '''3''' - Green
+
* '''"GroupColor2"''' - Red
* '''4''' - Blue
+
* '''"GroupColor3"''' - Green
* '''5''' - Yellow
+
* '''"GroupColor4"''' - Blue
* '''6''' - Orange
+
* '''"GroupColor5"''' - Yellow
* '''7''' - Pink  
+
* '''"GroupColor6"''' - Orange
 +
* '''"GroupColor7"''' - Pink
 +
* '''"Six"''' - Six
 
|= Description
 
|= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
Line 63: Line 66:
 
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''
 
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''
  
Color can also be set to "Six".
+
Note that this command does not name the group. To call a [[group]] "grp1", for example, write this in the init field of the [[group]] [[leader]]:
 
 
Note that this does not name the group. To call a [[group]] "grp1", for example, write this in the init field of the [[group]] [[leader]]:
 
  
 
  grp1 <nowiki>=</nowiki> [[group]] this
 
  grp1 <nowiki>=</nowiki> [[group]] this
Line 76: Line 77:
  
 
  this setgroupId ["Attackteam","groupcolor2"]
 
  this setgroupId ["Attackteam","groupcolor2"]
 +
</dd>
 +
<dd class="notedate"></dd>
 +
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''</dt>
 +
<dd class="note">
 +
In '''OFP v1.96''', the radio callsign strings for a mission can be redefined  by creating a [[Stringtable.csv_File_Format|stringtable.csv]] in the mission folder. All string names except FOX can be found within the main stringtable.csv. Note "SIX" has a string suggesting it is a groupname, although the engine uses it as a colour. Some examples of the string names : STR_CFG_GRPNAMES_ALPHA, STR_CFG_GRPNAMES_FOX, STR_CFG_GRPCOL_BLACK, STR_CFG_GRPNAMES_SIX, STR_CFG_FIREFLYBASE, STR_CFG_PAPABEAR, STR_CFG_HQ_BASE, STR_CFG_HQ_BASE.
 +
 
</dd>
 
</dd>
 
<!-- Note Section END -->
 
<!-- Note Section END -->
Line 81: Line 88:
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
 
  
  

Revision as of 04:11, 12 February 2007

Introduced with Operation Flashpoint version1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

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"
  • "Yankee"
  • "Zulu"
  • "Buffalo"
  • "Convoy"
  • "Guardian"
  • "November"
  • "Two"
  • "Three"
  • "Fox"
Colour can be one of the following:
  • "GroupColor0" - (Nothing)
  • "GroupColor1" - Black
  • "GroupColor2" - Red
  • "GroupColor3" - Green
  • "GroupColor4" - Blue
  • "GroupColor5" - Yellow
  • "GroupColor6" - Orange
  • "GroupColor7" - Pink
  • "Six" - Six

Syntax

Syntax:
group setGroupId [nameFomat, nameParam1, ...]
Parameters:
group: Object or Group
[nameFomat, nameParam1, ...]: Array
Return Value:
Nothing

Examples

Example 1:
group1 setGroupId ["Delta","GroupColor4"]

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Posted on August 4, 2006 - 11:01
hardrock
Notes from before the conversion: Note that this command does not name the group. To call a group "grp1", for example, write this in the init field of the group leader: grp1 = group this
Posted on December 9, 2006 - 12:20
Mondkalb
Selfdefined Callsigns: In Armed Assault you're able to define the callsignletter by yourself. This can be for example "Fireteam", or "Specialforces". this setgroupId ["Attackteam","groupcolor2"]
Ceeeb
In OFP v1.96, the radio callsign strings for a mission can be redefined by creating a stringtable.csv in the mission folder. All string names except FOX can be found within the main stringtable.csv. Note "SIX" has a string suggesting it is a groupname, although the engine uses it as a colour. Some examples of the string names : STR_CFG_GRPNAMES_ALPHA, STR_CFG_GRPNAMES_FOX, STR_CFG_GRPCOL_BLACK, STR_CFG_GRPNAMES_SIX, STR_CFG_FIREFLYBASE, STR_CFG_PAPABEAR, STR_CFG_HQ_BASE, STR_CFG_HQ_BASE.

Bottom Section