Stringtable.csv: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Languages)
Line 1: Line 1:
[[category:Operation Flashpoint: Editing]]
[[category:Operation Flashpoint: Editing]]
===Introduction===
==Introduction==


==Languages==
First defined language is default and will be shown when no other language is active. So on the first place should be English.


Languages, English, Czech,
STR_TEXT1, "English sentence", "Česká věta"
<span style="color:green">'''This is correct.'''</span> Players with czech version will see "Česká věta", all others will se "English sentence"


Languages, Czech, English
STR_TEXT1, "Česká věta", "English sentence"
<span style="color:red">'''This is wrong.'''</span> Players with czech version will see "Česká věta", but all other players except of the ones with English version will also see "Česká věta". However, many mission designers and addon creators are using this way becase placing their native language is simply more natural.


===Custom Radio Names===
 
==Custom Radio Names==


It is possible to create custom radio names for your squads using the '''stringtable.csv'''.
It is possible to create custom radio names for your squads using the '''stringtable.csv'''.
Line 11: Line 20:
Create your group and give them a normal radio name with the following command in the init line of the commander.
Create your group and give them a normal radio name with the following command in the init line of the commander.


  this [[setGroupId]] [""Alpha"", ""GroupColor0""]
  this [[setGroupId]] ["Alpha", "GroupColor0"]


Now, in your '''stringtable.cvs''' add;
Now, in your '''stringtable.cvs''' add;
Line 19: Line 28:
Where ''YourName'' is the custom name you'd like your squad radio messages to have.
Where ''YourName'' is the custom name you'd like your squad radio messages to have.


'''Note:'''
There are instances where the radio name will revert to the default after a reload of the mission.


===Languages===
'''Notes:'''
*There are instances where the radio name will revert to the default after a reload of the mission.
*Replaced can be not only radio names, but every text which is loaded on the mission start andnoton the game start (for example briefing chapters)

Revision as of 09:55, 8 September 2006

Introduction

Languages

First defined language is default and will be shown when no other language is active. So on the first place should be English.

Languages, English, Czech,
STR_TEXT1, "English sentence", "Česká věta"

This is correct. Players with czech version will see "Česká věta", all others will se "English sentence"

Languages, Czech, English
STR_TEXT1, "Česká věta", "English sentence"

This is wrong. Players with czech version will see "Česká věta", but all other players except of the ones with English version will also see "Česká věta". However, many mission designers and addon creators are using this way becase placing their native language is simply more natural.


Custom Radio Names

It is possible to create custom radio names for your squads using the stringtable.csv.

Create your group and give them a normal radio name with the following command in the init line of the commander.

this setGroupId ["Alpha", "GroupColor0"]

Now, in your stringtable.cvs add;

"STR_CFG_GRPNAMES_ALPHA","YourName"

Where YourName is the custom name you'd like your squad radio messages to have.


Notes:

  • There are instances where the radio name will revert to the default after a reload of the mission.
  • Replaced can be not only radio names, but every text which is loaded on the mission start andnoton the game start (for example briefing chapters)