Files

> > CS2D > Lua Scripts > MikuAuahDark: Shootable Grenades v1.0
Files overviewCS2D overviewLua Scripts overview

English MikuAuahDark: Shootable Grenades v1.0 >

22 comments2 kb, 449 Downloads

old MikuAuahDark: Shootable Grenades v1.0

MikuAuahDark
User Off Offline

Shootable grenades by user MikuAuahDark

∗ Description ∗
Wanna try to shoot grenades? Do it with this script. This script allows you to shoot grenade

∗ Features ∗
> Uses hitzone
> Most projectiles is shootable(including grenades)
> Uses real-time check(cs2d lua hook always)

∗ How to Install ∗
Install it as usual and put file gfx/10x10.bmp to your gfx folder

∗ Information ∗
> Reserved global variable: ShotGren
> 2487 Bytes
> 67 Lines
> 2 hooks, cs2d lua hook always cs2d lua hook hitzone

∗ User Configuration ∗
> ShotGren.Berhaviour - Controls the berhaviour of projectile when hit by bullets. Default berhaviour is to instantly place projectile on ground. Satchel charge are explode on hit

∗ Notes ∗
1. Nah, feedbacks, suggestons, etc. on comments
2. Video link: here(only satchel charge custom berhaviour are shown)

∗ Rules ∗
√ You can use it for your lua and your server
√ You can edit it
√ Share to others
√ Say user MikuAuahDark made it
√ Reupload with me on credits
× Say you made it
× Redistribute your edited version
× Re-upload without me on credits
edited 2×, last 18.04.14 01:07:13 pm
Approved by Seekay

Download Download

2 kb, 449 Downloads

Comments

22 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Stinger
User Off Offline

Awesome script and idea!
I like it!

old

sheeL
User Off Offline

Awesome script!
I like it!

old

MikuAuahDark
User Off Offline

@user _Yank: Hmm, it's very strange. It should doesn't alter any building related. I only use cs2d lua cmd object to get image x and y. I'm gonna check that server later

old

_Yank
User Off Offline

@user MikuAuahDark: I found a bug.
On the construction gamemode, when the player throws a grenade, sometimes, you throw a random build. O.o I know, this is very strange, also sometimes, the build skin is not on the wall tile.

Kinda hard to explain, if you didnt get it, you should check Ares Construction server.
I like it!

old

VADemon
User Off Offline

A little op in my opinion (when the grenade is flying directly to you it shouldn't be hard to hit it after some practicing), but a nice idea!
I like it!

old

TheeUD
User Off Offline

There is something more shocking that this kind of files?

old

massiveguy
User Off Offline

sweet.
I like it!

old

_Yank
User Off Offline

@user MikuAuahDark: You're such a genius !
Will use it on my construction server
I like it!

old

MikuAuahDark
User Off Offline

@user XoOt: yes. So it can be used to trick enemies. But actually i don't understand you correctly.

old

XoOt
Super User Off Offline

screenshots arent needed on that because they wont show any effect of that lua..
you will just see some guy shooting and a exploding grenade..

@user MikuAuahDark: ok, do they damage yourself when someone shots it when it's still next to you?
edited 1×, last 18.04.14 04:13:17 pm

old

Elfing
User Off Offline

Sounds cool, but you should put some screenshots.
I like it!

old

MikuAuahDark
User Off Offline

@user XoOt: It only affect moving grenades. Grenades lying on ground cannot be shoot.

Ah yes, i forgot to say about this one, it's just 2 seconds video because i have slow net.

old

0a
User Off Offline

Can you even explode or do stuff like that to collectible items while they are at ground?

old

Rainoth
Moderator Off Offline

@user 0a: That's correct. The hit is always registered, but you can use impact x and impact y to determine if it really hit the grenade. Or so I believe.

@user XoOt: In the video, a satchel charge flying in air is destroyed.
I like it!

old

XoOt
Super User Off Offline

does it affect thrown grenades which are still moving or just when they already lay on the ground?(haven't checked the video, due to slow net)

old

0a
User Off Offline

As far as I know, hitboxes in CS2D are always whole single tile, so even if you don't actually hit the grenade; it will still explode right?

old

Rainoth
Moderator Off Offline

Good idea.
I like it!

old

Marcell
Super User Off Offline

Ohh, btw you made very nice script, congrat
I like it!

old

Marcell
Super User Off Offline

thats very nice

Also can you shot it, when somebody NOT thrown the grenade? or just when its already thrown?
I like it!
edited 1×, last 18.04.14 01:20:53 pm
To the start Previous 1 2 Next To the start