BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
On this page

The 2005 BF2 Editor, feature by feature

BF22142Heroes

DICE's BF2Editor built every level of Battlefield 2, 2142 and Heroes. It is clumsy, but it has a tool for everything in a level. This page lists those tools as the minimum feature set for bf2.us/editor. For each one it says whether our editor has it today, which registry task plans it, and what we should do better: live lighting, undo for every edit, no separate rebuild step, and play in the same browser tab.

Where this comes from

The read-only install at retail/bf-editor/Battlefield 2/: the help files bf2editor/Help/UserGuide.doc, Workshop/LevelWorkshop.doc, Workshop/VehicleWorkshop.doc, the destroyable-object tutorial, CommandDescriptions.xls (107 command rows and 624 tweaker property rows) and ObjectEditor_Help.xls. It also covers the string tables of BF2Editor.exe, EditorEngine.dll and the ten plug-ins in bf2editor/Plugin/: menu labels, toolbar tooltips such as Smooth[SetSmooth], and more than 300 Category.Command names. Finally it covers Settings/Default/*.ini (the default shortcuts and plug-ins), Content/LightPreset, mods/bf2/LevelEditor, Content/ObjectEditor/Wizards, the maya/ tool chain and NavMesh/. The Word and Excel files are the old binary formats. They were read with olefile and xlrd through scripts in analysis/scratch/bfheroes/h20/bfeditor/ (extract.py, dllstrings.py, unique.py, commands.py). Our side comes from the JS / wasm contract (notes/editor/api.md, notes/editor/web.md) and the M11 rows of the task registry, as of 2026-10-30.

Status words in the "bf2.us/editor" column: has works on the live editor, part some of it works, planned a registry task exists (its id follows), missing nothing yet. Every missing tool appears in the priority list at the end.

The shell: windows, camera, view#

BF2Editor.exe hosts the plug-ins. It has a resource tree, the Tweaker (a property tree), an output window, a timeline and a plug-in panel, all dockable. Its menus are File, View, Tools, Camera, Render, Movement, Snap, Layers, Light, Compile, Mod and Help.

FeatureBF2Editor (2005)bf2.us/editorDo better
Plug-ins and layoutOne plug-in active at a time (dropdown, Ctrl+Alt+T/L/O/A/M/S); Add-in Manager hides plug-ins; dock bars saved in the registry; Ctrl+Tab / Alt+Enter hides every barhas dock with split, tab and floating panels; layouts saved in Preferences (H2039, H2072)Panels show different data side by side, not separate modes; no need to switch editors
ShortcutsShortcut Manager: every command can be bound, but each shortcut must use Alt or Ctrl; Tools.ListAllShortcuts; ControlMap Manager for the fly keyshas one keymap (keymap.ts), rebinding in Preferences, Ctrl+K palette, ? sheet (H2033)Any key can be bound; the palette runs every command, including plug-in commands
Camera modesNormal (fly), Top-Down, Orbit, Snap to Terrain, Soldier, Vehicle (Ctrl+F5..F8); mouse-wheel speed, Ctrl+R resetpart fly and orbit, Blender or Maya style, trackpad gestures (H2033)missing orthographic top-down and a ground-snapped walk camera; soldier and vehicle views come from PLAY in the page (H1987)
Position bookmarksMovement.AddPositionBookmark, ExecuteBookmark0-9, Set Position dialog, Reset PositionmissingBookmarks stored with the overlay, Alt+1..9, a go-to box that accepts x/y/z as the level files write it
Terrain view modesGrid, Texture, Grid with Texture, Detail Texture, Undergrowth, Overgrowth, Overgrowth Shadow Map, Material Map, Hemi Map (Ctrl+F1..F4)has the Terrain panel's Layers list puts one map at a time on the terrain (dominant detail layer, colour map, low-detail map, undergrowth, overgrowth, overgrowth shadow map: H2516, light map sun / sky, water depth, physics material: H2396), with a Terrain maps panel and the layers' legend (H2356)Every 2D map the terrain is built from, blended over the shaded ground
Object view modesNormal, Lighting, Wireframe, Color, Custom Texture (texturemanager.customTextureSuffix)part Lighting modes Baked, Preview and Auto (H2216); wireframe only in the preview (H2034)missing wireframe, unlit, lightmap-only and texel-density views in the viewport
Draw toggles42 RenderMenu commands: splines, roads, static, bundled and skinned meshes, undergrowth, overgrowth, particles, sky, fog, water, sea level, glow, HUD, eight surrounding patches, bounding spheres, light sources, sound and minimum-distance radii, collision meshes (AI, soldier, physics, decal), AI and navmesh, gameplay objects, supply lines, render, effect and animation statspart marker kinds (spawns, effects, lights, sounds, triggers), grid, hide and unhide, freeze_time (H2073, H2033), the AI navmesh (H2395)missing per-kind draw toggles and debug views (collision meshes by kind, light and sound radii, stats); every toggle in the palette and the View menu
Status barFPS, camera position, speed, Editor or Engine focus, marker speed, Perforce clientpart edit counts, unsaved badge, re-bake status (H2101, H2219)Camera position and FPS in the status bar; focus follows the pointer (no Ctrl+Space focus toggle)
UndoGlobal.OnUndo (Ctrl+Z) and the terrain's own TerrainEditor.UndoModifyTerrain; no redo command; the Material Editor says "does not support Undo"has undo and redo for moves, adds, deletes, properties, sculpt, paint, vegetation strokes (H1986, H2071, H2103, H1988, H1989, H2428)One timeline for page and engine steps (H2140); undo for lighting, level settings and every new tool
Pause and stepTogglePauseRenderer, RenderNextFrame, TogglePauseGameUpdate (Ctrl+P)part freeze_time stops grass, water and weather (H1989)—
CaptureTools.StartCaptureToAvi / StopCaptureToAvimissingRecord the viewport to WebM in the page (fly-throughs for the forum); low priority
Batch modeCommand line: saveTerrainAndClose, saveRoadAndClose, saveOvergrowthAndClose, runConFileAndClose, importAll, level, modhas native bf2_editor with --sculpt, --add, --drag, --overlay (api.md "Native twin")—
HelpUser Guide, Commands, Object Editor help, Workshop, Tutorial in the Help menupart Help > Shortcuts, this wiki, a help tooltip on every property name (H2399)—

Terrain#

TerrainEditor.dll has ten modes, the first nine on Ctrl+1..9: Modify, Level, Smooth, Platform, Road, Random, Texture, Undergrowth, Overgrowth and Water. The brush has a size, a strength and a "marker speed". Painting happens in an editable copy that Merge bakes into the textures. Saving opens a "Choose Items To Save" dialog: compiled terrain, compiled colour and detail textures, undergrowth, water. The editor warns: "The generated lightmaps do not match this terrain! Make sure they are regenerated!"

FeatureBF2Editor (2005)bf2.us/editorDo better
SculptModify, Level, Smooth, Platform, Random; UndoModifyTerrainhas raise, lower, smooth, flatten, set height, ramp between two points, noise, three falloff curves, height readout, with live patch recompile (H1988, H2121, H2337)Already better: the patches recompile while you drag and the light re-bakes about 0.5 s after the stroke (H2219, H2276, H2301); the original needed a separate lightmap run
New terrainCreate new terrain: level name, size, low-res size and scale, default height, scaleplanned new level wizard (H1992)—
Surrounding terrainCreate, remove, show or hide each of the 8 surrounding patches; import a surrounding raw heightmap; SmoothEdges (heightmapCluster.smoothEdges 32 0.5 2)part the terrain brush sculpts the eight surrounding maps across the primary's edge in one undo step, the seam keeps its step, the surrounding (far) terrain recompiles and redraws, the save writes the changed HeightmapSecondary_*.raw (H2401); the ramp crosses the edge onto one slope (H2540); each surrounding map imports and exports as 8-bit PNG or RAW (H2505); a raise beyond heat's edge redraws its surrounding patch (H2541); no create / remove / hide of a surrounding patchSculpt across the seam with one brush; the edge stays smooth automatically
Heightmap import / exportImport .raw heightmaps (surrounding and new level)has the primary heightmap exports as a 16-bit PNG (north up) or HeightmapPrimary.raw, and a PNG or RAW (any square size, resampled) imports as one undo step with the re-bake and the vegetation following it (H2396); the eight surrounding maps export as 8-bit PNG or their HeightmapSecondary_<name>.raw byte for byte and import the same way, the samples on the primary's edge kept (H2505)Import and export every heightmap as PNG or RAW, so heightmaps can come from World Machine or Gaea
Detail texture paintTexture mode: pick a layer, paint Detail, Color or Both, right button erases, Merge, Clear; import BaseDetailLayers.tga, DetailLayers345.tgahas six detail layers with thumbnails, Shift erases, the retail detail map and layer formats written back byte for byte (H1989); faster dabs (H2342) and land-layer rebuild (H2306) openNo Merge step: every dab is the saved state
Colour mapColor paint mode, ImportColorMap (ColorMap.tga), AddColorMappart the layer painter paints the colour map with the layer's colour, live, saved as DXT1 with only the changed blocks re-encoded (H2341)missing import and export of the colour map as PNG
Ground propertiesPer layer: detail texture, colour texture, top and side tiling, y offset, plane map, colour tiling, low-detail type, env map; far tiling and LOD switch distance (GroundProperties.con)missing (read-only, from terraindata.raw)A layer list where you swap a layer's texture and tiling and see the change live
Low-detail mapsGenerateLowDetailmaps, Set Low Detail Texturepart the save regenerates the painted patches' low-detail maps (H2397); no Set Low Detail TextureRegenerate the low-detail maps of painted patches when you save
Terrain material mapMaterial Map view; HeightmapPrimary.mat sets the physics material per sample (sound, effects, damage)has the Terrain panel's Material mode: a brush that sets the material id of every sample in its ring, a legend of the level's materials (names from materialManagerDefine.con, sample counts, the map's colours), one undo step per stroke, saved as HeightmapPrimary.mat, and a Physics material map in the Layers list (H2396)A material brush beside the layer painter, shown by the H2356 view
UndergrowthMaterials (name and colour) holding types (mesh from Content/Terrain/Undergrowth, texture); paint with the left button, erase with the right; Generate All; Undergrowth render modehas grass brush that sets Undergrowth.raw materials, Shift removes, live regrowth, grass follows sculpted ground (H2336, H2335), each stroke one undo step (H2428); planned grass on raised sea floor (H2359)missing edit materials and types in the inspector
Overgrowth (trees)Materials and types (geometry from Objects/vegitation), paint material, paint shadow map, Generate All, overgrowth atlas, OvergrowthCollision.conhas tree brush (type, density, jitter; Shift removes) writing OvergrowthCollision.con, trees keep their height over sculpted ground (H2336, H2335); the trees a level places as rows drop as overgrowth (village), each stroke one undo step, the re-bake casts the trees' shadows (H2428) and writes OvergrowthShadowmap.raw where the light changed, darkest at the level's own painted full-shadow value (H2444, H2517); paint shadow map: the Terrain panel's Tree shadow brush stamps a value into OvergrowthShadowmap.raw as the game's own Overgrowth.paintShadowmap does, the trees there take the new light at once, one undo step per stroke, and the Overgrowth shadow map shows on the terrain (H2516); planned pick and move trees (H2023), regenerate collision (H2008), Karkand check (H2360)Trees can be selected like objects; the overgrowth shadow map and atlas follow automatically
WaterWater mode; Water.con sets water colour, fog, specular, scroll and animation speed; terrain.waterSunIntensity; water compiled into the heightmappart water colour and fog live in the Sky panel, saved to Water.con (H2386); planned water height and extents (H1990)Sea level as a live slider; also see lighting
RoadsSplines (Alt+click adds, Ctrl+click inserts, Backspace removes, double click selects, copy / paste, Merge Copy / Paste, Snap Spline); road templates (primary and secondary texture layers, material, priority, blend factor, width, fade distances, noise); Connect, Disconnect, Apply Spline (sets the terrain under the road), Build Ghost or Final Road, Create Intersection, Clean Road Folder; CompiledRoads.conpart compiled road pieces move, copy and delete as objects (H2148, H2172); planned spline road tool (H1990) and road writers (H2005)No ghost or final build: the road mesh drapes live while the spline is dragged, with undo per control point
Shadow mapsSimpleShadowmap.raw and SimpleShadowmapio.raw (BF2 and 2142; Heroes has none)planned regenerate after a sculpt (H2008)Written on save, no menu item
Terrain lightmapsGenerate Lightmaps with Trace Terrain, Primary and Secondaryhas sun and sky bake into the terrain tiles, continuous re-bake (H2217, H2218, H2219)See lighting
Minimap navigatorToggleMinimapNavigator: drag a marker on the minimap to move the cameramissingA minimap panel showing the camera frustum and the selection; click to fly there

Placing objects#

The Level Editor's modes are Select, Move, Rotate, Scale, Paint (level brushes), Spline, Measure, Road and Combat Area. The default shortcuts are Ctrl+1..9.

FeatureBF2Editor (2005)bf2.us/editorDo better
PlaceDrag an object from the resource tree into the scene; "Cannot place decal objects in LevelEditor!"has drag from the asset browser to the point under the cursor, Add instance (H2100, H2149)—
SelectClick, Shift+click, box drag, the level tab's object list, the "Object in scene" dialog, Select all of same typehas click, Shift / Ctrl click, box select, scene tree, Shift+G same template, invert (H2033)—
Move / rotate / scaleAxis arrows (Ctrl+2), the middle box moves the object along the ground, rotation arcs (Ctrl+3), Scale mode; Ctrl+drag moves a copy; double click opens a numeric dialoghas gizmo with G / R / S, X / Y / Z axis locks, typed values, Shift fine, Ctrl snap, inspector fields, Ctrl+D (H1986, H2070, H2071, H2092); placements carry no scale (api.md)—
SnapSnap menu: to ground, objects, terrain grid, half terrain grid; Snap object(s), Snap all objectspart snap to terrain and grid steps (H1986)missing snap to other objects' surfaces and vertices, align to the surface normal
Anchor (pivot)Shift+drag moves the anchor; Snap to Bounding Box; Reset Anchor; rotate around the anchor or the centre; Stamp / Align copies one object's anchor position to another. Moving an anchor changes it for every object of that typemissingA pivot that belongs to the editing session (Not retail), so the template is not changed
Copy / paste transformCopy Transformation, Paste Transformation, Last Offset Copy (repeat the offset between two selected objects)missingPlus an array tool (n copies at an offset), which covers Last Offset Copy
ReplaceReplace object(s): swap the template of the selectionmissingKeep each object's transform; one undo step
Groups and prefabsGroup / Ungroup Objects; Object Bundles (ObjectBundle.SaveObjectBundle, load later)missingPrefabs stored in the overlay, placed from the asset browser, editable in place
Level brushesPaint mode scatters a brush: a list of objects with offsets, random position, rotation and scale ranges, spacing, snap to ground (Content/LevelEditor/LevelBrushes/Mangrove1.con)missingA scatter brush with a density preview; erase with Shift; one undo step per stroke
LayersLayers menu: create, add to layer, remove, select all in layer, delete, lock, disable; Duplicate Layer; Object.layer in the level fileshas the scene tree's layer groups from the files' Object.layer lines, each with an eye and a lock; Move to layer (Shift+M) is one undo step and saves only that line (H2392)missing Duplicate Layer
Object listFilters (Static Only, All Mods, All Layers), Change Layer, Save Object List, Save Material Listhas scene tree grouped by class, template or file, with a shared filter (H1984, H2021)Export the list as CSV
HideLayer disable onlyhas H, Shift+H, Alt+H (H2033)—
MeasureMeasure mode (ToggleMeasure, "Length: %f")missingDistance, height difference and slope between two points on the ground or on objects
Reload objectsReload selected and all objects after their files changepart a glTF replace redraws every instance and preview (H2126, H2174)—
Level statisticsLevel Info: static, unique, dynamic and destroyable object counts, mesh memorymissingA budget panel: draws, triangles, texture memory, lightmap pages, per layer

Gameplay objects: control points, spawners, combat areas, triggers#

The Level Editor's context menu creates every gameplay object in the active layer's GamePlayObjects.con (one layer per game mode and size).

FeatureBF2Editor (2005)bf2.us/editorDo better
Control pointsCreate, rename; Group / Ungroup control points; Connect Supply Line (EditorControlPoint.supplyGroupId); draw the radius as a sphere; Delete all spawners for a control pointhas the Gameplay panel creates a control point in the game mode's GamePlayObjects.con with the next free id, team, radius and the base flags, one undo step; radii drawn as team-coloured rings and supply groups as lines (H2384)missing rename, group / ungroup
Spawn pointsCreate, rename, reassign to another control point, Enter Spawn Point, Select All Connected Spawnershas create at the view's centre for the selected control point, link by dragging a control point onto it or with Link, one undo step each; PLAY spawns at a new spawn point (H2384, H2286)missing PLAY from the selected spawn point
Object spawnersCreate with a vehicle type from ObjectSpawnerDef.con (ME_US_LightJeep has one template per team), Change Vehicle Type, reassign, renamepart create with a vehicle per team from the level's templates, relink a level spawner by its Object.setControlPointId line, the spawned vehicle drawn at the spawner (H2384, H2449, H2073); BF2 / 2142 spawners with a vehicle per team as the shipped files hold them (H2450)missing thumbnails in the vehicle picker; ObjectSpawnerDef types
Combat areasCombat Area mode: create, add points (Alt), copy / paste, close, delete, layer, vehicle category (CombatArea.vehicles), active areahas the loaded layer's polygons drawn on the ground in team colours; create, drag a point, add one on an edge (Alt), delete points and areas, team and vehicle category, one undo step each; saved into the layer's GamePlayObjects.con and played by PLAY (H2383); every game mode layer's areas at once, each in its tint, and copy / paste of an area between layers, saved into that layer's file (H2453)Already better: several layers drawn together
Ambient objectsCreate Ambient Effect, Ambient Sound, Ambient Trigger (types Explosion, Move, Fire, Time), stand-alone ambient effect; Trigger Ambient Effect; volume and pitch envelopeshas the Ambient panel creates triggers (a fresh triggerId, radius, events, chance), ambient effect areas fired by the selected trigger (or linked to it later) and ambient sounds (Sound.addTrigger with the template's position and heard distance) in the level's AmbientObjects.con, one undo step each; radii, heard distances and trigger links drawn; the selected sound plays in the page (H2400, H2073); a level's ambient sounds as pins, moved as their position line (H2507) and deleted with their block and Sound.addTrigger line, one undo step (H2527); the selected effect area's effect played in the viewport with the area's transform until Stop (H2508)part Trigger Ambient Effect (the trigger's random point in the radius)
TriggerablesCreate Triggerable and Triggerable Target, secondary position and rotation, Test Triggerable; Create Triggerable Path File from Spline (speed, delay, direction, sound)part triggerable targets with a path (Object.name, Object.absolutePositionSecondary, moves or turns, speed) and triggerables naming the selected targets (addTriggerableTarget) in the level's Triggerables.con (a new one when it has none); the path drawn and scrubbed in the viewport (H2400); a path's end dragged in the viewport or typed, a turning target's rotationSecondary (made with one, scrubbed), a triggerable's addTriggerableTarget lines added and removed in the Ambient panel, one undo step each (H2509)missing multi-point spline paths (Create Triggerable Path File from Spline), Test Triggerable
Gameplay settingsTickets per team for each layer size (16, 32, 64, 128), ticket loss per minute and at the end, time to the next AI wavepart tickets per layer size and ticket loss in the Level settings panel (H2385)missing the AI wave time; see level settings
TestEnter Spawn Point; Soldier camerahas PLAY: a real round in the same tab with the overlay mounted, Heroes, BF2 and 2142 (H1987, H2056, H2059, H2285, H2286); rounds with 4 to 15 bots on the overlay's generated navigation maps: Heroes (H2058, Not retail), BF2 and 2142 as BF2's single-player game hosts them (UseAI and the menu's bot count; H2558)Already better. Next: PLAY from the camera position

Object templates: the Object Editor#

The Object Editor (the Vehicle Workshop) loads one object and edits its template tree in the Tweaker. It has five modes: Object, Sound, Effect, IK and Ammunition (Ctrl+1..5). The Tweaker generates widgets from the engine's console reflection (Console.getArgumentTypes, getRange, getEnumName): sliders, curve envelopes and a texture palette. Right-clicking a tab adds a component.

FeatureBF2Editor (2005)bf2.us/editorDo better
Template treeHierarchy in the resource tree; select a child to tweak ithas inspector template chain, node graph of the addTemplate tree with the con text beside it (H1984, H2038)—
Edit propertiesThe Tweaker, per tab; Instant Tweaker reloads the object after every change; Reload, Reverthas edit any property line, by index when a property has several lines, undo, saved into the overlay (H2103, H2139, H2141); server or client scope per property (H2074); typed widgets in the inspector from the CON reference's argument types: checkbox, enum names, colour picker, number with a range slider, each change one undo step (H2394)missing curve envelopes and the texture palette
Property helpObjectEditor_Help.xls: 624 rows such as "Torque: dont enter higher values than 5000"has a tooltip on every property name in the inspector and the Graph panel: what the dedicated server does with the line, type and default, owner classes, each game's arguments and server / client scope, and a link to its row of the CON reference (H2399)missing the 2005 sheet's advice per property ("dont enter higher values than 5000")
New / clone / childrenAdd New Child, Add Existing Child, Add Cloned Child, Rename, Change Object Type, Remove child, Inherit Settings (copy another object's properties); new projectile; new templates NewTank, NewCar, Rocket, Torpedo, Shiphas the inspector's Clone (a new template with its children cloned, one placed beside the object), add an existing child or a new child of a type (an Engine), move or remove a child, change the type, Copy settings from another template, add a line; written into the overlay's Objects/<kind>/<name>/<name>.con, one undo step each, and the tools work again after a reload (H2394); each child of a clone copied, shared or left out, Rename (the file and the parents' addTemplate lines follow), NewTank / NewCar copies of the game's tank and car, a new empty template; on BF2 and Heroes (H2503); a placed new vehicle is an object spawner of it in the game mode's GamePlayObjects.con, so a PLAY round spawns it there (H2551); renaming a saved template the level's files already place rewrites those placements (H2552)missing the Rocket / Torpedo / Ship / projectile starters; renaming a template of the game's own files; Inherit as a diff to review before it applies
ComponentsAdd component (Armor, IK, ...), Delete component; NetworkableInfo picker; "This destroyable object lacks ArmorComponent, do you want to add one?"has add a component of the CON reference (Armor, the fire, ammo and target components, ...) with its default lines, remove one with its lines (H2394)missing the NetworkableInfo picker and the "lacks ArmorComponent" hint
WizardsContent/ObjectEditor/Wizards/<Car, General, Helicopter, Plane, Tank>/{Errors,Warnings,Utilities}.con: analyzers (populate, filter, compare) and fixes such as "Apply Default Tank Engine Settings" or "missing camera / entry point"has Validation panel over the whole level: spawns without a control point, gameplay objects outside the combat area, hit points above max, vehicles without a camera / entry point / NetworkableInfo (the General wizards' checks), each with a one-click fix on the undo stack, run again after every edit (H2393); the Tank engine type, turning rotational bundles without NetworkableInfo, team-aware combat areas, placed objects with mobile physics the round would make spawners (H2480); spawners whose vehicle lies outside every combat area for its vehicle category (a jet inside only the land vehicles' area; H2539)The Utilities' batch edits
Seats and weaponsMake Seat Parent, Enter / Exit position, Show Camera View (a live window following the vehicle camera), Make Barrel / Remove Barrel, Set Fire Rate, switch primary / secondary weaponpart the inspector lists seats, weapons and armour (H1984)missing show seat and camera positions in the preview; a camera-view preview panel
Test driveInput modes Free / Input / Enter; Enable Physics; Reset Vehicle Position; Zoom to Vehicle; water Shallow / Deep, raise / lower water and objectpart the Bench button (H2402): the open level made flat with a land half and a water half and no statics, one vehicle at the bench spot with the player in it, the overlay's template edits in a new round after each edit; the bench bar's Reset vehicle remakes it at the spot with the player in it (H2514); BF2 and 2142 levels toomissing raise / lower the water, the Free / Input camera modes
AmmunitionFire the chosen projectile from the camera; Chase projectile, Locked on target, Stationary; Damage On / Off with output; Explode, Spectacular Explode; Reset Objectpart the bench bar's Fire (H2402): a projectile template from the camera (along the view or at the bench vehicle) and a readout per shot in the console: hits with their material, damage dealt per victimmissing chase and locked-on cameras, stationary targets, Explode buttons
EffectsEffect mode: play, pause, stop, five background colours, quality level, draw as spheres, Effect Graph (curve envelopes)has an effect bundle plays in the preview with the client's effect runtime: play, pause, stop, restart, loop, any background colour, the Low / Medium / High effects quality; a curve editor for every particle system's graphs (size, colour blend, transparency, rotation, gravity, air resistance, emit speed over the particle's life) with four drag handles or the a/b/c/d line, one undo step each, saved into the overlay, the running effect restarted with it (H2403); draw as spheres (a wire sphere per live particle), and the Particle templates an emitter spawns with their transparency graph and alpha / size / drag / gravityModifier over-time keyframe lists, edited and saved the same way (H2510); the runtime interpolates the lists as the game does and the preview draws the emitters' wreck pieces and casings, so a size, drag or gravity list (and, in the editor only, an alpha list) changes the running effect (H2544)?
SoundSound mode; Engine Sound Tweak window (test RPM and load, pitch and envelope graphs)part the Engine sound panel: a level engine's Idle / Rpm1 / Rpm2 / Load sounds looped in the page while RPM and load sliders move, at the volumes and pitches the game's engine sound update gives, with each volume and pitch envelope drawn and the control marked (H2403); the envelopes edited in place (drag, add, remove points), one undo step each, saved into the overlay as the sound template's envelope line, the playing voices following at once (H2511); play sound files in the asset browser planned (H2086)missing the gear sway and smoothing over time
IKIK mode: move the soldier's hands and elbows on a firearm or rotational bundlemissing—
Object infoActive LOD, distance, poly and vertex counts; lodDistance1-6; lightmap size per objectpart preview with LODs, wireframe, materials, skeleton (H2034)—
Destroyable objectsTutorial: IsDestructable, NetworkableInfo BasicInfo, Armor component, hit points, DefaultMaterialpart property edits (H2103); a clone gets the Armor component and its hit points (H2394)A "make destroyable" action that adds the component and lines

Lighting#

The Light menu sets the sun and loads presets. The Compile menu generates lightmaps, atlases, the ground hemi map and envmaps. Each preset in Content/LightPreset (Day, Night, Cloudy, Grey_Day, Grey_Night, Grey_Cloudy) sets the sun, sky and ambient colours and the sun direction. It also sets the static and terrain sun and sky colours and the ground hemi map, plus the generator's settings (LightMapGeneration.sunLightFov, sunLightIntensity, sunLightShadowIntensity, numberOfGILights 8, GILightsBaseDir, GILightsFov 45, GILightsIntensity, UseGITopLight, skyWhite).

FeatureBF2Editor (2005)bf2.us/editorDo better
Light presetsExecute a preset, Save Current Light Settings As Preset, Reset to Level Light Settingshas Day, Night and Cloudy (the 2005 files' values) and Level in the Sky panel, live in Preview (H2386); Save light as preset keeps your own in Preferences, offered beside them (H2457)Already better: every change, a preset too, is one undo step (H2458). Next: the generator settings into the bake (H2368)
Sun directionSet Sun Direction From / To Camera, Set Sunflare Direction From / To Camerahas sun from the camera (Ctrl+Shift+U), bearing / height sliders and a sun handle to drag in the viewport (H2457); Preview's shadows follow on the next frame and Bake all runs once the sun stands still (H2386); the flare direction as a value (H2457); all four From / To Camera actions, each From one undo step (H2487)—
Sky, fog, flareLightSettings.SkyTexture, CloudTexture, CloudTexture2, FlareTexture in the level tweakerhas sky and cloud textures, both cloud layers with their scroll speeds, the flare texture and direction, fog colour and range, sun, sky, ambient and baked colours in the Sky panel, live and written to Sky.con in the overlay (H2386, H2457)?
Generate lightmapsDialog: Trace Terrain, Trace Objects, Primary / Secondary, Only Nearest, Trace Selected, Final, Resolution, Resume Previous, IncludeWaterDepth, night maps (renderer.IsNightMap); Perforce check-out firsthas sun and sky bake in retail layout, Bake all (about 22 s on village), continuous dirty-region re-bake after edits (H2217, H2218, H2219, H2252, H2271); the 2005 generator read (sky light ring, block loop, per-light sum, encode) and its Day preset available as a bake recipe; the shipped levels keep their per-level fits because their generator settings are not in the data (H2368, H2409, learnings); the lamp channel: static lamps of the placed objects bake into the statics' .r, and moving a lamp re-bakes what it lit (H2442)Already better: no dialog and no separate run. Next: the generator's settings as one Light panel
Atlas lightmapsGenerate Atlas Lightmaps (texture size, DXT format), Clean Lightmap Folder, LightmapAtlas.taihas pages and .tai written, LightmapAtlasEditor<n>.dds pages for new objects, cleanup on delete (H2250, H2277); planned rename on move (H2006)—
Light modesObject Lighting Mode, Hemi Map Modehas Baked, Preview (live cascaded sun) and Auto (H2216)—
Ground hemi mapMake Ground Hemi (resolution) renders groundhemi.dds top-down (makeGroundHemi.con); it lights dynamic objects from the groundpart the save regenerates it over the sculpted and painted ground from the terrain light maps (H2397); with a view the save first draws the level from above, so the statics' and trees' tops reach it too (H2471); the 2005 editor's lighting-only recipe (the terrain's pow(2 .y, 2), the houses' own light, trees left out, H2531)Regenerate on save from the edited terrain
EnvmapsCreate Default Envmaps, Generate EnvmapsmissingRegenerate on save
AtlasesGenerate Overgrowth, Decal and Particle Atlas (dice_TextureAtlasTool.exe)missingOnly needed once imports add trees, decals or particles

Materials#

The Material Editor edits the physics material manager (MaterialManagerDefine.con, MaterialManagerSettings.con), not the render materials. It has a grid of attack material by defend material with the damage modifier. Each material has effects, sounds and decals for these events: skid, roll, death impact, sprint, prone, crouch, stand, exit, ricochet and default. It can save a conflict list. It has no undo.

FeatureBF2Editor (2005)bf2.us/editorDo better
Damage matrixAttack × defend grid with DamageMod, display valuehas the Materials panel (Alt+M): a heat-map grid of every pair's damageMod, filtered by name or id, typed in the cell, one undo step each, saved into the overlay's MaterialManagerSettings.con (H2404)Server-side scope shown (H2074)
Impact effectsPer material: effect, sound, decal for each eventhas each pair's effect, sound and decal templates by index, typed or added, with undo (H2404); the effect plays in the effect player and the sound in the page from the pair's detail (H2504)-
Add / delete materialNew Material, delete, Save Material List, conflict listhas add (like another material), rename, the define lines typed, delete with its pairs, all with undo, saved into the overlay's MaterialManagerDefine.con; a level's own material files are read and written there (H2504); the conflict list: pairs, meshes' mapMaterial lines and terrain material map ids that name a material the define does not have, in the Materials panel (copied as text) and the Validation panel (H2530), with fixes: a gone material's pairs removed (their lines dropped at the save) and a mapMaterial line naming a missing id mapped to Default, one undo step each, also from the Validation finding (H2556)Already better: the list follows every edit, a pair in it selects that pair, and each conflict has a one-click fix
Render materialsNot in the editor (Maya ShaderTool, mapMaterial lines)part mapMaterial lines edited by index (H2141); material lists in the preview (H2034)Material slots with texture thumbnails in the inspector

Animation#

The Animation Editor edits a soldier's or weapon's animation system (AnimationSystem1p.inc, 3p.inc). An animation system has bundles (animations with start times and lengths, looping, effect events 0-9), triggers (typed, with child bundles) and value holders. It also imports .baf animations from Maya.

FeatureBF2Editor (2005)bf2.us/editorDo better
Animation systemsState tree of bundles, triggers, value holders; create, delete, add animation or event to a bundle; Capture Animation Bundlepart the Animation panel shows any system the level's templates load as a graph: value holders, the trigger tree, the bundles each trigger plays, every node's fields (H2405); a bundle's animations (added, removed) and their start times, a trigger's bundles and children, each one undo step, saved into the overlay's .inc with the file's other lines kept (H2534); no new bundles, triggers or events yetA graph view of the whole system at once, with a searchable bundle list; edits play at once in the kit preview
PlaybackTimeline window (begin, previous, next, end frame), play bundle or animation, pause, editor time, simulation ratehas a bundle or any .baf played on a kit on the soldier skeleton, a timeline that pauses and scrubs it with the bundle's animations as bars, the posed bones drawn (H2405); on Heroes the kit is worn by a hero's default body of any of the six kits (H2533), the same parts and atlas as the game client's default hero (bald like a retail hero of that outfit: hair is a look the hero picks, H2550); .baf export to glTF (H2035)Bones drawn over the mesh; the Heroes hero body built as the game builds it
Views1p / 3p (toggle), view modes (Orbit, Chase, FreeChase, FlyBy, Trace, Extern Trace), camera spring, LOD 0-2, simulate water, unlimited ammo, Input Move / In Placemissing—
Import and checksImport Animation (\Animation\Maya), Display / Verify joint count ("All baf files contain %d joints except")planned skinned mesh import (H2146)Import animations from glTF and Blender (the bridge, H2037)

AI and navigation meshes#

The Single Player Editor ("responsible for placing single player specific objects") edits strategic areas and path finding maps. NavMesh/ holds the offline pipeline: CreateNavmesh.bat exports GTS meshes (aIPathFinding.exportGTSMeshes) and runs NavMesh.exe (the GTS SDK, LGPL source included). The modder then cleans infantry.obj and vehicle.obj by hand in Maya ("delete all extraneous / unattached polygons, fill holes"), and FixNavmesh.bat writes Levels/<level>/AIPathFinding.

FeatureBF2Editor (2005)bf2.us/editorDo better
Navmesh buildExport GTS, NavMesh.exe, hand cleanup in Maya, FixNavmesh.bathas Generate in the Navigation panel (Ctrl+Alt+N): bf2-ai navgen over the level's collision, flooded from the game mode's spawn and control points, a job with progress (village: 6,061 polygons in under a second), Ctrl+S writes AIPathFinding/Infantry.qtr / .clb and the bots' AI files into the overlay (H2395, H2497, Not retail); on a level with vehicle spawners Generate also makes the Vehicle map (1 m grid, the vehicle collision LODs, the level's cost vehicles; on BF2 and 2142 both maps follow the level's AI settings and combat areas as NavMesh.exe did: Karkand's Vehicle map 3.5 m from walls, no slope over 20 degrees, 89 % of it inside the shipped map, Navigation meshes, H2872) and AerialHeighMap.ahm (Karkand: both maps in 7 s in the page, the aerial map within 3 m of the shipped one in 98 % of its cells; H2498); bots in PLAY rounds walk it (Heroes H2058; BF2 and 2142 H2558)One click in the page, no Maya step: flood from the spawn points, show unreachable areas (the floors the flood left out in red, portal pairs without a path in magenta, H2499), save into the overlay
Navmesh viewToggle Draw Infantry / Vehicle Navmesh, Toggle Draw AIhas the shipped (Infantry, Vehicle) and the generated maps drawn over the level, one colour per cluster, hidden by buildings (Shift+N, the Navigation panel; H2395)Draw the generated and the shipped navmesh (.qtr, .clb) over the terrain
Strategic areasCreate (also from a control point), move, neighbours (one-way and two-way), order positions for vehicles and infantry, landing zones, infantry and vehicle waypoints; AI/StrategicAreas.aihas the loaded layer's areas drawn on the ground (the game's box, side colours, neighbour links, order positions, waypoints); drag a box's centre (its order positions follow), a corner (resize about the centre), an order position or a waypoint; side, temperature, layer, search radius, neighbours (one-way or both), ControlPoint flag, order position per map, new box, detach from the control point, delete, Alt+click waypoint; one undo step each; Save writes the file keeping every other byte (H2406); the navmesh Generate's areas are listed before the save and an edit is saved over the generated file (H2536); landing zones (AILandingZone.createLandingZone, attachLandingZone: drawn, made, moved, resized, attached, deleted), categories (createNewCategory, an area's category) and flank position pairs (setFlankPosition: drawn, added, ends dragged, deleted), one undo step each (H2521)Generate one area per control point with the shipped files' values (H2406); next: bots in editor PLAY walking the waypoints
Path finding mapsCreate, delete, choose the active map, Generate Path Finding, settingsmissing—

Import and export: the Maya pipeline#

The pipeline is Maya 6 with MayaParser.mll / MayaParser60.mll, MParser.exe and the DICE tool rack (DICE in the script editor): ModelTool, LodTool ("Lod-o-Magic" with ProgressiveMesh_Release.mll), ShaderTool, UvAnimTool, WeaponTool, exportoccluders.mel, exportSkinMap.mel, batch scripts, and CgFX previews of the game shaders. In the editor, File > Import (Ctrl+I) runs MParser on a .mb from RawData. Import All and Import From List batch it, and "Auto-import" asks to re-import when the Maya file changes.

FeatureBF2Editor (2005)bf2.us/editorDo better
Mesh importMaya .mb → MParser → mesh, collision, .con / .tweak; files copied and added to Perforcehas glTF / GLB import into the overlay, static meshes with materials and DDS (H2036, H2147, H2173); planned skinned meshes and collision meshes (H2146)Any DCC that writes glTF; no RawData folder
Live editAuto-import on file changehas Blender bridge: Edit in Blender, Pull, live link (H2037, H2126, H2209)Already better: changes appear in the viewport without a re-import
LODsLodTool with progressive meshes in Mayahas regenerate lower LODs from an edited LOD 0 (H2210)—
ExportNone (one-way pipeline)has glTF export of static, bundled and skinned meshes, skeletons, .baf animations (H2035)Already better: retail assets go back out for editing
TexturesNVDXT.EXE, tgasplit.exe, texture atlas toolhas BC1 / BC3 encode on import, retail DDS kept when unchanged (H2036, H2173)—
Shader previewCgFX StaticMesh.fx, BundledMesh.fx, SkinnedMesh.fx in Mayahas previews drawn by the game renderer (H2034)—

Level settings#

These are the Level Editor's Level Settings dialog, the level tweaker, and the files the editor generates (every shipped Init.con starts with rem *** Generated by BF2Editor ***).

FeatureBF2Editor (2005)bf2.us/editorDo better
New levelSave Terrain As (level name), new terrain dialog, default content from Content/Terrainplanned new level wizard (H1992)—
TeamsTeam 1 / 2 name, language, flag (LevelSettings.AddTeam US English, gameLogic.setTeamFlag)has the Level settings panel: each team's name, language and flag, written into the level's Init.con through the overlay with undo (H2385)—
KitsSeven kits per team, each with a kit template and soldier skin (gameLogic.setKit 1 0 "CH_Specops" "ch_light_soldier")has a picker per kit slot: the level's kit templates with a thumbnail of each kit's first weapon, the team's faction first, and the soldier template; one undo step each (H2385, H2465)Heroes sets no kits in its levels (hero classes are the game's)
Game modes and layersEach object goes to a game mode's layer; Duplicate Layer; tickets per layer sizepart the Level settings panel lists the level's modes and layer sizes and loads the level in another one (H2385); tickets per layer size; PLAY plays the loaded layer (H2383)missing Duplicate Layer; which objects each layer has side by side
Camera before spawnSet Camera Before Spawn from the current view (gameLogic.setBeforeSpawnCamera)has Set from the view in the Level settings panel (H2385)—
View distanceGameLogic.MaximumLevelViewDistance, view distance from the level or the editorhas the level's value in the Level settings panel (H2385)—
MinimapShow / Reload Minimap; makeMiniMap.con renders renderer.makeTopWorldScreen 512 miniMap; commander and in-game map defaultshas the save re-renders the minimap under the edits from a top-down capture of the level: terrain, statics, roads and trees (H2397, H2471)Re-render the minimap of an existing level after edits, on save
Loading screen and descriptionWrites the level's .desc (name, briefing locid, loading music, modes with player counts and AI)planned (H1992)—
Sounds and ambienceSounds.con, AmbientObjects.conpart markers (H2073)—

Mod settings, packaging, source control#

FeatureBF2Editor (2005)bf2.us/editorDo better
ModsMod Manager: choose the active mod, create a mod (name, version, title, description, URL, logo, icon, parent content)part overlays: named writable layers per game in OPFS (H1985); mount a BF2 mod you own above the base game (Add mod: its archives first, its levels in the picker, its assets badged; Mods in the editor, H2371, H2375, H2440); has mod info per overlay (name, version, description, web page, menu music, a 64 x 64 icon and a 512 x 256 logo) kept in overlay.json and written on both exports as a mod.desc in the shape the game reads and the 2005 editor wrote, with mod.png and mod_icon.png (H2407, H2496); PLAY a mounted mod's level, the round's server and client layering the mod (H2484, H2485)missing choosing the parent content (an overlay always goes over the game's own mod)
PackagingMOD Packaging Center: package the active mod or one level into zip archives, choose the fileshas overlay export ZIP, import, and "Export for the game" with copies of the level archives the retail game loads (H2102, H2200)Already better: shows which files the server and the clients need (H2074, H2142)
Source controlPerforce: Sync, Submit, Open for Edit, Add Files, silent mode; read-only file promptshas overlay history without a server: a snapshot per save (unchanged files stored once), a line diff per file (binary files by size and hash), revert of one file or the whole overlay that reloads the level and can itself be undone; Mod info and history dialog, Alt+Shift+H (H2407); the same from the command line, bf2_editor --overlay DIR --history / --diff / --revert (H2494)missing sharing the history between browsers
BackupBackup plug-in: "performs a backup of the loaded level" into a Backup\ folderhas the overlay history above (the last 100 saves) and the autosave interval in Preferences (off by default; prefs.ts autosaveMinutes)—
Content foldersContent.ini lists the folders loaded at start; Load Resource, Find Resource, three bookmarks, five recent resourceshas asset browser over every template, mesh, texture, sound and effect with thumbnails, Ctrl+P quick open (H2034, H2033); favourites (a star per row, listed first) and the last 20 recents per game (H2408)—
ProfilerProfilerUI: Start / Stop profiling into profile.txtmissingFrame stats in the status bar; the browser's profiler covers the rest

Console commands#

ConsoleUI runs any engine console command (Ctrl+E executes, Ctrl+F gives the console focus) and keeps a history. Tools > Options holds three custom commands and three custom .con command files for buttons, plus a DefaultAction to run at start. The table counts the commands the help sheet documents and the names the binaries register.

CategoryIn CommandDescriptions.xlsNamed in the binaries (examples)bf2.us/editor
Global, View, Addin, Tools37New, Load, Save, SaveAll, Import, Undo, Cut / Copy / Paste, SubMode1-9, toggles of each bar, add-in / shortcut / control-map managers, custom commands 1-3 and files 1-3has palette commands for files, edit, view, layout (H2033, H2039)
Layer, Camera, RenderMenu, Movement, Snap197 layer, 5 camera, 42 render, 8 movement, 4 snap commandspart (see the shell)
Light, Compile, Mod, Helpnone6 light, 9 compile, 2 mod, 7 help commandspart lighting commands (H2216, H2219)
Resource tree, output212 resource-tree commandshas asset browser, console panel
TerrainEditor1322: colour and detail import, surrounding patches, smooth edges, low-detail maps, paint modespart brush, radius (H1988)
LevelEditor (with LevelEditorMenu, CombatAreaMenu, SplineManager, BrushManager)879part transform commands (H2033)
ObjectEditor (with EffectMode, AmmunitionMode)568part graph commands (H2038)
AnimationEditor, MaterialEditor, SinglePlayerEditor146, 3 and 12missing
ConsoleUI, Import, Backup, Perforce, ProfilerUI9execute, history, clear, import all, backup, sync / submit, start / stop profilingpart the Console panel's input line runs engine commands with history and completion (H2387); no backup, Perforce or profiler
ObjectTemplate.* tweaker help624every property of the CON languagepart edited as text (H2103)

The Console panel's input line (H2387) runs engine console commands in the page's engine (renderer.drawTerrain 0, ObjectTemplate.active ...), with completion from the CON reference and the history kept per game, and run <file> runs a .con file of the level or the overlay with its control flow (if, while, var, H2475). Commands that change the level (an ObjectTemplate property, a new template with ObjectTemplate.create, Object.create) go onto the undo stack like any other edit; a property a .tweak sets is edited in that .tweak (H2512); the other level settings typed there are kept for the overlay's Init.con and saved with Ctrl+S (notes/editor/api.md "Console").

Missing tools in priority order#

Items 1-4 are priority 1: a level maker needs them before a BF2-style map can be finished in the browser. Items 5-16 are priority 2: they make the work fast. Items 17-26 are priority 3: they complete the 2005 feature set. Each item is filed as a follow-up of H2369, and the tools that already have a registry task are not repeated here (H1990 roads and water, H1992 new level, H2341 colour map, H2356 layer view, H2368 lightmap generator settings).

  1. Combat areas: draw each layer's polygons, create areas, drag their points, set the vehicle category, save into the game mode's GamePlayObjects.con. Done (H2383 the loaded layer; H2453 every layer at once in its tint, copy / paste between layers).
  2. Gameplay object tools: create control points, spawn points and object spawners in the game mode's file with their ids. Link spawn points and spawners to a control point by dragging. A per-team vehicle picker for spawners (from ObjectSpawnerDef), and control point radii and supply groups drawn. Done in the Gameplay panel (H2384, H2449); left: thumbnails and ObjectSpawnerDef types in the vehicle picker, rename.
  3. Level settings panel: teams (name, language, flag), kits per team, tickets per layer size, ticket loss, camera before spawn, view distance, and a game mode / layer switcher. Done over the level's Init.con (H2385); the kits are pickers with weapon thumbnails (H2465).
  4. Sky, sun and water panel with light presets (done, H2386 / H2437 / H2458 / H2457: the Sky panel, Alt+S): sun direction from the camera or a sun handle in the viewport, sun, sky and ambient colours, fog, sky textures, both cloud layers and the flare, water colour and fog. Day, Night and Cloudy presets and your own (Preferences), shown live in Preview, each change one undo step, and saved to Sky.con / Water.con in the overlay.
  5. Engine console input: run console commands and .con files in the page, with completion and history. Done (H2387, H2475: templates made with ObjectTemplate.create, control flow in run files).
  6. View menu: per-kind draw toggles (statics, bundled, undergrowth, overgrowth, water, sky, fog, particles, roads), debug views (wireframe, collision meshes by kind, bounding spheres, light and sound radii), a stats overlay and a level budget panel.
  7. Camera tools: orthographic top-down, a ground-snapped walk camera, position bookmarks, go to x/y/z, camera position and FPS in the status bar.
  8. Prefabs and scatter brush: group / ungroup, save the selection as a prefab in the overlay, place prefabs; a level brush that scatters templates with random offset, rotation and scale.
  9. Align tools: a session pivot (snap to a bounding-box corner, rotate about it), copy / paste transform, an array of copies, replace the selection's template, snap to other objects' surfaces, a measure tool.
  10. Layers: the files' Object.layer groups in the scene tree with visibility and lock, and moving objects between layers. Done (H2392); left: Duplicate Layer.
  11. Validation panel: level and object checks with one-click fixes. This replaces the 2005 wizards (landed, H2393).
  12. Template authoring: new template by cloning, add / remove children, add / remove components, change type, inherit settings, typed property widgets. Done (H2394): the inspector's Clone and Authoring section write the templates into the overlay's Objects/<kind>/<name>/<name>.con, each tool one undo step; every inspector property is a typed widget from the CON reference; PLAY runs the authored templates and a placed clone stands in the round (H2500); rename, NewTank / NewCar starters, a copy / share / drop choice per child, Heroes (H2503); a new vehicle placed as an object spawner of it, which a round spawns (H2551); a rename after a reload rewrites the level files' placements of the template (H2552). Left: curve envelopes, the projectile / ship starters.
  13. Navmesh in the editor: draw the shipped and the generated navmesh, generate with bf2-ai navgen in the page, save into the overlay. Done (H2395), with the bots' AI.ai and StrategicAreas.ai (H2497), the Vehicle map and AerialHeighMap.ahm (H2498), the unreachable ground marked (H2499).
  14. Terrain maps: heightmap import / export (16-bit PNG and RAW), physics material map painting (HeightmapPrimary.mat). Done (H2396), with the surrounding maps' import / export as 8-bit PNG / RAW (H2505).
  15. Regenerate derived maps on save: ground hemi map, minimap, low-detail maps, envmaps. Done for the ground hemi map, the minimap and the low-detail maps over the edited ground (H2397), the statics, roads and trees drawn into them from a top-down capture (H2471); left: envmaps.
  16. Undo for vegetation strokes: grass and tree brush strokes as steps of the one undo stack (landed, H2428).
  17. Property help: a tooltip on every inspector and graph property from the CON reference. Done (H2399); left: the 2005 sheet's per-property advice.
  18. Triggers and ambient objects: create ambient effects, sounds and triggers, triggerables with spline paths, and test them in the viewport. Done (H2400: the Ambient panel, the sound played in the page, a target's path scrubbed; H2508: an effect area's effect played in the viewport); left: multi-point spline paths.
  19. Surrounding terrain: sculpt the eight secondary heightmaps with the primary, and keep the seam smooth. Done for sculpting across the edge (H2401), the ramp across it (H2540) and the redrawn surrounding patch on heat (H2541); left: create, remove or hide a surrounding patch.
  20. Vehicle and weapon test bench (part, H2402: the Bench button and the bench bar's Fire): one vehicle on flat ground and water in an in-page round, ammunition fired from the camera with a damage readout.
  21. Effect and sound tools (done, H2403, H2510, H2511; left: the gear sway over time): play effects in the preview with background colours and quality levels, an effect curve editor, and the engine sound RPM / load tweak.
  22. Material editor: the physics damage matrix and the per-material impact effects, sounds and decals. Done (H2404, H2504), the conflict list (H2530) and its fixes (H2556).
  23. Animation viewer: the animation system's bundles and triggers, and any .baf played on a soldier with a timeline. Done (H2405: the Animation panel's graph, a bundle played on a kit preview with a scrubbable timeline and the bones drawn; H2533: the Heroes hero body; H2534: a bundle's animations and start times, a trigger's bundles and children edited and saved); left: new or deleted bundles, triggers and events, bundle flags.
  24. Strategic areas: AI strategic areas, neighbours and waypoints for BF2 and 2142 levels. Done for the loaded layer with "generate from control points" (H2406), landing zones, categories and flank positions (H2521). timeline.
  25. Mod metadata and overlay history: name, version, description and icon of an overlay; snapshots, a diff and revert per file. Done (H2407: the Mod info and history dialog, Alt+Shift+H; mod.desc on export; H2496 the URL, logo and menu music; H2494 the native bf2_editor --history / --diff / --revert); left: the history shared between browsers.
  26. Asset favourites and recents in the asset browser. Done (H2408).

What we already do better#

  • No rebuild step for lighting. The 2005 editor needed a separate Generate Lightmaps dialog and a Perforce check-out. Our edits re-bake their shadow footprint about half a second later (H2219), and Ctrl+S writes the pages in the retail layout.
  • Undo and redo for moves, adds, deletes, property lines, sculpt and paint. The original had undo only, and none in the Material Editor.
  • Sculpt tools (raise, lower, smooth, flatten, set height, ramp, noise) recompile the touched patches while you drag. Grass and trees follow the new ground.
  • PLAY in the same tab on the edited overlay for Heroes, BF2 and 2142, instead of exporting the level and starting the game.
  • Non-destructive overlays instead of writing over the game's files. They export as a mod folder or as archives the retail game loads.
  • History without a server: every save is a snapshot with a per-file diff and a revert (H2407), where the 2005 editor needed Perforce or its Backup copies of the level folder.
  • Two-way assets: glTF in and out and a live Blender link, instead of a one-way Maya 6 pipeline.
  • One editor for three games, in a browser, with a rebindable keymap and a command palette.

How it is tested#

This page explains; it holds no code of its own. It compares feature lists. A row that says the web editor has a feature rests on that feature's own test program under crates/bf2-editor/tests or check under tools/web/editor_checks; a row about the original editor rests on its documentation and on use, not on a test. The wiki's test checks that every link and anchor on it leads to a page of the build and that its diagrams are the ones the script draws.

In the code#

The crates this page names, each with its line of docs/release/LAYOUT.md (the list is gathered by the wiki's build from the page itself):

CrateWhat it is
crates/bf2-editorPROGRAM bf2_editor: the web editor's engine host (wasm for the page, native for tests)
Source: docs/dev/editor/bfeditor-features.md · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.