Home   Help Search Login Register  

Author Topic: How i change the missions name  (Read 1367 times)

0 Members and 1 Guest are viewing this topic.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
How i change the missions name
« on: 07 Jan 2011, 18:23:04 »
Hi i'm i again.

I want know how i can place the missions name in english and Spanish to left part?. If try with command, or whatever ----> "$STRM_Name", i get in white. I will want know how i do that?

Can you help me pls?

ahh i forgot: Why when i try to write to the post of Rescue i get this:

Quote
An Error Has Occurred!
Sorry, but you are not allowed to double post. Please go back and edit your previous post.

~Aldo
« Last Edit: 07 Jan 2011, 18:29:26 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: How i change the missions name
« Reply #1 on: 07 Jan 2011, 22:46:48 »
First you are trying to double post which is forbidden. Just edit your previous post.
Second, I have attached a copy of the stringtable.csv that Macguba used in Unimpossible Mission. It has a definition AND special characters for Spanish. Study it and you will see. Open it with notepad not excel.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: How i change the missions name
« Reply #2 on: 08 Jan 2011, 00:39:42 »
I already knew that, but what i aks is. How do i to use several languages in the name of my missions?. see the sample image.

I want that the name pointed, appears in spanish.
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: How i change the missions name
« Reply #3 on: 08 Jan 2011, 01:50:49 »
You have to write a new overview/briefing for every language and title them Overview.Spanish or Briefing.Spanish, etc.
Place them all in your mission folder.

Walter_E_Kurtz

  • Guest
Re: How i change the missions name
« Reply #4 on: 08 Jan 2011, 02:19:02 »
I want that the name pointed, appears in Spanish.
Not possible. (Though there are some limited exceptions).

To appear in multiple languages the title would have to be listed in the stringtable. When previewing the list of missions, the stringtables are not loaded by the game (only once you click Play). Hence, mission names cannot be in different languages.

The only exception is for words in the global stringtable ( <OFP>\Res\Bin\Stringtable.csv ), for example:
Quote

And the correct way to call it would be to use @ (rather than $), eg. @STR_AUTHOR_30

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: How i change the missions name
« Reply #5 on: 08 Jan 2011, 03:34:30 »
I tried, but are not loaded the missions names :sorry:
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Walter_E_Kurtz

  • Guest
Re: How i change the missions name
« Reply #6 on: 09 Jan 2011, 00:09:38 »
Quote from: mission.sqm
version=11;
class Mission
{
   addOns[]=
   {
      ...
   };
   addOnsAuto[]=
   {
      ...
   };
   randomSeed=5891587;
   class Intel
   {
      briefingName="@STR_AUTHOR_30";

      ...
   };
...

Taking back what I said earlier; to have the mission name of your choice in multiple languages you would have to create a stringtable, pbo it and place it in the Addons folder