OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: Cougarxr7 on 06 Jul 2009, 16:06:05

Title: Greeting messages and strings.
Post by: Cougarxr7 on 06 Jul 2009, 16:06:05
I ran a greeting message in Armed Assault. Try it in Arma and it gave me an error.
Can't remmember the error but I will try again, just to refresh my memory.
Is it different in Arma to setup titletext, than Armed Asault?
Also strings, I have seen these all over, "STR_M04t16_0", "STR_M04t24", "STR_M04t106", ect.., ect..
Where can I find the reference file to those strings?
Thank you for helping!
Title: Re: Greeting messages and strings.
Post by: JamesF1 on 06 Jul 2009, 17:41:00
Those references are to stringtable entries.  But to do a simple titleText (http://community.bistudio.com/wiki/titleText), you'll just need, e.g.:
Code: [Select]
player titleText["Hello!", "PLAIN DOWN"];
Title: Re: Greeting messages and strings.
Post by: Cougarxr7 on 06 Jul 2009, 17:45:56
Thanks JamesF1, I got it working!
Still looking for a reference to those strings!
Title: Re: Greeting messages and strings.
Post by: JamesF1 on 06 Jul 2009, 19:45:53
Take a read of this (http://community.bistudio.com/wiki/CSV_File_Format_-_Stringtables) on the Biki.  It explains the use of Stringtables.
Title: Re: Greeting messages and strings.
Post by: Cougarxr7 on 08 Jul 2009, 01:47:18
JamesF1,
 I am aware of the csv format, however the stingtable.csv used to be in the mission folder with the mission in Armed Assault.
Now in Arma2 there is no stringtable.csv in the mission folder.
Arma2 is using the stringtable.xml.
Please do me a favor and find this "STR_M04t60".
I have looked in the, "language.pbo", "languagemissions.pbo", and more.
Please let me know where you found it.
Thanks!
Title: Re: Greeting messages and strings.
Post by: i0n0s on 08 Jul 2009, 06:17:47
Code: [Select]
<Key ID="str_m04t60"><German>FLUGFELD</German></Key>languagecore/ca/languagemissions/stringtable.xml
Title: Re: Greeting messages and strings.
Post by: JamesF1 on 08 Jul 2009, 08:27:58
I am aware of the csv format, however the stingtable.csv used to be in the mission folder with the mission in Armed Assault.
Sorry, I misunderstood your question - I thought you were merely puzzled by the strange 'strings' :)
Title: Re: Greeting messages and strings.
Post by: Cougarxr7 on 08 Jul 2009, 09:35:22
Thanks i0n0s, it was right under my nose the whole time! ::)
Thats cool, JamesF1, thanks for replying!