BadaBing
Chieftain
- Joined
- Nov 24, 2005
- Messages
- 92
I really miss the ability to rename my units at any time (not just once when they get a level 2 promotion!) similar to the old UI - EditUnitNames mod for Civ V.
I've spent some time tinkering with UnitPanel.lua and managed to hook the renaming popup into Lclick on unit portrait. This shows the full veteran name panel, including random name chooser, but unfortunately the new name doesn't persist after clicking "Confirm Name".
I wonder if anyone has any ideas why this isn't working? I'm not sure if I'm missing something, or maybe the unit manager is rejecting the new name in the dll code because it doesn't have a promotion available?
Anyone managed to get this working themselves?
Thanks for your help.
I've spent some time tinkering with UnitPanel.lua and managed to hook the renaming popup into Lclick on unit portrait. This shows the full veteran name panel, including random name chooser, but unfortunately the new name doesn't persist after clicking "Confirm Name".
I wonder if anyone has any ideas why this isn't working? I'm not sure if I'm missing something, or maybe the unit manager is rejecting the new name in the dll code because it doesn't have a promotion available?
Anyone managed to get this working themselves?
Thanks for your help.