[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Bot Names
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Bot Names
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=4&t=1512
Page 1 of 1

Author:  Why Two Kay [ Tue May 24, 2005 3:24 pm ]
Post subject:  Bot Names

The names for computer-controled players (AKA Bots) for Singleplayer and Co-Op games are located in the game.rfa file in the /game/common/ directories.

In there, there are 5 files:
RussianNames.con
JapaneseNames.con
GermanNames.con
BritishNames.con
AmericanNames.con

The .con file's name is corresponding to the team that the data affect. IE. RussianNames.con controls the Russian Bot names. In this tutorial I am going to use AmericanNames.con for reference.

In the files there are 2 types of commands:
game.addFirstNameOnTeam # {String}
game.addSecondNameOnTeam # {String}

The number located after the command, is the team that the name will be set to. For all "Axis" teams (German & Japanese), the number is one (1). For all "Allied" teams (American, British, & Russian) the number is two (2).

The string is the actual "name" that will be matched with another. FirstNameOnTeam is the Bot's first name, and SecondNameOnTeam is the Bot's last name. This is how the game appears to have "random" names for bots. There are roughly 65 last/first names in the American file, which gives 4225 different combinations of names.

You are able to change the {String} to any value that you would like, but the number can not be changed, as it causes a server crash.

Author:  bpapilot [ Wed Apr 15, 2009 1:55 am ]
Post subject:  Re: Bot Names

Is there a way to make a First and Last name stick together? As of right now i made all the first names AI and then the last names the full name like First.Last

Author:  Apache Thunder [ Wed Apr 15, 2009 3:35 am ]
Post subject:  Re: Bot Names


Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/