Forum

> > CS2D > General > 'Help' How to Make Die Explosion
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch 'Help' How to Make Die Explosion

13 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: 'Help' How to Make Die Explosion

Admir
User Off Offline

Zitieren
Funny thread, Is this not Lua Scripting Help section?

Admin/Mod Kommentar

This is the CS2D section. So everything about cs2d, not only Lua. /TheKilledDeath

alt Re: 'Help' How to Make Die Explosion

Kill_Meh
User Off Offline

Zitieren
Do you mean as a console command? If you are the owner of a server then type in console:
explosion <x> <y> <size> <damage> <source> <player>
(or type in chat with the /)

<x> is <---> coordinate
<y> is | coordinate
<size> how big do you want the sprite to be.
<damage> how big you want the damage to be.
<source> ...
<player> What player set it off. Example: If you are server then you should be 1 or if you are second person to join a server then you are 2.

alt Re: 'Help' How to Make Die Explosion

Kiffer-Opa
User Off Offline

Zitieren
@Kill_Meh: Your definition has a mistake:

The arguments <source> and <player> are in real one argument: <source player>. Look here cs2d cmd explosion. Yeah, it's a weird crazy dumb and nasty bug of CS2D which doesn't show arguments with more than one word correctly.

<source player> can be 0 for "no player". This means, if the explosion kills, no player gets score for this kill.

BoosterxD: What excactly do you want to know? What is a "Die Explosion"?

alt Re: 'Help' How to Make Die Explosion

CmDark
User Off Offline

Zitieren
Kiffer-Opa hat geschrieben
@Kill_Meh: Your definition has a mistake:

The arguments <source> and <player> are in real one argument: <source player>. Look here cs2d cmd explosion. Yeah, it's a weird crazy dumb and nasty bug of CS2D which doesn't show arguments with more than one word correctly.

<source player> can be 0 for "no player". This means, if the explosion kills, no player gets score for this kill.

BoosterxD: What excactly do you want to know? What is a "Die Explosion"?

I think he means A 1Hit Ko explosion..

alt Re: 'Help' How to Make Die Explosion

GreatRit
COMMUNITY BANNED Off Offline

Zitieren
DC hat geschrieben
errm yes ... of course you can. you can execute EVERY CS2D command with rcon.


I think he is referring to the "as server only" which I guess excludes rcon?

alt Re: 'Help' How to Make Die Explosion

TimeQuesT
User Off Offline

Zitieren
so you can make a death explosion
when someone die there will be an explosion that make 50 damage in a 70 radius
1
2
3
4
5
6
7
8
addhook ("die","dien")
function dien(id)
x = player(id,"x");
y = player(id,"y");
size = 70;
damage = 50;
parse ("explosion "..x.." "..y.." "..size.." "..damage.." "..id)
end

alt Re: 'Help' How to Make Die Explosion

DC
Admin Off Offline

Zitieren
GreatRit hat geschrieben
DC hat geschrieben
errm yes ... of course you can. you can execute EVERY CS2D command with rcon.


I think he is referring to the "as server only" which I guess excludes rcon?

rcon = let the server execute your command. so it's like you beeing the server. so it's right

@Schinken:
you don't have to get x and y of the dead guy with commands. instead you can use the coordinates which are passed to the function (see sys/lua/info.txt). these coordinates are the coordinates where that guy died.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht