Dateien

> > CS2D > Lua Scripts > Bouncing Grenades
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Bouncing Grenades >

35 Kommentare2 kb, 469 Downloads

Kommentare

35 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

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

alt

sonkii
User Off Offline

Wait,what?This thing i really i need!Like it!
Ich mag es!

alt

Zurak
User Off Offline

in reality if a grenade hit a person it wouldn't bounce off but land near or if its a head shot it would knock the person out/kill him.

alt

Apache uwu
User Off Offline

@user Infinite Rain: Actually the attack hook triggers after the grenade is thrown, so a script like ex:

1
2
3
4
5
6
7
addhook("attack","_attack")

function _attack(id)
	if player(id,"weapon")==51 then
		parse("strip "..id.." 51")
	end
end

Would not work, as you can see in my script, I used the select hook to detect if the user is holding a grenade or not.

As for the image, since the client and the server always have latency, the image moving across would not be smooth.

alt

Infinite Rain
Reviewer Off Offline

@user Avo:
Firstly, one image will never lagg.
Secondly, it would be hard to detect a grenade throw and remove it before HE would be thrown
Ich mag es!

alt

maPmaKer
User Off Offline

Awesome, really awesome.
Ich mag es!

alt

Lubo
User Off Offline

Well the lau is pretty simple and cool.
So I like it.
Can i request you a lua?
Ich mag es!

alt

Avo
User Off Offline

@user Infinite Rain: You're probably right. But possible with images you know it, as user Apache uwu, it would lead to lags
Ich mag es!

alt

SkullzOrig
User Off Offline

You have to admit, they were good ideas.
Ich mag es!

alt

Apache uwu
User Off Offline

It's very possible. However doing it with images would not be smooth (due to lag between the server and client).

alt

Infinite Rain
Reviewer Off Offline

Your suggestions is IMPOSSIBLE to be completed in Lua.
Ich mag es!

alt

SkullzOrig
User Off Offline

Idea's for grenades:
Sticky grenade: Sticks to the player when it makes contact, but does only 75% of the damage a HE nade does.
Flame grenade: It released a highly flamable gas that ignites the player on fire. Wears off after 3 sec, if the player is out of the gas distance.
Remote C2: Like the sticky grenade, it has the ability to stick to players. But only this explosive is remotely detonated, it is removed if the detonator is dropped or the detonator holder is killed.
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

during collision(!) so he can make delay after wall will disappear and grenade will bounce normally.
Ich mag es!

alt

Avo
User Off Offline

No, he couldn't. You can't make your custom bounce. He spawn building during collision and it cause bounce
Ich mag es!

alt

mafia_man
User Off Offline

You could use custom collision box'es for players, cuz now bouncing from them sucks.

alt

Avo
User Off Offline

It's useless, but who one cares? You used the same trick like in "no penetration", am I right?
Ich mag es!

alt

Apache uwu
User Off Offline

I meant not with the current script. Also images might lag

alt

Yates
Reviewer Off Offline

@user Apache uwu:
Plasma grenade image.
Move the image using Lua when thrown.
If it hits a player (same x y) then it sticks and follows him.
Explode on player x y.

Seems possible.

alt

Apache uwu
User Off Offline

haha like halo plasma grenades? Sorry that is impossible.

alt

SkullzOrig
User Off Offline

Hello ketamire, I have idea for you. Why not make a grenade that sticks to the player. That should be more of a challange for you. This is ok idea, but I probably won't use. I give like tho.
Ich mag es!

alt

Apache uwu
User Off Offline

@user DannyDeth: Sorry! That is a real grenade, I can't change the bounce path.
Zum Anfang Vorherige 1 2 Nächste Zum Anfang