Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Author Topic: Editing unit info  (Read 3520 times)

0 Members and 1 Guest are viewing this topic.

August 08, 2015, 10:01:58 AM

Offline ErikModi

  • Brevet Admiral
  • ****
  • Posts: 45
  • Approval: +0/-0
    • View Profile
Editing unit info
« on: August 08, 2015, 10:01:58 AM »
So, got a bit into editing some XMLs for taste, and was now wondering about changing the text box for units, where it displays their name and some information.  Which file do I need to edit, and do I need any special tools?

August 08, 2015, 10:15:07 AMReply #1

Offline Slornie

  • Mod Team Member
  • Moff
  • ****
  • Posts: 2,759
  • Approval: +54/-13
  • Every Silver Lining has a Cloud
    • View Profile
Re: Editing unit info
« Reply #1 on: August 08, 2015, 10:15:07 AM »
All the text strings are in MasterTextFile_English.dat, for which you'll need a .dat editor.  The xml entry for each unit has xml tags that tell the game which text strings from the text file to use.
Quote from: RonMaverick291 (Gametrailers)
why do u hate america? if it were not for us u guys would be lost. i mean we invented the tv, we invented the internet, cars and we even went to the planet moon. we won all the wars and we always help the little countries who cant fight and we give food to poor people.

August 08, 2015, 12:09:27 PMReply #2

Offline ErikModi

  • Brevet Admiral
  • ****
  • Posts: 45
  • Approval: +0/-0
    • View Profile
Re: Editing unit info
« Reply #2 on: August 08, 2015, 12:09:27 PM »
Thanks!

EDIT:  Uh, so, where can I find a DAT editor that makes sense of the gobbledegook?
« Last Edit: August 08, 2015, 12:15:08 PM by ErikModi »

August 08, 2015, 01:44:44 PMReply #3

Offline Slornie

  • Mod Team Member
  • Moff
  • ****
  • Posts: 2,759
  • Approval: +54/-13
  • Every Silver Lining has a Cloud
    • View Profile
Re: Editing unit info
« Reply #3 on: August 08, 2015, 01:44:44 PM »
Oh yeah, Filefront is gone.. Try EverythingEAW or Petrolution?
Quote from: RonMaverick291 (Gametrailers)
why do u hate america? if it were not for us u guys would be lost. i mean we invented the tv, we invented the internet, cars and we even went to the planet moon. we won all the wars and we always help the little countries who cant fight and we give food to poor people.

August 08, 2015, 03:30:17 PMReply #4

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,520
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Editing unit info
« Reply #4 on: August 08, 2015, 03:30:17 PM »
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


August 08, 2015, 09:49:18 PMReply #5

Offline ErikModi

  • Brevet Admiral
  • ****
  • Posts: 45
  • Approval: +0/-0
    • View Profile
Re: Editing unit info
« Reply #5 on: August 08, 2015, 09:49:18 PM »
Found one, thanks!

 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!