Dateien

> > CS2D > Lua Scripts > 3 ways to kill people with explosion
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch 3 ways to kill people with explosion >

14 Kommentare2 kb, 606 Downloads

alt 3 ways to kill people with explosion

JONY
User Off Offline

The easiest way to kill player with explosion is just:
1
parse("explosion x y size damage source_player")
, but we won't talk about it.

I made this script so that people will see how one can use recursion (http://en.wikipedia.org/wiki/Recursion) in lua.

1st way: say !go
This will make explosion in all walkable area relative to you (screenshot 1). It looks quite nice, but might make some lag.
ATTENTION: dont say "!go" twice, wait before the first one is finished.

2nd way: say !shoot
This is like a ball, which reflects from walls (sometimes it fails due to the structure of cs2d itself), but as this 'ball' goes it makes explosions on the way (screenshots 2-3)

3rd way: say !hunt
finds a random enemy and 'walks' to him making explosions on its way. There are 2 ways how the explosion finds path to the victim (see code). Screenshot 4.

P.S. the main purpose of this code is for people, who are not so good in lua/programming to see how things can be done.
Zugelassen von GeoB99

Download Download

2 kb, 606 Downloads

Kommentare

14 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

buraxia3
User Off Offline

You're sadist! AWESOME LUA! TIME TO DIE!!!
Ich mag es!

alt

kalis
User Off Offline

this lua nice but make lag !

alt

Alistaire
User Off Offline

You should add an explosion which follows you from a distance

Oh wait, that's what you want us to do eh
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

Nice! I will test it!
You genius
And Robotic Brains its not too hard t0 made
Ich mag es!

alt

killerboy1
User Off Offline

How can i stop the shoot?
Ich mag es!

alt

Robotic-Brain
User Off Offline

lol what the hell is that?

unbelievable

you must be a genius
Ich mag es!

alt

Reyhan
User Off Offline

WOW! I like this XD..
Genius
Ich mag es!

alt

Snake_Eater
User Off Offline

Omg the reflection thing is so brilliant so brilliant I dont get the reflection thing OMG SO BRILLIANT

Ps:Jony are you german?
Ich mag es!

alt

loldlold123
User Off Offline

OMG VERY COOL AWANSOMEEE
Ich mag es!

alt

boyzinthewoodz
User Off Offline

wow cool i wanna edit it bc i think on a public server its way to laggy :d
Ich mag es!

alt

Hunter162
User Off Offline

WOW awesome, i try it and i get 1000kills in a minute
Ich mag es!

alt

Marcell
Super User Off Offline

awesome! this is perfect
Ich mag es!

alt

oxytamine
User Off Offline

I haven't downloaded it yet, but it looks awesome.
Ich mag es!

alt

Vectarrio
User Off Offline

lol, I like it, and 3rd way is just like a LIVING explosion!
awesome!, 5/5
Recursion: see recursion.
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang