Weapon cubemap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (use is correct)
(Corrected. (I'm guessing dev mode is enabling the give cheat for me.))
Line 5: Line 5:


[[Image:Surf_prejefuck0000.jpg|thumb|300px|right|weapon_cubemap in CSS]]
[[Image:Surf_prejefuck0000.jpg|thumb|300px|right|weapon_cubemap in CSS]]
This entity gives the player a set of spheres (''models/shadertest/envballs.mdl''), each with different reflective surfaces. It is used for checking [[cubemaps]]. The command to equip weapon_cubemap is <code>[[impulse]] 81</code> ([[Sv_cheats|sv_cheats]] must be enabled). You may then enter <code>give weapon_cubemap</code> into the console to draw the tool.  
This entity gives the player a set of spheres (''models/shadertest/envballs.mdl''), each with different reflective surfaces. It is used for checking [[cubemaps]].


{{tip|To equip and draw the weapon for quick work, developers can bind this command to a specific key. For instance, typing <code>BIND "X" "impulse 81;use weapon_cubemap"</code> will bind it to the X key. (You may need to press it twice the first time you use it in a map.)}}
The commands to equip the weapon_cubemap is either <code>[[impulse]] 81</code> or <code>give weapon_cubemap</code>.
These commands are considered a cheats, meaning that [[Sv_cheats|sv_cheats]] must be set to 1, or developer mode must be enabled, for it to be able to be enabled.
 
{{tip|To equip and draw the weapon for quick work, developers can bind this command to a specific key. For instance, typing <code>bind "X" "impulse 81"</code> will bind it to the X key. (You may need to press it twice the first time you use it in a map.)}}


[[Category:Level Design]]
[[Category:Level Design]]

Revision as of 15:23, 16 September 2006

Template:Wrongtitle


Entity description

weapon_cubemap in CSS

This entity gives the player a set of spheres (models/shadertest/envballs.mdl), each with different reflective surfaces. It is used for checking cubemaps.

The commands to equip the weapon_cubemap is either impulse 81 or give weapon_cubemap. These commands are considered a cheats, meaning that sv_cheats must be set to 1, or developer mode must be enabled, for it to be able to be enabled.

Tip.pngTip:To equip and draw the weapon for quick work, developers can bind this command to a specific key. For instance, typing bind "X" "impulse 81" will bind it to the X key. (You may need to press it twice the first time you use it in a map.)