Weapon cubemap: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Corrected. (I'm guessing dev mode is enabling the give cheat for me.))
m (→‎Entity description: Better wording.)
Line 8: Line 8:


The commands to equip the weapon_cubemap is either <code>[[impulse]] 81</code> or <code>give weapon_cubemap</code>.
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.
These commands are considered a cheats, meaning that [[Sv_cheats|sv_cheats]] must be set to 1, or developer mode must be enabled, for them to work.


{{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.)}}
{{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:24, 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 them to work.

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.)