Results 1 to 3 of 3

Thread: Multiple unknown soldier renamer

  1. #1
    Private First Class Earliboy's Avatar
    Join Date
    Nov 2012
    Location
    Germany
    Posts
    130
    Thanks
    5
    Thanked 88 Times in 61 Posts

    Multiple unknown soldier renamer

    Hello,
    this is an multiple unknown soldier renamer.
    It auto renames unknown soldier names, guests names and everything else you want.

    Add a files named _unkRn.gsc in the maps\mp\gametypes folder.
    Add at your GAMETYPE.gsc (zom.gsc, tdm.gsc) following line in the main() thread:
    PHP Code:
    thread maps\mp\gametypes\_unkRn::init(); 
    The _unkRn.gsc file should look like this:
    PHP Code:
    //This script was made by Earliboy
    //You are free to use or edit this file.
    //Do not forget to credit me.
    //Any help you get at: xfire: earliboy skype: earliboy

    //Adding new rename:
    //level.unkNames[level.unkNames.size] = "NAME";
    //Example: level.unkNames[level.unkNames.size] = "US Guest #000";

    //Adding a new name player should renamed to:
    //level.unkRename[level.unkRename.size] = "NAME";
    //Example: level.unkRename[level.unkRename.size] = "Unknown Player#" + num;
    init()
    {
        
    level.unkNames = [];
        
    level.unkNames[level.unkNames.size] = "Unknown Soldier";
        
    level.unkNames[level.unkNames.size] = "UnnamedPlayer";
        
    level.unkNames[level.unkNames.size] = "^5'^9RZ^5-^7Guest^^33#000";
        
        
    level.unkRename = [];
        
    level.unkRename[level.unkRename.size] = "Unknown Player#";
        
    level.unkRename[level.unkRename.size] = "Guest#";
        
        
    thread waitConnect();
    }

    waitConnect()
    {
        for(;;)
        {
            
    level waittill("connecting"player);
            
    player thread checkMe();
        }
    }

    checkMe()
    {
        for(
    0level.unkNames.sizei++)
        {
            if(
    isSubstr(self.namelevel.unkNames[i]))
            {
                
    name level.unkRename[randomInt(level.unkRename.size)];
                
    self setClientCvar("name",name randomInt(999));
            }
        }

    No ... No ... this is not possible .......

  2. The Following 6 Users Say Thank You to Earliboy For This Useful Post:

    EnergY (26th May 2013),EvoloZz (12th May 2013),kung foo man (12th May 2013),Loveboy (14th July 2013),suck000 (22nd March 2016),thOuMta (22nd March 2016)

  3. #2
    Private Wesleyw3zep's Avatar
    Join Date
    Feb 2016
    Posts
    38
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Works Great

  4. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,725
    Thanks
    17
    Thanked 1,080 Times in 682 Posts
    This would also rename players with the name "Unknown Soldier Sucks"
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

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