Jump to content

Recommended Posts

Posted

I'm having a bit of trouble with a modI'm making Every time I try to start Emperor it comes up with a message say:

STRINGS.TXT ERROR

Duplicate entry

Line; 634ish

Last Section; ObjectTips

Last entry: [imgeneral]

The strange thing is that there is no other entry. I've been using Inoculator9's tutorials,if that helps

Posted

There does not have to be another entry the line should look as follows:

IMGeneral {Your text in here for the objectstip}

in my mod it looks like:

IMGeneral {Mercenary Commander}

If the } bracket is missing the line will be seen as a duplicate, OR the missing bracket could be on the NEXT line OR the PREVIOUS line and thus cause the error.

My mod has the following three entries for that section of the strings.txt file:

IMADVSardaukar {Corrino Bashar}

IMGeneral {Mercenary Commander}

IMDropShip {Landsraad OrniBomber}

There is as DuneNewt mentioned a second file that you can change objecttip names, the E_Output_Text_Pickup.txt file. If you add a filename into strings.txt that is in the second file again you get an error.

If you are adding new unit names to have objecttips then this should go in the strings.txt file at the end of the objects list before the [END] line and the

RetreatPopUp

RetreatYes {Yes}

RetreatNo {No}

[END]

section. Put the new names anywhere else and the naming of camapign units gets screwed up.

Posted

I've been using the E_Output_Text_Pickup.txt file. You're saying that I should be using the Strings.txt file?

Yes - IMGeneral is defined in strings.txt - by adding it to e_output file you created a duplicate entry as your warning explained!

You need look in both files if you are renaming units as they are spread across both files. If you are adding new unit names these go in strings.txt (at the end as explaine din my previous message).

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.