![]() |
How do I set a heroe's name?
I'm working on a mod that is 95% done. Problem is I haven't done this since Dom2, and I just realised I don't know how to set a hero's name after setting their "type".
Help? |
Re: How do I set a heroe's name?
Use the following tag:
#name "[insert name]" |
Re: How do I set a heroe's name?
Quote:
After I looked through the Worthy Heroes mod I noticed none of them had unique names, so I assumed it wasn't possible, but if someone could point out a way for this to work then I'd be very grateful :) |
Re: How do I set a heroe's name?
Is it maybe possible to create a new nametype? Not sure that you can, but it might be possible.
|
Quote:
|
Re: How do I set a heroe's name?
You could use the custom nametables (look in the modding manual for their numbers) and just use a single name. However, there are only two, so it's very likely to lead to conflicts with other mods, and leaves you with very little room for other nametables if you want more than one.
Plus I don't know if that works anyway :p |
Re: How do I set a heroe's name?
It works, but it's generally better to rely on the players to rename their heroes. Just leave the name somewhere in the hero description so they know what it's supposed to be.
|
Re: How do I set a heroe's name?
Quote:
I keep casting WISH, however still no Dominions_4. I'm trying different spellings too. |
Re: How do I set a heroe's name?
Yes, unfortunately there is no good solution to this.
Sombre's warhammer mods have lots of named heroes - maybe have a look at what he did. However his solution will be some kind of thematic workaround, there's no actual way of setting the name properly without wasting a nametype. |
Re: How do I set a heroe's name?
If I recall correctly what sombre did was to overwrite nametypes that weren't in use in the particular era. Which is one way to do it, but only offers a few extra nametypes.
|
All times are GMT -4. The time now is 02:13 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.