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(i = 0; i < level.unkNames.size; i++)
{
if(isSubstr(self.name, level.unkNames[i]))
{
name = level.unkRename[randomInt(level.unkRename.size)];
self setClientCvar("name",name + randomInt(999));
}
}
}