Ulysses Stuff > Ulysses Release Archives

ulx explode

(1/8) > >>

MrPresident:
Introducing possibly the most fun command in ULX ever.

ulx explode. (!explode)

This makes use of a util.BlastDamage function I recently discovered.

!explode <player(s)> [damage] [radius]
The player(s) will literally explode and cause blast (splash) damage to all entities within the radius you define (defaults to 150 units)

This command is default to superadmin only, but like all ulx commands, can be assigned access in the groups.txt file, or in game with ulx userallow <player> "ulx explode"

Not only does it cause damage within the radius.. it also creates force, similar to dynamite (in fact, dynamite probably uses this function) so it'll send physics props flying through the air.. and player ragdolls too =)

have fun!

v2
Added Exploding Sounds
Scorch Decal
Gibs (bones, skulls, ribs)
Water Splash if you do it under water
Adjusts Kills/Deaths accordingly
Explosion Effect.

pretty much complete. Unless there is something anyone can think of that would make it better.


EDIT.. oh I almost forgot.. To install this, put it in your addons\ULX\lua\ulx\modules folder =)
Now in addon format =) Simply drop it in your addons folder. (note... you need ULX installed to use this.)

JamminR:
* JamminR cries in excitement at the wonderful idea.
I'm going to go check it out in SP now.

EDIT
Please make it into an addon format.
I believe those of us that use SVN, svn clients will either erase it when we update, or complain that the svn folder has newer files.

MrPresident:
Fixed that up! =)

Addon format, and shortened the help display in game. Thanks.

johnlukeg:
Is there any way you can add some sort of effect to the explosion?  It's kinda boring if you can't even see the explosion happening.  If this is just a problem I'm having not being able to see one, sorry...

MrPresident:
Since I released it here, I've added gibs (when someone explodes it'll delete their corpse and spawn ribs, skull, and bones), added an explosion sound, and a blast decal under the person. I'm going to find a way to add a simple explosion effect to it too and then I'll release it here as a final version.

Navigation

[0] Message Index

[#] Next page

Go to full version