Jump to content
Terrow

Problems with infotexts / portraits in language files

Recommended Posts

Okay, I must be missing something because I went through hoppahs tutorial 100 times and still can't figure it out. My models go in the game fine, lights work, commands work yada yada. 

 

Whenever I go to check the Name, Purpose or Tooltip I just get "ID_NAME_MyunitID" etc. Nothing that I filled out is in there, just that. What could I be missing? I already compared my current scripts to the rest and they're perfect. 

 

portraits

 

<strings>

<string name="ID_PORTRAIT_NYSPT">NYSP Taurus Lightbar</string>
<string name="ID_PORTRAIT_ECSOE">Erie County SO Explorer</string>
 
infotexts
 
<string name="ID_NAME_NYSPT">NYSP Taurus Lightbar</string>
<string name="ID_PURPOSE_NYSPT">test</string>
<string name="ID_TOOLTIP_NYSPT">NYSP Taurus Lightbar</string>
<string name="ID_NAME_ECSOE">ECSO Explorer</string>
<string name="ID_PURPOSE_ECSOE">test</string>
<string name="ID_TOOLTIP_ECSOE">ECSO Explorer</string>
 
My Unit ID is the same on both.

 

Link to comment
Share on other sites

Three files total: Portraits and Infotexts under the Lang folder, and Portraits under the Specs folder. The last one is probably where you still need to add/change things.

Nope, have that assigned already, unless I did it incorrectly.

 

 

cc8f04f3d7.png

Link to comment
Share on other sites

In case all other texts are fine, check in unit.xml for erors

c8a5393360.png

 

Only thing I changed was the Unit ID and price of the car. Everything works fine in game, the money that it costs to buy comes out fine, the units that are attached to it show up fine. Only the descriptions are messed up. 

Link to comment
Share on other sites

Eww windows 8

 

Compare the metastrings file with the one in the LA Mod, NYC Mod or US Army mod and you probably know what u gotta do. The files that are present in your language folder need a path change in that metastrings file.

 

For example: <file name="mod:Lang/en/infotexts.xml" /> in case yours is located in the "\Lang\En\" folder in your mod.

Link to comment
Share on other sites

Eww windows 8

 

Compare the metastrings file with the one in the LA Mod, NYC Mod or US Army mod and you probably know what u gotta do. The files that are present in your language folder need a path change in that metastrings file.

 

For example: <file name="mod:Lang/en/infotexts.xml" /> in case yours is located in the "\Lang\En\" folder in your mod.

It came pre-installed  :tongue2:

Yeah, I'll download one and see what's wrong with it. Thank you all 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...