English Scan training icon

3 comments
20.12.17 02:34:38 am
like 3 like it!
2 kb, 16 Downloads
united
User
Offline Off
Originally based on the Laserpointer Script by Plookerbooy and the Hitzone Script Example by Unreal Software, I've done a few modifications and created the following script which aims to help (competitive) players train their off-screen scanning angles to level up their gameplay.

I've decided not to keep this to myself but rather make it open source and invite whoever is interested to improve it and work on new features.

> Installation

1) Download "scans.lua" and save it in cs2d/sys/lua
2) Download "line.bmp" and save it in cs2d/gfx
3) Open CS2D, go to "New Game" -> "More settings" and search for "mp_luaserver" option and change it to "scans.lua"
4) Enjoy!


∗ 19/12/2017 - Version 1.0 @Github
Spoiler >

ADDED Press E to spawn a hitzone dummy.
ADDED Line turns green when no walls are interfering with the trajectory of the line.
ADDED Line turns red when there is a wall between the dummy and the player.
ADDED If you're the only player in the server, pressing E again will make the previous dummy disappear and generate a new one.
ADDED Current dummies have infinite health.
ADDED When hitting a dummy a sv_msg will appear, indicating you've hit it.


> Current Issues & Future plans

° Running the script with multiple players in the server makes hitzone dummies not clear when creating a new one, thus, eventually having those all over the place
° Using the flashlight (or some other button), there should be the possibility to make the current dummy disappear without the need of creating a new one (currently commented out in the code).
° Dummies currently have infinite health. It would be good to have the possibility to switch between infinite health and 100hp with kevlar and helmet.
° Being able to spawn multiple dummies at the same time could be good
° Currently the laser line goes from the center of the player to the center of the dummy. It would be better if it went from the center of the player (where the shots come from) and then be as wide as the dummy hitzone, proyecting in an angle instead of a straight line.



Feel free to contribute, comment, suggest, criticize and modify the script.
Ideas are welcome too !
imageimageimageimage
ok This file has been reviewed and approved by Sparty (20.12.17 10:54:50 am)

Comments

3 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
21.12.17 03:40:41 am
like I like it!
Up
SANTER
User
Offline Off
capo toma mi like
20.12.17 09:29:37 pm
like I like it!
Up
ksan_leon
User
Offline Off
Good job dude! I hope it will help people who want to be professional in this game.
20.12.17 09:22:38 pm
like I like it!
Up
spawn123
User
Offline Off
thank you ♥
To the start Previous 1 Next To the start