Jump to content
Sign in to follow this  
bull_a

Missing strings from stringtable

Recommended Posts

Hi all

I am creating a mission for the community, hopefully to enhance the enjoyment of Arma 3 (Vanilla). As this is a mission that will be used by the diverse members of the community, I wanted to go about setting up a string table, allow members to add translations to the mission as they can. However, the mission does not seem to be able to pull the strings out of the string table, and I have come unstuck as to why.

Here is my Description.ext:

briefingName = $STR_A3_CERBERUS_MP_COOP_m01_briefingName;
onLoadName = $STR_A3_CERBERUS_MP_COOP_m01_briefingName;
onLoadMission = $STR_A3_CERBERUS_MP_COOP_m01_onLoadMission;
overviewMission = ;
overviewText = $STR_A3_CERBERUS_MP_COOP_m01_onLoadMission;
loadScreen = "data\zeus_cti_altis.paa";
overvieawPicture = "data\zeus_cti_altis.paa";
author = $STR_A3_CERBERUS_author;
dev = $STR_A3_CERBERUS_developer_bull;

disabledAI = 1;
joinUnassigned = 1;

And here is my XML:

<?xml version="1.0" encoding="utf-8"?>
<Project name="Arma3Cerberus">
 <!-- Cerberus Strings -->
 <Package name="Language_Misc">
 	<Container name="Developer">
 		<Key id="str_a3_cerberus_author">
 			<Original>Radian Development</Original>
 		</Key>
 		<Key id="str_a3_cerberus_developer_bull">
 			<Original>Bull</Original>
 		</Key>
 	</Container>
 </Package>
 <!-- Mission Strings -->
 <Package name="Language_Missions">
   <Container name="zcti_cerberus_altis">
     	<Key id="str_a3_cerberus_mp_coop_m01_briefingname">
     		<Original>ZCTI 50 Altis</Original>
     	</Key>
     	<Key id="str_a3_cerberus_mp_coop_m01_onloadmission">
     		<Original>Capture the island from enemy forces. The almighty <t font='PuristaBold'>Zeus</t> favours the brave</Original>
     	</Key>
     </Container>
 </Package>
</Project>

To me, they both look fine. There are no spelling errors in the description.ext file, that I can spot, so I am at a loss as to why this is not working

Regards,

Bull

Share this post


Link to post
Share on other sites

I'm not sure but it's possible the strings are case sensitive, so you need STR_A3_CERBERUS_MP_COOP_m01_briefingName not str_a3_cerberus_mp_coop_m01_briefingname in your stringtable. I can't see anything else as one I've got around appears to be set up the same apart from that.

Share this post


Link to post
Share on other sites
I'm not sure but it's possible the strings are case sensitive, so you need STR_A3_CERBERUS_MP_COOP_m01_briefingName not str_a3_cerberus_mp_coop_m01_briefingname in your stringtable. I can't see anything else as one I've got around appears to be set up the same apart from that.

Im pretty sure that is not an issue. I have both matched and un-matched versions for case, neither of them work. Thanks for the help, was appreciated. Would you mind sending me your version so I can compare and see if Ive missed anything

Regards,

Bull

Share this post


Link to post
Share on other sites

https://www.mediafire.com/?yk1xhenr0oikz6h - Stringtable

http://www.mediafire.com/view/arc75pb79mkak7l/stringtable.xml - Description.ext

The stringtable's ridiculously long but you can safely ignore most of it. (There's probably some junk in the description.ext as well, I haven't worked on this for a while).

EDIT: Bollocks (see below. :D)

Edited by Jona33

Share this post


Link to post
Share on other sites
https://www.mediafire.com/?yk1xhenr0oikz6h - Stringtable

https://www.mediafire.com/?yk1xhenr0oikz6h - Description.ext

The stringtable's ridiculously long but you can safely ignore most of it. (There's probably some junk in the description.ext as well, I haven't worked on this for a while).

You sent the link for the same file :)

---------- Post added at 22:28 ---------- Previous post was at 22:08 ----------

Turns out you were correct about changing the case. It doesnt matter for the $STR...... However, in Stringtable.xml the ID attribute of the Key tag need to be in upper case. Thanks for the help

Regards,

Bull

Share this post


Link to post
Share on other sites
You sent the link for the same file :)

---------- Post added at 22:28 ---------- Previous post was at 22:08 ----------

Turns out you were correct about changing the case. It doesnt matter for the $STR...... However, in Stringtable.xml the ID attribute of the Key tag need to be in upper case. Thanks for the help

Regards,

Bull

No worries, happy to help.

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  

×