Map setbombradius: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (-info map parameters changed link)
Line 6: Line 6:
<br>
<br>
==More details==
==More details==
This command either change already exist map entity [[info_map_parameters]] '''bombradius''' value or will create entity [[info_map_parameters]] if not exist.<br>
This command either change already exist map entity [[Info_map_parameters/Counter-Strike_series|info_map_parameters]] '''bombradius''' value or will create entity [[Info_map_parameters/Counter-Strike_series|info_map_parameters]] if not exist.<br>
C4 '''bombradius''' is 500 by default, without [[info_map_parameters]].<br>
C4 '''bombradius''' is 500 by default, without [[Info_map_parameters/Counter-Strike_series|info_map_parameters]].<br>
'''bombradius''' value is actually maximum explosion damage in dead center of explosion. To get explosion radius, multiply given damage with x 3.5<br>
'''bombradius''' value is actually maximum explosion damage in dead center of explosion. To get explosion radius, multiply given damage with x 3.5<br>
  500 damage X 3.5 = 1750 radius
  500 damage X 3.5 = 1750 radius

Revision as of 13:21, 7 November 2022

The map_setbombradius is cheat console command. This command change c4 explosion range.

Usage

Enable sv_cheats 1
Use command once when map start: map_setbombradius 500

More details

This command either change already exist map entity info_map_parameters bombradius value or will create entity info_map_parameters if not exist.
C4 bombradius is 500 by default, without info_map_parameters.
bombradius value is actually maximum explosion damage in dead center of explosion. To get explosion radius, multiply given damage with x 3.5

500 damage X 3.5 = 1750 radius

See also

map_showbombradius