Dateien

> > CS2D > Lua Scripts > Scan training
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Scan training >

10 Kommentare2 kb, 389 Downloads

alt Scan training

united
User Off Offline

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 !
Zugelassen von Sparty

Download Download

2 kb, 389 Downloads

Kommentare

10 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

script favor
User Off Offline

@user jerezinho:
•First : I'm not an admin.
•Second : You are an infant , 12 or 13 years old. :).
•Third : Go and do some homework,good for you.

Good boy

P.S : Go drink some milk and grow up.

alt

script favor
User Off Offline

@user jerezinho: If you are continuing like this behaviour you will get trashed with banned users.

alt

jerezinho
User Off Offline

user script favor I do not give a shit who understands what I write or who does not!

user united knows what I write, I do not care if you understand or not

alt

script favor
User Off Offline

It only spam the hits,DWI it's useless.

@user jerezinho: Why spainsh language, other people cannot understand what ur writing , maybe insutling ... as i understand from "Mierda" .

alt

jerezinho
User Off Offline

Huy pero que lindo que esta esto! es como ver un pedazo de mierda guionado en un lua, alta mierda, al unico que le puede gustar esto es al gordo puto de @user Paset: que a ese gordo puto le faltan las 2 manos y los otros 2 boludos que le dieron like te lo dieron de lastima nomas, 18 descargas, vos paset y tus otros amigos boluditos, saludo negro virgo

alt

Flema
User Off Offline

asdasdasd
Ich mag es!
1× editiert, zuletzt 23.02.18 01:43:36

alt

SANTER
User Off Offline

capo toma mi like
Ich mag es!

alt

ksan_leon
User Off Offline

Good job dude! I hope it will help people who want to be professional in this game.
Ich mag es!

alt

Spankerino
User Off Offline

thank you ♥
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang