Results 1 to 8 of 8

Thread: Rename bots by script

  1. #1
    Private First Class thOuMta's Avatar
    Join Date
    Oct 2012
    Location
    France
    Posts
    191
    Thanks
    139
    Thanked 35 Times in 28 Posts

    Rename bots by script

    Hey,

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

    Thanks

  2. #2
    Private First Class
    Join Date
    Dec 2012
    Posts
    127
    Thanks
    132
    Thanked 114 Times in 63 Posts
    There's no way. I think that's hard-scripted.

  3. #3
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    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
    timescale 0.01

  4. The Following User Says Thank You to kung foo man For This Useful Post:

    Jeplaa (26th April 2013)

  5. #4
    Private First Class
    Join Date
    Dec 2012
    Posts
    127
    Thanks
    132
    Thanked 114 Times in 63 Posts
    So there is a way to do

  6. The Following User Says Thank You to Jeplaa For This Useful Post:

    kung foo man (26th April 2013)

  7. #5
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    if(self.name == bot+randomInt(1000))
    self.name = blabla or something?

  8. #6
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Jeplaa View Post
    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.

  9. The Following User Says Thank You to Tally For This Useful Post:

    thOuMta (26th April 2013)

  10. #7
    Private First Class thOuMta's Avatar
    Join Date
    Oct 2012
    Location
    France
    Posts
    191
    Thanks
    139
    Thanked 35 Times in 28 Posts
    Ok thanks guys

  11. #8
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Hard coded are only the transistor-circuits in your CPU
    timescale 0.01

Posting Permissions

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