.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old December 1st, 2010, 02:58 PM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default 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?

Last edited by Adept; December 1st, 2010 at 04:38 PM..
Reply With Quote
  #2  
Old December 1st, 2010, 03:20 PM

Redeyes Redeyes is offline
Second Lieutenant
 
Join Date: Dec 2008
Posts: 539
Thanks: 15
Thanked 43 Times in 34 Posts
Redeyes is an unknown quantity at this point
Default Re: How do I set a heroe's name?

Use the following tag:
#name "[insert name]"
Reply With Quote
  #3  
Old December 1st, 2010, 03:26 PM

Duncan_Frost Duncan_Frost is offline
Corporal
 
Join Date: Mar 2008
Location: Somerset, England
Posts: 87
Thanks: 5
Thanked 4 Times in 2 Posts
Duncan_Frost is on a distinguished road
Default Re: How do I set a heroe's name?

Quote:
Originally Posted by Redeyes View Post
Use the following tag:
#name "[insert name]"
This is just the unit type name, though - is there a way to have seperate unit names and unique names like the vanilla heroes do?

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
__________________
Reply With Quote
  #4  
Old December 1st, 2010, 03:52 PM

nerozero nerozero is offline
Private
 
Join Date: Nov 2010
Posts: 46
Thanks: 2
Thanked 0 Times in 0 Posts
nerozero is on a distinguished road
Default 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.
Reply With Quote
  #5  
Old December 1st, 2010, 04:36 PM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default

Quote:
Originally Posted by Duncan_Frost View Post
Quote:
Originally Posted by Redeyes View Post
Use the following tag:
#name "[insert name]"
This is just the unit type name, though - is there a way to have seperate unit names and unique names like the vanilla heroes do?

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
This is what I was thinking. Is it possible to give a proper name to a new nations hero?
Reply With Quote
  #6  
Old December 1st, 2010, 05:59 PM

Duncan_Frost Duncan_Frost is offline
Corporal
 
Join Date: Mar 2008
Location: Somerset, England
Posts: 87
Thanks: 5
Thanked 4 Times in 2 Posts
Duncan_Frost is on a distinguished road
Default 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
__________________
Reply With Quote
  #7  
Old December 1st, 2010, 06:08 PM

rdonj rdonj is offline
General
 
Join Date: Oct 2007
Posts: 3,007
Thanks: 171
Thanked 206 Times in 159 Posts
rdonj is on a distinguished road
Default 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.
__________________
"Easy-slay(TM) is a whole new way of marketing violence. It cuts down on all the red tape and just butchers people. As a long-time savagery enthusiast myself, I'm very excited about the synergies that the easy-slay(TM) approach brings to the entire enterprise." -Dr DrP
Reply With Quote
  #8  
Old December 1st, 2010, 07:44 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default 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.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #9  
Old December 2nd, 2010, 04:27 AM

rdonj rdonj is offline
General
 
Join Date: Oct 2007
Posts: 3,007
Thanks: 171
Thanked 206 Times in 159 Posts
rdonj is on a distinguished road
Default 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.
__________________
"Easy-slay(TM) is a whole new way of marketing violence. It cuts down on all the red tape and just butchers people. As a long-time savagery enthusiast myself, I'm very excited about the synergies that the easy-slay(TM) approach brings to the entire enterprise." -Dr DrP
Reply With Quote
  #10  
Old December 2nd, 2010, 01:14 PM
Adept's Avatar

Adept Adept is offline
Sergeant
 
Join Date: Nov 2003
Location: Finland
Posts: 250
Thanks: 19
Thanked 13 Times in 8 Posts
Adept is on a distinguished road
Default Re: How do I set a heroe's name?

Alright, thanks guys. I was afraid this was the case.

I'll just have my Mistress of Fire get a random name rather than have her be Ignis the Red. A shame, but not a huge loss.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:25 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.