BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
generated from the code

aI

BF22142

68 commands. A game cell holds the argument types (and the return type after ->) that game registers; empty: the game does not have the command. Back to the console reference.

Scope badges
serveronly the server reads it: a mod on the server alone takes effect, players need nothingclientonly the game client reads it (drawing, sound, HUD): every player who should see it needs the modsharedthe server and every client read it: both need the same files, or the clients' view jumpsyesthe game has it; nobody has classified its scope yet
BF22142HeroesA game column holds that game's badge and the argument types its program registers; an empty cell means the game does not know the name. The Notes column gives the reason (how the scopes are worked out).
NameBF22142HeroesNotes
aI.addBotserver std::string, int, std::string, std::string -> intserver std::string, int, std::string, std::string -> intmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.addPlacementserver std::string, hfe::Vec3, hfe::Vec3, std::string, int, std::string -> boolserver std::string, hfe::Vec3, hfe::Vec3, std::string, int, std::string -> boolmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.addSAIStrategyserver int, std::stringserver int, std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.addUnspawnedBotserver std::string, int, std::string -> intserver std::string, int, std::string -> intmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.aiSystemQuotientserver double -> doubleserver double -> doubleproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.botFlyToserver int, float, float, float, hfe::Vec3server int, float, float, float, hfe::Vec3method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.botGiveOrderserver int, std::string, std::stringserver int, std::string, std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.botMoveToserver float, hfe::Vec3, intserver float, hfe::Vec3, intmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.botSetWaypoints_Patrolserver int, float, int, hfe::Vec3, hfe::Vec3, hfe::Vec3server int, float, int, hfe::Vec3, hfe::Vec3, hfe::Vec3method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.botSetWaypoints_Patrol3dserver int, float, int, hfe::Vec3, hfe::Vec3, hfe::Vec3server int, float, int, hfe::Vec3, hfe::Vec3, hfe::Vec3method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.botStatisticUpdateSpeedserver double -> doubleserver double -> doubleproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.createHeightMapserver intserver intmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.createSAIserverservermethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.deactivateBotserver int -> boolserver int -> boolmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.debugserverservermethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawAddAllBotsservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawAddBotserver std::stringmethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawAddClosestBotservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawAddClosestSecondaryBotservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawAimingserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawBotPlanserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawChangeUrgencyserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawMovementserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawOnlyClosestBotservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawPathfindingserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawRemoveAllBotsservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawRemoveBotserver std::stringmethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.drawStrategicAreasserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.executePlanserver bool -> boolproperty; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getBotCountserver -> hfe::uintserver -> hfe::uintmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getBotManagerQuotientserver -> doubleserver -> doublemethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getCurrentPitchAngleserver -> floatserver -> floatmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getCurrentYawAngleserver -> floatserver -> floatmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getNumberOfActiveBotsserver -> hfe::uintserver -> hfe::uintmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getNumberOfDeactivedBotsserver -> hfe::uintserver -> hfe::uintmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getRendCameraPositionserver -> hfe::Vec3server -> hfe::Vec3method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getRendCameraRotationserver -> hfe::Vec3server -> hfe::Vec3method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.getSAIQuotientserver -> doubleserver -> doublemethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.initserver intserver intmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.killAllBotsservermethod; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.killBotIdserver int -> std::stringmethod; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.killBotNameserver std::string -> std::stringmethod; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.pauseserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.pauseAllBotsservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.pauseAllButClosestPrimaryBotservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.pauseAllButClosestSecondaryBotservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.pauseBotserver std::string, boolmethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.readHeightMapFromFileserverservermethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.renderSideserver int -> intproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.saiEnableserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.saiMapXDimensionserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.saiMapYDimensionserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.setAISystemComponentsQuotientserver hfe::uint, hfe::uintserver hfe::uint, hfe::uintmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showAllserver boolserver boolmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showBotserver boolmethod; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showBotSenseserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showBotSpawnCoordserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showBotStatsserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showBotUrgenciesserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showSAIStatsserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showStrategicserver boolmethod; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showStrategicAreasserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.showStrategiesserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.spawnBotserver int -> boolserver int -> boolmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.unpauseAllBotsservermethod; 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.updateBotserver intserver intmethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.validateDataStructuresEnabledserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
aI.writeBotPlansserverservermethod; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's)
Source: tools/devwiki/refs_console.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.