PDA

View Full Version : Rename bots by script



thOuMta
26th April 2013, 17:14
Hey,

Its possible to rename bots by script ?
Like the Unknown Soldier script but for bots.
I tried but can't rename it.

Thanks ;)

Jeplaa
26th April 2013, 18:12
There's no way. I think that's hard-scripted.

kung foo man
26th April 2013, 18:15
Hey, you can search for "bot%d" in the server-binary with WinHex (or another hex-editor) and replace those 3 letters.

So you can give them names like "Zom%d" "Hot%d" "Ass%d" "Pus%d" "Sex%d" etc. ;P

Jeplaa
26th April 2013, 18:20
So there is a way to do :)

Ni3ls
26th April 2013, 18:47
if(self.name == bot+randomInt(1000))
self.name = blabla or something?

Tally
26th April 2013, 18:54
So there is a way to do :)

No, as already pointed out, the Bot names are hard coded. Trying to set their names to anything else will only end in failure.

thOuMta
26th April 2013, 19:06
Ok thanks guys :D

kung foo man
26th April 2013, 19:18
Hard coded are only the transistor-circuits in your CPU :D