新手上路
About: Selection of 39 lamps to spawn. Save up to 32 Lamps for auto-spawning (config saved to l4d2_lamp.cfg in your servers \addons\sourcemod\data\ folder.).引用:Thanks: alexip121093 disawar1 xioSlayer Mr. Man Recon-1 [Resistance] Yoshi kaos ilyaadminman Herbie_06Known Bugs: On occasion lamps cannot be broken. This seems to be a problem with entity outputs. A maximum of 32 light_dynamic entities can light up the map at one time. Plugins and maps which use light_dynamic entities, affect how many Lamps actually light up the map. Lamps are FPS intensive. I would highly recommend that you do not exceed 20 Lamps per map, for this and the above reasons.引用:Admin Commands: (requires "z" flag) HP Code: sm_lamp // Spawns a temporary Lamp at your crosshair. sm_lampset // Will save temp lamps to the map. 0 args = save origin/angles/color/brightness. 2 args = sm_lampset . 3 args = sm_set (color255) sm_lampdel // Removes the Lamp you are pointing at and deletes from the config if saved. sm_lampclear // Removes all lamps from the current map. sm_lampwipe // Removes all lamps from the current map and deletes them from the config. sm_lamprefresh // Removes all lamps from the current map and reloads the maps config. // Examples of sm_lampset with 2 arguements: sm_lampset glow 0.2 // (Only works on types which have Beams, eg: Dropped, Floodlight, Generators, Spin, Police etc.) sm_lampset halo 50 // (Beam types) changes the halo around the source. sm_lampset beam 100 // (Beam types) affects the beam opacity. sm_lampset length 300 // (Beam types) length of the beam. sm_lampset width 40 // (Beam types) width of the beam. sm_lampset speed 100 // (Spin types, eg: Spin, Police.) sm_lampset bright 300 // (All types except TV, Generator3 and Emergency.) sm_lampset break 1 // (All types) 1 to allow breaking, 0 to disallow. // Examples of sm_lampset with 3 arguements: sm_lampset 255 0 0 // Sets the color to red. Changes may not be visible unless saved and refreshed. sm_lampset 255 100 10 // Another color...引用:CVars: Saved to l4d2_lamp.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d2_lamp_allow "1" // 0=No. 1=Yes. Lights can break when damaged. l4d2_lamp_break "1" // Brightness of new lamps. l4d2_lamp_bright "150.0" // The beam color. RGB (red, green, blue) values (0-255). l4d2_lamp_color "250 250 200" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d2_lamp_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d2_lamp_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d2_lamp_modes_tog "" // -1=All, 0=Off, other value randomly spawns that many from the config. l4d2_lamp_random "-1" // Lamps plugin version. l4d2_lamp_version 引用:Changes: Code: 1.1 (10-May-2012) - Added cvar "l4d2_lamp_modes_off" to control which game modes the plugin works in. - Added cvar "l4d2_lamp_modes_tog" same as above. 1.0 (28-Feb-2012) - Initial release.
Thanks: alexip121093 disawar1 xioSlayer Mr. Man Recon-1 [Resistance] Yoshi kaos ilyaadminman Herbie_06
Admin Commands: (requires "z" flag) HP Code: sm_lamp // Spawns a temporary Lamp at your crosshair. sm_lampset // Will save temp lamps to the map. 0 args = save origin/angles/color/brightness. 2 args = sm_lampset . 3 args = sm_set (color255) sm_lampdel // Removes the Lamp you are pointing at and deletes from the config if saved. sm_lampclear // Removes all lamps from the current map. sm_lampwipe // Removes all lamps from the current map and deletes them from the config. sm_lamprefresh // Removes all lamps from the current map and reloads the maps config. // Examples of sm_lampset with 2 arguements: sm_lampset glow 0.2 // (Only works on types which have Beams, eg: Dropped, Floodlight, Generators, Spin, Police etc.) sm_lampset halo 50 // (Beam types) changes the halo around the source. sm_lampset beam 100 // (Beam types) affects the beam opacity. sm_lampset length 300 // (Beam types) length of the beam. sm_lampset width 40 // (Beam types) width of the beam. sm_lampset speed 100 // (Spin types, eg: Spin, Police.) sm_lampset bright 300 // (All types except TV, Generator3 and Emergency.) sm_lampset break 1 // (All types) 1 to allow breaking, 0 to disallow. // Examples of sm_lampset with 3 arguements: sm_lampset 255 0 0 // Sets the color to red. Changes may not be visible unless saved and refreshed. sm_lampset 255 100 10 // Another color...
CVars: Saved to l4d2_lamp.cfg in your servers \cfg\sourcemod\ folder. PHP Code: // 0=Plugin off, 1=Plugin on. l4d2_lamp_allow "1" // 0=No. 1=Yes. Lights can break when damaged. l4d2_lamp_break "1" // Brightness of new lamps. l4d2_lamp_bright "150.0" // The beam color. RGB (red, green, blue) values (0-255). l4d2_lamp_color "250 250 200" // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all). l4d2_lamp_modes "" // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none). l4d2_lamp_modes_off "" // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together. l4d2_lamp_modes_tog "" // -1=All, 0=Off, other value randomly spawns that many from the config. l4d2_lamp_random "-1" // Lamps plugin version. l4d2_lamp_version
Changes: Code: 1.1 (10-May-2012) - Added cvar "l4d2_lamp_modes_off" to control which game modes the plugin works in. - Added cvar "l4d2_lamp_modes_tog" same as above. 1.0 (28-Feb-2012) - Initial release.
查看詳細資料
TOP
中級會員