FANDOM


Screenshot (110)

A picture of what the Console looks like in game.

The Console can be accessed by pressing the Home button[1] and will appear at the top of the screen. It works like the Chrome Developer Tools, where you can put different codes that can customize the game, mostly for coloring & rendering. Press Home again to close Console. Reloading the page wipes out all commands, so you have to input them again. The console cannot be activated on phones or tablets as there is no Home key on their keyboards.
Home-key

the location of the Home Key on a keyboard[2]

This console is essentially a modder to the game, allowing some mods to take place. A list of available mods are given below.

List of actions

Commands:

Commands Details
con_toggle Toggles the console on or off
game_spawn [name] Spawns with the given name, if possible
help  Prints help text[3]
lb_reconnect Disconnect from the current server and find a new server
net_replace_color [id] [hex] Replace a color from the network color table
net_replace_colors [hex1] [hex2] ... Replace colors from the network color table in order
ui_replace_colors [hex1] [hex2] ... Replace colors from the UI color palette table in order

Note: the Color Commands will change it to the default. Change the Hexadecimal colors to input your own. (The HEX Colors are the 0xRRGGBB, RR is the red value in hexadecimal, GG is the Green value in hexadecimal, and BB is the blue value in hexadecimal. They must be 2 didgits, so you can add a zero in the first value to make it that.)

Color Command Description
net_replace_color 0 0x555555 Smasher and Dominator Bases
net_replace_color 1 0x999999 Barrels, Spawners, Launchers and Auto Turrets
net_replace_color 2 0x00B1DE Body (You)
net_replace_color 3 0x00B1DE Blue Team
net_replace_color 4 0xF14E54 Red Team
net_replace_color 5 0xBE7FF5 Purple Team
net_replace_color 6 0x00F46C Green Team
net_replace_color 6 0xD68163 Green Team (Making Green Team Brown, like it was formerly)
net_replace_color 7 0x89FF69 Shiny Polygons

(Green Square, Green Triangle, Green Pentagon)

net_replace_color 8 0xFFE869 Square
net_replace_color 9 0xFC7677 Triangle
net_replace_color 10 0x768DFC Pentagon
net_replace_color 11 0xFF77DC Crashers
net_replace_color 12 0xFFE869 Arena Closers/Neutral Dominators/Defender Ammo
net_replace_color 13 0x44FFA0 Scoreboard
net_replace_color 14 0xBBBBBB Maze Walls
net_replace_color 15 0xFF0000 Others (FFA)
net_replace_color 16 0xFF0000 Summoned Squares (Necromancer)
net_replace_color 17 0xFF0000 Fallen Bosses
ren_background_color 0xCDCDCD Background
ren_border_color 0xCDCDCD Background (Outside) (Note: you need to add 20 (14 in HEX) to each value of the Hexadecimal (0xRRGGBB) to get the desired result. base is actually 0xB9B9B9
ren_minimap_background_color 0xCDCDCD Minimap
ren_minimap_border_color 0x555555 Minimap Border
ren_health_fill_color 0x85E37D Health Bar
ren_health_background_color 0x555555 Health Bar Background
ren_xp_bar_fill_color 0xF0D96C EXP Bar
ren_score_bar_fill_color 0x6CEFA2 Score Bar
ren_bar_background_color 0x3D3D3D EXP/Score Bar/Scoreboard Background
ren_stroke_solid_color 0x555555 Outlines (For ren_stroke_soft_color false)
ren_grid_color 0x000000 Grid Lines (Note: Actual Results Vary, seeing as the border is different for each section)
Variables Details
game_stats_build = Stat build to aim for, for example 555667
lb_force_region = Force load balancer region[4]
lb_required_latency_samples = 15 Number of latency samples before picking best region
lb_search_duration = 5000 Duration in ms until we are forced to pick a best region (even if we don’t have enough latency samples)
net_force_secure = false[5] Force connecting via wss
net_latency_history_size = 25[6] Number of samples to average latency with
ren_achievements = true Render achievements
ren_background = true Render background[7]
ren_background_color = 13487565 Base color for the background
ren_bar_background_color = 0 Background color for a lot of bars in game
ren_border_color = 0 Color for the area outside the map
ren_border_color_alpha = 0.100000 Alpha for the area outside the map
ren_cache_grid = true Cache grid on separate canvas
ren_changelog = true Render changelog
ren_context_reinitialization = true Reinitialize contexts if FPS is too low[8]
ren_debug_collisions = false Render collidable debug info[9]
ren_debug_info = false Render some debug info on the server stats test
ren_fps = false Render FPS
ren_grid_base_alpha = 0.100000 Base alpha for the grid
ren_grid_color = 0 Grid color
ren_health_background_color = 5592405 Color for the health bar background
ren_health_bars = true Render health bars
ren_health_fill_color = 8774525 Color for the health bar filling
ren_health_color = 8774525 Color for the health bar filling
ren_minimap_background_color = 13487565 Background color for the minimap
ren_minimap_border_color = 5592405 Border color for the minimap
ren_minimap_viewport = false Render viewable area as rectangle on the minimap
ren_names = true Render names
ren_pattern_grid = true Use canvas createPattern for grid, it's faster but looks slightly worse
ren_raw_health_values = false Render raw health bar values
ren_score_bar_fill_color = 4456337 Fill color for score bar
ren_scoreboard = true Render scoreboard
ren_scoreboard_names = true Render scoreboard names
ren_solid_background = true Render background as solid color, without the grid
ren_stats = true Render stat upgrades
ren_stroke_soft_color = true Renders strokes as a darker shade of fill color
ren_stroke_soft_color_intensity = 0.250000 How much to blend black with the fill color [10]
ren_stroke_solid_color = 5592405 Color for solid borders
ren_ui = true Render UI layer
ren_ui_scale = 1.000000 UI scale
ren_upgrades = true Render class upgrades
ren_xp_bar_fill_color = 16768579 Fill color for XP bar
ui_prevent_right_click Prevent right click from triggering context menu

Footnotes

  1. Fn ← on a Mac.
  2. Remember to have num lock off.
  3. This is a list of all commands.
  4. Requires reconnect, you also need to append the gamemode, like :tag:
  5. Formerly typed in console as con_force_secure = false
  6. Formerly typed in console as con_latency_history_size = 25
  7. and grid
  8. Browser heuristics.
  9. Those are not hitboxes.
  10. 0 = nothing, 1 = black
Gameplay


Weapons Ammunition
Autoturret TurretsPentabarrel Cannons (Deployerbarrel Deployers)
Trapbarrel LaunchersDoritobarrel Spawners
Bullet Bullets (Missile Missiles)Trap Traps
Drone Squarez Drones (Drone Partisans) (Factorytank Minions)
Features Mechanics
! NotificationsDiepio4Teams Minimap
BaseSpawnIcon Base (Protectors)Ghfff Achievements
Console ConsoleScoreIcon Scoreboard
FiringIconAuto FireSpinIcon Auto SpinInvisIcon Invisibility
TankTanksLevUpIcon LevelsStatsIcon Stats (Hidden)
CloserIcon Arena ClosingDeathIcon Death Screen
General Information
Tank Diep.ioDiep.io Mobile MobileChangeIcon ChangelogMobile ChangelogGear White StrategiesBuildIcon BuildsControlsIcon Controls

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.