Page MenuHomeFeedback Tracker

kbTell does not localize correctly the radio text message
Acknowledged, WishlistPublic

Description

If I use French localization and I run kbTell then the Polish player that is playing with me on the same server will see the radio text message in French instead of Polish

Details

Legacy ID
1935223970
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Localization
Steps To Reproduce

tested on hosted server with following commands:

player kbAddtopic["toto", "\a3\modules_f\supports\kb\protocol.bikb"];
hint str (player kbHasTopic "toto");
player kbTell [player,"toto","Transport_Request",true];

Additional Information

I am using kbTell in my mission because it allows me to use some audio files from the game (so I don't need add more to the mission).
I am using these radio messages when a player teamhits a friendly player.
The problem is the following script will display the "cease fire" message in the language of the target for both target and shooter (so if shooter is polish and the target is french then polish shooter will see "cease fire" message in french and will not understand what he's doing):

MYTARGET kbAddtopic ["SENTENCES", "sentences.bikb"];
MYTARGET kbTell
[

		MYSHOOTER,
		"SENTENCES",
		["CEASE_FIRE_1", "CEASE_FIRE_2", "CEASE_FIRE_3", "CEASE_FIRE_4"] select floor random 4,
		[
			"MESSAGE",
			{},
			format ["%1! %2", name MYSHOOTER, localize "STR_A3_CEASE_FIRE"],
			[]
		],
		if (group MYTARGET == group MYSHOOTER) then {"GROUP"} else {"SIDE"}

];

sentences.bikb file:

class Sentences
{
class CEASE_FIRE_1
{

		text = "%MESSAGE";
		speech[] = {"CeaseFire"};
		class Arguments
		{
			class MESSAGE {type = "simple";};
		};

};
class CEASE_FIRE_2
{

		text = "%MESSAGE";
		speech[] = {"HoldFire"};
		class Arguments
		{
			class MESSAGE {type = "simple";};
		};

};
class CEASE_FIRE_3
{

		text = "%MESSAGE";
		speech[] = {"DoNotFire"};
		class Arguments
		{
			class MESSAGE {type = "simple";};
		};

};
class CEASE_FIRE_4
{

		text = "%MESSAGE";
		speech[] = {"CheckYourFire"};
		class Arguments
		{
			class MESSAGE {type = "simple";};
		};

};
};

class Arguments{};
class Special {};

startWithVocal[] = {};
startWithConsonant[] = {};

Event Timeline

d3nn16 edited Steps To Reproduce. (Show Details)May 9 2015, 11:53 PM
d3nn16 edited Additional Information. (Show Details)
d3nn16 set Category to Localization.
d3nn16 set Reproducibility to N/A.
d3nn16 set Severity to None.
d3nn16 set Resolution to Open.
d3nn16 set Legacy ID to 1935223970.May 8 2016, 12:04 PM
d3nn16 edited a custom field.
muf added a comment.Sep 14 2015, 6:03 PM

Confirmed, thanks for reporting the issue. Will be processed by our team.

d3nn16 added a subscriber: d3nn16.May 8 2016, 12:04 PM

I am using kbTell in my mission because it allows me to use some audio files from the game (so I don't need add more to the mission).
I am using these radio messages when a player teamhits a friendly player.
The problem is the following script will display the "cease fire" message in the language of the target for both target and shooter (so if shooter is polish and the target is french then polish shooter will see message in french and will not understand what he's doing):

MYTARGET kbAddtopic ["SENTENCES", "bikb\sentences.bikb"];
MYTARGET kbTell
[

		MYSHOOTER,
		"SENTENCES",
		["CEASE_FIRE_1", "CEASE_FIRE_2", "CEASE_FIRE_3", "CEASE_FIRE_4"] select floor random 4,
		[
			"MESSAGE",
			{},
			format ["%1! %2", name MYSHOOTER, localize "STR_A3_CEASE_FIRE"],
			[]
		],
		if (group MYTARGET == group MYSHOOTER) then {"GROUP"} else {"SIDE"}

];

I am using kbTell in my mission because it allows me to use some audio files from the game (so I don't need add more to the mission).
I am using these radio messages when a player teamhits a friendly player.
The problem is the following script will display the "cease fire" message in the language of the target for both target and shooter (so if shooter is polish and the target is french then polish shooter will see message in french and will not understand what he's doing):

MYTARGET kbAddtopic ["SENTENCES", "bikb\sentences.bikb"];
MYTARGET kbTell
[

		MYSHOOTER,
		"SENTENCES",
		["CEASE_FIRE_1", "CEASE_FIRE_2", "CEASE_FIRE_3", "CEASE_FIRE_4"] select floor random 4,
		[
			"MESSAGE",
			{},
			format ["%1! %2", name MYSHOOTER, localize "STR_A3_CEASE_FIRE"],
			[]
		],
		if (group MYTARGET == group MYSHOOTER) then {"GROUP"} else {"SIDE"}

];