Server / client scope of every property and file
Built from the code by tools/bfheroes/mod_scope.py on every wiki build (see Server-side vs client-side mods for what the scopes mean and how they are derived). 2501 template commands: 177 server, 756 client, 1568 shared.
Every command's scope is now a badge in the shared reference table, next to its argument types and its owner classes: CON commands across the games (one row per command, per game). Find one name in every game with the unified reference search.
What decided each scope#
| Basis | Commands |
|---|---|
| bf2-rs reads | 670 |
| default | 726 |
| name | 207 |
| retail behaviour | 9 |
| retail reads | 236 |
| retail registry | 412 |
| rule | 241 |
Files by extension#
The dedicated server mounts only the _server archives (ServerArchives.con); the game client mounts the _server and the _client archives. A game cell holds the scope and the number of files in the retail server / client archives.
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
(no extension) | shared 12 / 12 | shared 11 / 0 | shared 11 / 0 | in the server archives, which the clients mount too |
.ai | server 133 / 133 | server 90 / 0 | server 2 / 0 | AI templates and strategies: bots run on the server only |
.baf | shared 3471 / 3470 | shared 2880 / 0 | shared 2664 / 0 | in the server archives, which the clients mount too |
.bmp | shared 1 / 0 | in the server archives, which the clients mount too | ||
.bundledmesh | client 0 / 506 | client 0 / 306 | client 0 / 485 | only in the client archives: the dedicated server does not mount them |
.collisionmesh | shared 1450 / 1186 | shared 1225 / 0 | shared 384 / 0 | collision: the server simulates, the clients predict and pick |
.con | per line 2578 / 2219 | per line 2794 / 0 | per line 7257 / 0 | template scripts: each line's scope is its property's (the table) |
.dat | client 0 / 56 | client 0 / 133 | client 0 / 8 | only in the client archives: the dedicated server does not mount them |
.db | shared 3 / 3 | in the server archives, which the clients mount too | ||
.dds | client 0 / 2230 | client 0 / 2864 | client 0 / 3815 | only in the client archives: the dedicated server does not mount them |
.desc | shared 68 / 68 | shared 43 / 0 | in the server archives, which the clients mount too | |
.dfm | shared 2 / 0 | shared 2 / 0 | in the server archives, which the clients mount too | |
.dfx | client 0 / 5 | client 0 / 5 | only in the client archives: the dedicated server does not mount them | |
.dif | client 0 / 358 | client 0 / 552 | client 0 / 291 | only in the client archives: the dedicated server does not mount them |
.eax | shared 2 / 2 | client 0 / 2 | in the server archives, which the clients mount too; only in the client archives: the dedicated server does not mount them | |
.fla | shared 1 / 1 | in the server archives, which the clients mount too | ||
.flag | shared 25 / 0 | shared 1 / 0 | in the server archives, which the clients mount too | |
.font | client 0 / 2 | client 0 / 2 | client 0 / 1 | only in the client archives: the dedicated server does not mount them |
.fx | client 0 / 101 | client 0 / 105 | client 0 / 111 | only in the client archives: the dedicated server does not mount them |
.htm | client 0 / 3 | only in the client archives: the dedicated server does not mount them | ||
.inc | per line 178 / 177 | per line 154 / 0 | per line 267 / 0 | included template scripts |
.jpg | client 0 / 15 | client 0 / 84 | only in the client archives: the dedicated server does not mount them | |
.log | shared 25 / 0 | in the server archives, which the clients mount too | ||
.mb | shared 3 / 0 | in the server archives, which the clients mount too | ||
.mfx | client 0 / 3 | client 0 / 3 | client 0 / 3 | only in the client archives: the dedicated server does not mount them |
.occ | client 0 / 54 | client 0 / 33 | client 0 / 7 | only in the client archives: the dedicated server does not mount them |
.ogg | client 0 / 4363 | client 0 / 4350 | client 0 / 87 | only in the client archives: the dedicated server does not mount them |
.ollll | shared 1 / 0 | in the server archives, which the clients mount too | ||
.png | client 0 / 1072 | client 0 / 1840 | client 0 / 2592 | only in the client archives: the dedicated server does not mount them |
.sfk | shared 1 / 0 | in the server archives, which the clients mount too | ||
.ske | shared 9 / 9 | shared 75 / 0 | shared 8 / 0 | in the server archives, which the clients mount too |
.skinnedmesh | client 0 / 24 | client 0 / 18 | client 0 / 1810 | only in the client archives: the dedicated server does not mount them |
.skinweights | shared 3 / 0 | in the server archives, which the clients mount too | ||
.staticmesh | client 0 / 1105 | client 0 / 1353 | client 0 / 416 | only in the client archives: the dedicated server does not mount them |
.swatch | shared 42 / 0 | in the server archives, which the clients mount too | ||
.swf | client 0 / 5 | only in the client archives: the dedicated server does not mount them | ||
.tac | shared 1 / 1 | shared 1 / 0 | shared 1 / 0 | in the server archives, which the clients mount too |
.tai | shared 3 / 3 | shared 4 / 0 | shared 4 / 0 | in the server archives, which the clients mount too |
.tga | client 0 / 786 | client 0 / 1289 | client 0 / 4257 | only in the client archives: the dedicated server does not mount them |
.tweak | per line 2143 / 1856 | per line 2102 / 0 | per line 1508 / 0 | template scripts: each line's scope is its property's (the table) |
.txt | shared 3 / 3 | shared 284 / 0 | shared 140 / 0 | in the server archives, which the clients mount too |
.wav | client 0 / 1017 | client 0 / 513 | client 0 / 958 | only in the client archives: the dedicated server does not mount them |
.xml | shared 10 / 0 | in the server archives, which the clients mount too |
Level files#
A level's server.zip and client.zip are mounted the same way in the three games.
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
staticobjects.con | shared | shared | shared | both sides build the statics from their own copy (collision on the server, drawing on the clients) |
gameplayobjects.con | server | server | server | the placements (spawners, control points, spawn points) sit in if v_arg1 == host: the server places them, clients see them over the network |
gamelogicsettings.con | server | server | server | Heroes game-mode settings the server runs |
init.con | shared | shared | shared | the level's settings: both sides run it |
heightdata.raw | shared | shared | shared | the terrain: the server collides with it, the clients draw it |
terraindata.raw | shared | shared | shared | the terrain: the server collides with it, the clients draw it |
ai/ | server | server | server | AI: bots run on the server only |
sky.con | client | client | client | the sky, sun and fog the clients draw |
overgrowth/ | client | client | client | grass and undergrowth the clients draw |
lightmaps/ | client | client | client | lightmaps the clients draw |
hud/ | client | client | client | the minimap and HUD images |
sounds.con | client | client | client | ambient sounds the clients play |
Generated by tools/devwiki/xref.py from tools/bfheroes/mod_scope.py.
tools/devwiki/xref.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.