Name: Laser Aim
Description: Creates a laser dot every time a firearm in the hands of the player.
This plugin is a modification of
[CSS] Laser Aim by
Leonardo.
Unlike the original plug-in: Was
cut changed a piece of code responsible for drawing the laser beam. Change parameters responsible for the inclusion of the laser dot. Added code to load the texture of the laser dot & beam from the server (in this game no texture suitable for this), as well as creating the configuration file for the plugin when you first start.
Installation: Place compiled plugin (
nmrih_laser_aim.smx) into the plugins folder (
../addons/sourcemod/plugins/).
Place the translation file (
nmrih_laser_aim.phrases.txt) into the translation sfolder (
../addons/sourcemod/translations/).
Changes in 1.4 [2015/03/04]:- Added variable that is responsible for rendering the laser dot: players can see all dots or only their own dot.
- Other code fixes
Changes in 1.5 [2015/04/13]:- Added client preferences menu for laser (include 8 colours: red, orange, yellow, green, cyan, blue, purple and white).
- Now in zoom you have not only a dot, but also a beam.
- Other code fixes
Changes in 1.5.1 [2016/01/06]:- At the request of players added option that disables their own laser dot & beam
Changes in 1.5.2 (2016/01/17):- Fixed start position of the laser beam when player crouched
- Updated textures of the laser beam and dot (this dot now looks like laser dot in L4D/L4D2)
- Small fixes
Please delete old config if You used previous version of the plugin
Changes in 1.5.3 [2016/04/06]:- Minor fixes in the menu
- Now texture of beam uses texture used by command sm_beacon, sm_timebomb etc.
- Slightly reduced the amount of code (350 lines in v.1.5.2 -> 268 lines in v.1.5.3)
- Small fixes
Changes in 1.6.0 [2016/09/30]:- Rewritten using the new syntax (1.7+)
Need SM1.8_stable to compile
- Minor code optimization
- Small fixes
- Divided into parts (by language) the file of the translation
Changes in 1.6.1 [2016/10/07]:- Fixed problem when no zoom = no dot
- Minor code optimization
CVars:- nmrih_laser_aim_version - Plugins version
- sm_laser_aim_on - Enable/disable plugin
- sm_laser_aim_welcome_message - Show plugin message on player connect
- sm_laser_aim_default - Default client colour preference (0 - 8 )
- sm_laser_aim2all - The player can see: 1 - all dots & beams, 0 - only their own dot & beam
- sm_laser_aim_alpha - Dot & beam transparency
- sm_laser_aim_life - Life of the dot & beam
- sm_laser_aim_width - Beam size
- sm_laser_aim_dot_width - Dot size
Note: The attached zip archive contains the textures
required for the plugin.
History of downloads:
nmrih_laser_aim 1.4.sp - 179 views
nmrih_laser_aim 1.5.sp - 236 views
nmrih_laser_aim 1.5.2.sp - 163 views
nmrih_laser_aim.phrases.txt - 89 views