Weapon cubemap: Difference between revisions
Jump to navigation
Jump to search
Tip:To equip and draw the weapon for quick work, developers can bind this command to a specific key. For instance, typing
SantagausS (talk | contribs) No edit summary |
m (Changed grammar. Removed non-wiki tags.) |
||
| 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 | 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>use weapon_cubemap</code> into the console to draw the tool. | ||
{{ | {{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.)}} | ||
<code>BIND "X" "impulse 81; use weapon_cubemap;"</code> | |||
[[Category:Level Design]] | [[Category:Level Design]] | ||
Revision as of 13:45, 16 September 2006
Entity description
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 impulse 81 (sv_cheats must be enabled). You may then enter use weapon_cubemap into the console to draw the tool.
BIND "X" "impulse 81; use weapon_cubemap;" will bind it to the X key. (You may need to press it twice the first time you use it in a map.)