View Single Post
Author Message
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 12-20-2014 , 18:34   [NMRiH] Laser Aim v.1.6.1 [2016/10/07]
Reply With Quote #1

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).
    Name:  Laser Aim colours.jpg
Views: 6035
Size:  18.1 KB
  • 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
    Name:  LaserAIM_Menu.jpg
Views: 5252
Size:  26.3 KB
    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
    Name:  Laser Aim 1.5.3.jpg
Views: 4971
Size:  17.8 KB
  • 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
Attached Images
File Type: jpg 2014-12-21_00003.jpg (36.9 KB, 1724 views)
File Type: jpg 2014-12-21_00004.jpg (36.5 KB, 1870 views)
Attached Files
File Type: zip [NMRiH] Laser Aim 1.5.x (textures).zip (55.5 KB, 1030 views)
File Type: sp Get Plugin or Get Source (nmrih_laser_aim 1.5.3.sp - 1721 views - 9.0 KB)
File Type: zip [NMRiH] Laser Aim translations.zip (1.1 KB, 789 views)
File Type: sp Get Plugin or Get Source (nmrih_laser_aim 1.6.1.sp - 887 views - 8.4 KB)
File Type: smx nmrih_laser_aim 1.6.1.smx (11.3 KB, 978 views)
__________________

Last edited by Grey83; 10-07-2016 at 19:26. Reason: Plugin updated to v.1.6.1. smal fixes
Grey83 is offline