generated from the code
gameLogic
BF22142Heroes
122 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).
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
gameLogic.AddInvalidDropVehicleObject | yes std::string, bool | method | ||
gameLogic.becomeSquadLeader | yes bool -> bool | yes bool -> bool | yes bool -> bool | method |
gameLogic.betweenCdmRoundsDelay | yes float, float, float, float | method | ||
gameLogic.createObject | yes std::string | yes std::string | yes std::string | method |
gameLogic.damageForBeingOutSideWorld | yes float -> float | property | ||
gameLogic.defaultLevel | server std::string -> std::string | property; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-runtime, bf2-server) | ||
gameLogic.defaultTimeToNextAIWave | server float -> float | server float -> float | server float -> float | property; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server) |
gameLogic.enableVoHelp | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
gameLogic.extraUAVVehicleFlightHeight | yes float -> float | yes float -> float | yes float -> float | property |
gameLogic.feslEnvironment | server int -> int | property; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.getAlphaFlashSpeedBothTeams | yes -> float | method | ||
gameLogic.getAlphaFlashSpeedOneTeam | yes -> float | method | ||
gameLogic.getBeforeSpawnCameraDirection | server -> Vec3 | method; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.getBeforeSpawnCameraPosition | server -> Vec3 | method; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.getDefaultNumberOfTickets | yes U32 -> U32 | yes U32 -> U32 | yes U32 -> U32 | method |
gameLogic.getDefaultNumberOfTicketsEx | yes U32, U32 -> U32 | yes U32, U32 -> U32 | yes U32, U32 -> U32 | method |
gameLogic.getForceTakeableFlagAtTickets | yes -> float | method | ||
gameLogic.getLowTicketWarningAtTickets | yes -> float | method | ||
gameLogic.getMinSpawnTimeModifierAttackers | yes -> float | method | ||
gameLogic.getMinSpawnTimeModifierDefenders | yes -> float | method | ||
gameLogic.getNumberOfTickets | server U32 -> U32 | server U32 -> U32 | server U32 -> U32 | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server) |
gameLogic.getOverHeadCamDirAtDeathForTeam | yes int -> Vec3 | method | ||
gameLogic.getOverHeadCamDirAtEndOfRoundLoseTeam | yes int -> Vec3 | method | ||
gameLogic.getOverHeadCamDirAtEndOfRoundWinTeam | yes int -> Vec3 | method | ||
gameLogic.getOverHeadCamPosAtDeathForTeam | yes int -> Vec3 | method | ||
gameLogic.getOverHeadCamPosAtEndOfRoundLoseTeam | yes int -> Vec3 | method | ||
gameLogic.getOverHeadCamPosAtEndOfRoundWinTeam | yes int -> Vec3 | method | ||
gameLogic.getOverrideEndOfRoundDelay | yes -> int | method | ||
gameLogic.getShowOverHeadCamWhenDeadAtTime | yes -> int | method | ||
gameLogic.getSpawnTimeModifierAttackers | yes -> float | method | ||
gameLogic.getSpawnTimeModifierDefenders | yes -> float | method | ||
gameLogic.getSpawnWaveTime | yes -> float | method | ||
gameLogic.getStalemateLimit | yes -> float | method | ||
gameLogic.getTeamDropVehicle | yes int -> std::string | method | ||
gameLogic.getTeamLanguage | yes int -> std::string | yes int -> std::string | yes int -> std::string | method |
gameLogic.getTeamName | yes int -> std::string | yes int -> std::string | yes int -> std::string | method |
gameLogic.getTicketLossAtEndPerMin | server -> float | server -> float | server -> float | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server) |
gameLogic.getTicketLossPerMin | yes U32 -> float | yes U32 -> float | yes U32 -> float | method |
gameLogic.getTicketUpdateInterval | yes -> U32 | method | ||
gameLogic.getTimeLimit | yes -> float | method | ||
gameLogic.getTriggerEndAlarm | yes -> float | method | ||
gameLogic.getUseSpawnWaveAttackers | yes -> bool | method | ||
gameLogic.getUseSpawnWaveDefenders | yes -> bool | method | ||
gameLogic.getVehiclePrioAndMax | yes U32, U32, U32 -> U32 | method | ||
gameLogic.giveDamageToPlayer | server std::string, float | method; Heroes: bf2-rs handles it on the server only (bfh-server) | ||
gameLogic.hitIndicationThreshold | server float -> float | property; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.maximumLevelViewDistance | yes float -> float | yes float -> float | yes float -> float | property |
gameLogic.messages.addEmoteTrigger | server std::string | server std::string | method; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime) | |
gameLogic.messages.addHelpMessage | yes std::string, std::string -> int | yes std::string, std::string -> int | yes std::string, std::string -> int | method |
gameLogic.messages.addMessage | yes std::string -> int | yes std::string -> int | yes std::string -> int | method |
gameLogic.messages.addRadioFilter | yes std::string, std::string -> int | yes std::string, std::string -> int | yes std::string, std::string -> int | method |
gameLogic.messages.addRadioVoice | yes std::string, std::string, std::string, std::string, int -> int | yes std::string, std::string, std::string, std::string, int -> int | yes std::string, std::string, std::string, std::string, int -> int | method |
gameLogic.messages.playHelpMessage | yes std::string -> int | method | ||
gameLogic.messages.playRadioMessage | yes int, std::string, std::string, std::string -> int | method | ||
gameLogic.messages.setVolumes | yes float, float | yes float, float | yes float, float | method |
gameLogic.noVehiclesOmit | yes std::string | method | ||
gameLogic.orbitalBombardmentHeight | server float -> float | server float -> float | property; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime) | |
gameLogic.outputPlayerStats | yes bool -> bool | property | ||
gameLogic.overrideTicketsPerPlayer | server int -> int | property; Heroes: bf2-rs handles it on the server only (bfh-server) | ||
gameLogic.printCameraCoordToConsole | yes | method | ||
gameLogic.radialLevelIndex | yes int -> int | property | ||
gameLogic.refreshTriggerables | server | method; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.remoteCommand | yes int, int, int, int, int -> bool | yes int, int, int, int, int -> bool | yes int, int, int, int, int -> bool | method |
gameLogic.reset | yes | yes | yes | method |
gameLogic.roundNr | server int -> int | property; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.satelliteScanReloadTime | server float -> float | server float -> float | property; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime) | |
gameLogic.setAirMouseInverted | yes bool | method | ||
gameLogic.setAirMouseSensitivity | server float -> float | property; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server) | ||
gameLogic.setAlphaFlashSpeedBothTeams | yes float | method | ||
gameLogic.setAlphaFlashSpeedOneTeam | yes float | method | ||
gameLogic.setBeforeSpawnCamera | yes Vec3, Vec3 | yes Vec3, Vec3 | yes Vec3, Vec3 | method |
gameLogic.setDefaultNumberOfTickets | yes U32, U32 | yes U32, U32 | yes U32, U32 | method |
gameLogic.setDefaultNumberOfTicketsEx | yes U32, U32, U32 | yes U32, U32, U32 | yes U32, U32, U32 | method |
gameLogic.setDropVehicleDeviationRadius | yes int, int | method | ||
gameLogic.setDynamicVehicleSpawnAllowed | yes world::VehicleType, int | method | ||
gameLogic.setDynamicVehicleSpawnExtension | yes world::VehicleType, std::string | method | ||
gameLogic.setForceTakeableFlagAtTickets | yes float | method | ||
gameLogic.setKit | yes int, KitType, std::string, std::string | yes int, KitType, std::string, std::string, std::string | yes int, KitType, std::string, std::string, std::string | method |
gameLogic.setLowTicketWarningAtTickets | yes float | method | ||
gameLogic.setMinSpawnTimeModifierAttackers | yes float | method | ||
gameLogic.setMinSpawnTimeModifierDefenders | yes float | method | ||
gameLogic.setNumberOfTickets | yes U32, U32 | yes U32, U32 | yes U32, U32 | method |
gameLogic.setNumDropVehiclesForTeam | yes int, int | method | ||
gameLogic.setOverheadCamAtDeath | yes int, Vec3, Vec3 | method | ||
gameLogic.setOverheadCamAtEndOfRoundLoseTeam | yes int, Vec3, Vec3 | method | ||
gameLogic.setOverheadCamAtEndOfRoundWinTeam | yes int, Vec3, Vec3 | method | ||
gameLogic.setOverrideEndOfRoundDelay | yes int | method | ||
gameLogic.setOverrideTickets | yes U32, U32, U32 | method | ||
gameLogic.setShowOverHeadCamWhenDeadAtTime | yes int | method | ||
gameLogic.setSpawnTimeModifierAttackers | yes float | method | ||
gameLogic.setSpawnTimeModifierDefenders | yes float | method | ||
gameLogic.setSpawnWaveTime | yes float | method | ||
gameLogic.setStalemateLimit | yes float | method | ||
gameLogic.setTeamDropVehicle | yes int, std::string | method | ||
gameLogic.setTeamFlag | yes int, std::string | yes int, std::string | yes int, std::string | method |
gameLogic.setTeamLanguage | yes int, std::string | yes int, std::string | yes int, std::string | method |
gameLogic.setTeamName | yes int, std::string | yes int, std::string | yes int, std::string | method |
gameLogic.setTeamSpawnCamera | yes int, Vec3, Vec3 | method | ||
gameLogic.setTicketLossAtEndPerMin | yes float | yes float | yes float | method |
gameLogic.setTicketLossPerMin | yes U32, float | yes U32, float | yes U32, float | method |
gameLogic.setTicketUpdateInterval | yes U32 | method | ||
gameLogic.setTimeLimit | yes float | method | ||
gameLogic.setTriggerEndAlarm | yes float | method | ||
gameLogic.setUseSpawnWaveAttackers | yes bool | method | ||
gameLogic.setUseSpawnWaveDefenders | yes bool | method | ||
gameLogic.setValorPointsAwarded | yes int, int | method | ||
gameLogic.setVehiclePrioAndMax | yes U32, U32, world::VehicleType, U32 | method | ||
gameLogic.showAllNametagsAtSecondsLeft | yes int -> int | property | ||
gameLogic.spawnAtCameraPosition | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
gameLogic.spawnObjectSpeed | yes float -> float | yes float -> float | yes float -> float | property |
gameLogic.spawnPlayers | server bool -> bool | property; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-runtime) | ||
gameLogic.supplyDropHeight | yes float -> float | yes float -> float | yes float -> float | property |
gameLogic.supplyDropNumSecsToLive | yes float -> float | yes float -> float | yes float -> float | property |
gameLogic.teleport | yes | method | ||
gameLogic.teleportCameraTo | yes Vec3 | method | ||
gameLogic.teleportTo | yes Vec3 | method | ||
gameLogic.timeAllowedOutSideWorld | yes float -> float | property | ||
gameLogic.timeToNextAIWave | yes float -> float | property | ||
gameLogic.togglePause | server | server | server | method; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server) |
gameLogic.uavReloadTime | server float -> float | server float -> float | property; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime) | |
gameLogic.useColdBreath | yes bool -> bool | yes bool -> bool | property | |
gameLogic.vehicleDropHeight | yes float -> float | property |
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.