On Tue, 20 Dec 2005, Bruno Wolff III wrote:
> I thought they got random names. Random names aren't supposed to set the
> same variable that is set by "description" in WML. I thought it was
> also "description" in the c++ code, but I could easily be remembering it
> wrong.
> 
> I did research this a couple of months ago, because I was worried about
> whether or not renaming a character or having a conflict with a randomly
> generated name could cause a problem, and I concluded it didn't.

In the C++ code, the name of a character that a player sees on screen is a
different variable from the description used to describe the unit when
referencing it in WML.  The default is to generate the user visible name from
the wml one, if defined, but if a player changes the unit's name, it does not
cause a problem.  Similarly, randomly generated player-visible names will not 
cause a conflict.  

-- 
-------------------------------------------------------------------
        "In theory, theory and practice are the same, 
                but in practice they're different."
-------------------------------------------------------------------
John W. C. McNabb
-------------------------------------------------------------------


Reply via email to