| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
		  | 
	
	 | 
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 02:58 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2003 
					Location: Finland 
					
					
						Posts: 250
					 
					 
	Thanks: 19 
	
		
			
				Thanked 13 Times in 8 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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..
                    
                    
				
			
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 03:20 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Second Lieutenant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2008 
					
					
					
						Posts: 539
					 
					 
	Thanks: 15 
	
		
			
				Thanked 43 Times in 34 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: How do I set a heroe's name?
			 
             
			
		
		
		
		Use the following tag: 
#name "[insert name]" 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 03:26 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Corporal 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Mar 2008 
					Location: Somerset, England 
					
					
						Posts: 87
					 
					 
	Thanks: 5 
	
		
			
				Thanked 4 Times in 2 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: How do I set a heroe's name?
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Redeyes
					 
				 
				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    
		
	
		
		
		
		
		
		
			
				__________________ 
				 
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 03:52 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Private 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2010 
					
					
					
						Posts: 46
					 
					 
	Thanks: 2 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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. 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 04:36 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Sergeant 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2003 
					Location: Finland 
					
					
						Posts: 250
					 
					 
	Thanks: 19 
	
		
			
				Thanked 13 Times in 8 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  Duncan_Frost
					 
				 
				
	Quote: 
	
	
		
			
				
					Originally Posted by  Redeyes
					 
				 
				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?  
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 05:59 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Corporal 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Mar 2008 
					Location: Somerset, England 
					
					
						Posts: 87
					 
					 
	Thanks: 5 
	
		
			
				Thanked 4 Times in 2 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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    
		
	
		
		
		
		
		
		
			
				__________________ 
				 
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 06:08 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2007 
					
					
					
						Posts: 3,007
					 
					 
	Thanks: 171 
	
		
			
				Thanked 206 Times in 159 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 06:23 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jun 2003 
					Location: az 
					
					
						Posts: 3,069
					 
					 
	Thanks: 41 
	
		
			
				Thanked 39 Times in 28 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: How do I set a heroe's name?
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				
					Originally Posted by  rdonj
					 
				 
				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. 
			
		 | 
	 
	 
 This works best... until we have Dominions_4.  
 
I keep casting WISH, however still no Dominions_4.  I'm trying different spellings too.  
		
	
		
		
		
		
		
		
			
				__________________ 
				There can be only one.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 1st, 2010, 07:44 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				National Security Advisor 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Nov 2006 
					Location: Oxford, UK 
					
					
						Posts: 5,921
					 
					 
	Thanks: 194 
	
		
			
				Thanked 855 Times in 291 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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. 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				December 2nd, 2010, 04:27 AM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Oct 2007 
					
					
					
						Posts: 3,007
					 
					 
	Thanks: 171 
	
		
			
				Thanked 206 Times in 159 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		  Linear Mode 
		
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is On 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |