Results 1 to 9 of 9
  1. #1
    Member Level 7
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    307
    Rep Points
    14
    Rep Power
    4

    Objectives and mission name dont appear.

    In the place supposed to be the objective text, there is a "mission/single..." text.

    Also the name of the mission during the loading screen also appear a directory.

    How can I change?

  2. #2
    Member Level 5
    Join Date
    Jul 2007
    Posts
    191
    Rep Points
    0
    Rep Power
    6

    Re: Objectives and mission name dont appear.

    Never delete anything, unless you have a back up!!

    You need to create a .lng file in the following directory structure, if the directories don't exist, create them

    Assuming your mod is called Map1

    505games/1C/Men of War/mod/resource/interface/text/mission/single/Map1/1-Map1.LNG

    the Map1.LNG file should contain the following text

    Code:
    {tags
    	{"date" "13th September 1940"}      ' Date shown
    	{"name" "Name of Mod"}                 'Small name of mod shown
    	{"name_big" "Name of Mod"}          'Large name of mod
    	{"place" "Description of location"}  ' Place your mod takes place, ie. France, Italy, Create, etc
    }
    This all works on my mod, hope it helps

  3. #3
    Member Level 7
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    307
    Rep Points
    14
    Rep Power
    4

    Re: Objectives and mission name dont appear.

    Thank mate but its a little bit confusing to me.

    Assuming your MOD is called Map1 (you mean the name of the mod and not the mission, right?)

    505games/1C/Men of War/modS/resource/interface/text/mission/single/Map1/1-Map1.LNG

    Note de S in "modS", also, where re the "mod name" folder, betweeen "/mods" and "rescource" ???

    That last Map1 in red is the name of the mod or the name of the mission map?

    the Map1.LNG file should contain the following text

    CODE: SELECT ALL
    {tags
    {"date" "13th September 1940"} ' Date shown
    {"name" "Name of Mod"} 'Small name of mod shown
    {"name_big" "Name of Mod"} 'Large name of mod
    {"place" "Description of location"} ' Place your mod takes place, ie. France, Italy, Create, etc
    }

    In the script, that parts in red are just for show me or I also need to keep it in the text? (Ok it can sound dumb but, who knows...)

  4. #4
    Member Level 5
    Join Date
    Jul 2007
    Posts
    191
    Rep Points
    0
    Rep Power
    6

    Re: Objectives and mission name dont appear.

    Sorry, I will try to make it clearer

    1. Yes, MAP1 is the mod name

    2. ModS should have an S

    3. Yes you need the mod name between mods/MAP1/resource

    4. 1-Map1.LNG is the mission name within the mod

    It was late and I was just copying quickly off the screen on another PC

    Try the above, but in the mean time, when I get 5 mins, I will try and see if I can make up a blank structure within MoW, which shows a blank map, with the correct date and text. Then I can upload it and you can see what I am saying.

  5. #5
    Member Level 7
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    307
    Rep Points
    14
    Rep Power
    4

    Re: Objectives and mission name dont appear.

    I did not managed to do it, it still the same, Im doind something wrong pherhaps.

    anyway thank you!

  6. #6
    Member Level 5
    Join Date
    Jul 2007
    Posts
    191
    Rep Points
    0
    Rep Power
    6

    Re: Objectives and mission name dont appear.

    I will create a template for you, which shows the format, but my LAN was down at home last night, so I won't be able to do it till tonight, then you should be able to see how it works in a mod.

    >>>> [url=http://www.mediafire.com/download.php?1d2n8ejaf9raai2[/url]

    Download this rar file, unrar and put it in your mod folder
    Run MoW
    Goto Options and add this mod
    Press Apply

    Single Player Option
    Select mission
    Select the header called "Mod Format"
    You should see a new screen with the name "Map One" on it
    Select Map One and this will start to load, with the correct place name, date, etc, showing
    Then a dummy, blank map will load

    If you then quit and go into the mod and look for the following file

    resource/interface/text/mission/single/Mod Format/1-Map One.LNG

    This file contains the format and content of the text to display the mission details correctly for your mod

    Hope that helps you out with your problem
    Last edited by Dilust; 17 Hours Ago at 17:07. Reason: link updated

  7. #7
    Member Level 7
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    307
    Rep Points
    14
    Rep Power
    4

    Re: Objectives and mission name dont appear.

    Ok, thank you.

  8. #8
    Member Level 7
    Join Date
    Apr 2010
    Location
    Brazil
    Posts
    307
    Rep Points
    14
    Rep Power
    4
    Could someone please do the same as Popalu and send me a template again? Thanks.

  9. #9
    Moderator Level 22 Dilust's Avatar
    Join Date
    Aug 2007
    Location
    Italia
    Posts
    2,696
    Rep Points
    42
    Rep Power
    8
    What you need is a language files for your campaign and for your mission.
    A language files is a text files with a .lng extension.
    It could be placed inside the localization folder or inside resource/interface. Both ways work the same.

    The better way to learn the structure of language files is to look inside the localization.pak archive file.
    Now you should pay a great attention to the folder tree structure inside the localization.pak file.

    Here you'll notice a similar correspondence between this folder structure of language files and the folder location of your map-mission.

    For example:

    localization.pak\mission\single\01_usa-skirmish/00_tutorial.lng
    localization.pak\mission\single\01_usa-skirmish/campaign.lng

    resource\map\single\01_usa-skirmish\00_tutorial/0.mi
    By prevailing over all obstacles and distractions, one may unfailingly arrive at his chosen goal of destination. Cristoforo Colombo
    Visit my Soldiers and Fow mods collection

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •