Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: How to Change an AI/NPC name?

  1. #11
    tom3kb and MulleDK19

    thank you both for your replies. I did not know that little tidbit about the description.ext file only being read in that fashion. After making the changes to the unit's init, and the descriptions.ext file, I saved the mission, reloaded it, previewed, and now it is working.

    Thank you gentlemen for your support.

    Semper Fidelis

  2. #12
    Quote Originally Posted by tom3kb View Post
    @iDrake
    Put unit in editor and in line Name write for example: unit1
    In init write:
    Code:
    unit1 setidentity "John_Buckman"
    Thank you for that! That gave me something to truly work with. I decided to go by class names as one singular word with an unit name functioning the same way. What I noticed was, if you forget to use the quotations between the classname after setIdentity, it won't work!

    I finally put in the init line as: Firebird setIdentity "Firebird". It finally REMOVED Vadim Kropacek's name and showed the real name I wanted!

    For future reference, do not type without the quotations: (unit's name) setIdentity "(classname)"

    Ex: Spartan setIdentity "John_Spartan"

    Spartan being the unit's name in the editor, and John_Spartan as the classname in the description.ext file.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •