Jump to content

Lightvision

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Lightvision

  • Rank
    Rookie

Contact Methods

  • Steam url id
    Lightvisionx
  • Origin
    Lightvisionx
  • Twitch.Tv
    CAPgames
  1. Lightvision

    FHQ TaskTracker

    localization works, i have it working for my radio dialogue and locations to the audio filesThat did not work but for some reason this did [ group play1, ["StartTask", format ["%1",localize "STR_INTRO_BRIEFING_TEXT"], format ["%1",localize "STR_INTRO_TASK_TITLE"], format ["%1",localize "STR_INTRO_WAYPOINT_TEXT"], getmarkerpos "lz1", "assigned" ] ] call FHQ_TT_addTasks; it didn't work the first time, maybe i forgot to save the stringtable before previewing the mission. its the only way i can get it working
  2. Lightvision

    FHQ TaskTracker

    Herro i am wondering if there is away to use strings from stringtable.xml with creating tasks so that i the tasts i create are compatible with multiple languages here is what i mean, this is the starting task for one of my missions [ group play1, ["StartTask", "Get to the insertion point and get out the chopper", "Insertion to Altis", "Landing Zone", getmarkerpos "lz1", "assigned" ] ] call FHQ_TT_addTasks; now in my stringtable.xml i have (this is just a snippet) <!-- ************************** --> <!-- * Intro Task Information * --> <!-- ************************** --> <Key ID="STR_INTRO_BRIEFING_TEXT"> <Original>Get to the insertion point and get out the chopper</Original> <English>Get to the insertion point and get out the chopper</English> </Key> <Key ID="STR_INTRO_TASK_TITLE"> <Original>Insertion to Altis</Original> <English>Insertion to Altis</English> </Key> <Key ID="STR_INTRO_WAYPOINT_TEXT"> <Original>Landing Zone</Original> <English>Landing Zone</English> </Key> i have tried the following with no luck localize "STR_INTRO_BRIEFING_TEXT" (localize "STR_INTRO_BRIEFING_TEXT") [localize "STR_INTRO_BRIEFING_TEXT"] format ["%1",localize "STR_INTRO_BRIEFING_TEXT"] STR_INTRO_BRIEFING_TEXT "STR_INTRO_BRIEFING_TEXT" $STR_INTRO_BRIEFING_TEXT "$STR_INTRO_BRIEFING_TEXT" Does any one have any ideas? Is FHW Task Tracker compatible using strings from stringtable? also can you use stringtable strings with adding briefings?
  3. Lightvision

    stringable.xml help

    dr_strangepete thanks so much. you cleared up everything i needed to know about this :) EDIT: after some testing i have come up with an issue, i have created a test mission to test out scripts and my problem is when i do not use variables from my stringable.xml this works, it plays the audio and display's radio text description.ext class CfgRadio { sounds[] = {intrad1}; class intrad1 { name = "intrad1"; sound[] = {"audio\radio\en\01_intro\1.ogg", db+0, 1}; title = "Eagle 4 this is guardian, radio check, how copy?"; }; }; however if i use variables in stringtable.xml like below it does not play the audio or text description.ext class CfgRadio { sounds[] = {intrad1}; class intrad1 { name = "intrad1"; sound[] = {$STR_RADIO_INTRO_DIR_1, db+0, 1}; title = $STR_RADIO_INTRO_1; }; }; stringtable.xml <?xml version="1.0" encoding="utf-8" ?> <Project name="LightvisionPrjMis1"> <Package name="LightvisionPckMis1"> <Container name="LVMis1RadioDir"> <Key ID="STR_RADIO_INTRO_DIR_1"> <Original>audio\radio\en\01_intro\1.ogg</Original> <English>audio\radio\en\01_intro\1.ogg</English> </Key> </Container> <Container name="LVMis1RadioChatter"> <Key ID="STR_RADIO_INTRO_1"> <Original>Eagle 4 this is guardian, radio check, how copy?</Original> <English>Eagle 4 this is guardian, radio check, how copy?</English> </Key> </Container> </Package> </Project> i have tried putting quotes in the stringtable.xml, it does not do anything any ideas? EDIT AGAIN: ok i know why its not working and i fixed the problem it was a filename typo on my part my xml was called "stringable" and then realised it was a typo, i renamed it to "stringtable" and its all working now
  4. Herro, to start with, i have experience in making missions and scripting in Arma 3 only and never made any for Arma or Arma2 The past few days i have been working on the start of what will turn out to be a 24 mission story based SP campaign, with hopes to make it MP/Co-op compatible too. before i start constructing the missions i want to put in place the ability to make it multi-lingual from text displayed in tasks and radio chatter to even radio audio. this will save time from going back and doing it later so here is the thing. i know i need a stringtable.xml in the mission folder and i think the xml structure below is correct. <?xml version="1.0" encoding="utf-8" ?> <Project name="ProjectName"> <Package name="PackageName"> <Container name="ContainerName"> <Key ID="STR_SOME_STRING"> <English>String in english</English> <Italian>string in italian</Italian> <French>string in french</French> </Key> </Container> </Package> </Project> I do have questions Project Name - Does this have to be anything specific for my missions? can it be named anything i like? Package Name - Does this have to be anything specific for my missions? can it be named anything i like? Container Name - Does this have to be anything specific for my missions? can it be named anything i like? is this just a way to find stuff easily? as for languages, is there a list of supported languages that can be added? also if a language is not supported in the mission(s) then will it default to English of its the first language set? the only reason why i ask about this is that I have searched for hours looking for templates/tutorials/etc. about this and only found 1 video in russian, which i do not understand. i have most things noted in text files to refer to if i get stuck but this is the main thing stopping me form creating my missions and campaign. any help that can be provided will be greatly appreciated Thanks in advance, Lightvision
×