Jump to content


Photo

Renaming objects


  • Please log in to reply
3 replies to this topic

#1 SnonJow

SnonJow
  • Members
  • 23 posts

Posted 01 March 2018 - 03:03 PM

Is it possible to rename an object?

 

I would like to rename the components of Helm's Deep and Minas Tirith (walls, gate houses, doors etc.) so that when you hover your mouse pointer over them in game, you get the desired name instead of the default one. The image below depicts what I want to change.

 

I only need the changes to occur when playing a specific map.

 

mvjntf.jpg


Edited by Issil, 01 March 2018 - 03:03 PM.


#2 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 04 March 2018 - 03:23 AM

Object NameOfObjectYouWantToChange
     DisplayName     =     Name Displayed on Hover
END

Save as map.ini to the same folder as the map you desire to change the name in. EA Helm's probably already has a map.ini file so just open that.


Edited by Jokuc, 04 March 2018 - 03:25 AM.


#3 SnonJow

SnonJow
  • Members
  • 23 posts

Posted 04 March 2018 - 08:55 AM

Yeah this works. Thanks. :)

 

However... it changes the name to MISSING: 'name'

Is there any way to fix that?



#4 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 04 March 2018 - 08:33 PM

it changes the name to MISSING: 'name' Is there any way to fix that?

 

As far as I know, no. You can change the name of upgrades and powers by adding a controlbar tag, 'DisplayName = CONTROLBAR:Name' then making a map.str file in which you define the tag's text, but that won't work for objects so you can't add custom display names on objects without having the 'MISSING:' tag show up. However, you can use the name of other objects if there are any which fits, those are be called 'OBJECT:Name'.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users