My modification of the breakable props stool made by Conna

I’ve decided to modify Conna’s breakable props stool. This has taken me months with a lot of help from friends. It is also my first project so don’t be too harsh on me.

“What’s different from this and the original tool?”

  • New effects
  • Gcombat style die effect but with new effects
  • Better colour code
  • Sounds
  • Multiplier slider
  • Explosion damage(toggleable): props explode when they die. This can cause awesome chain reactions.
  • New particles (The same one Jinto’s using for his WIP nuke)
  • Vehicles can be breakable (Using a very hacky method, but hey, it works. Also toggleable)
  • Debris is scaled according to the size of the prop.
  • Sound pitch is pitched according to the size of the prop.
  • More debris is spawned if the prop is larger.
  • Preset box

Some screenshots:

http://www.cubeupload.com/files/d7c8a1gmflatgrassrevolution002.jpg

http://www.cubeupload.com/files/655f9gmflatgrassrevolution0030.jpg

http://www.cubeupload.com/files/b9cebbgmflatgrassrevolution003.jpg

The major part is new effects, though. I’ve been working a lot on it and I’ve added debris and shit. Here’s a video

old
[media]http://www.youtube.com/watch?v=dWwFz4O1JOw

I’m making a thread here because there’s a few bugs I want to fix. But I have no idea how to fix them.

Current bugs:

  • Undo doesn’t undo from the undo list when the prop breaks
  • If you apply this on a contraption with too many constraints it won’t apply properly

http://www.garrysmod.org/img/?t=dll&id=51081

Thanks to:

Qiler
Robbis
BlackNecro
The Mathias
TetaBonita
Xenon
Q42 (for his gcombat code)
Maurice

for helping me out

Very nice :smiley:

You should check some of the other SWEPs/SEnts for the undo bug.

Great modification! Definatly going on my server!

One thing though, you should remove the alerts that come up when you make a prop breakable.

They’re crap, I should have never added them.

Wow, that is awesome! :smiley:

This is the first modification that doesn’t deserve the name of which.
Very well done.

Edit:

I loved when you hit the heli and the rotor went flying.

Edit:

And when you bashed the scanner’s brains out.

That video is pretty good, nice job. I’m making Arkantos run this on his server when he hosts again :).

Awesome effects :smiley:

I am so getting this, It will be awesome for my movies.

Thanks guys.

I’m trying to figure out how to do the undo thing. I have no idea where to start. :\

Basically you start with undo.Create(<undo name>) and keep adding shit with undo.AddEntity(<the ent>) before doing undo.SetPlayer(<the player that can undo>) followed by undo.Finish()

I think that part is already in the code. The problem is that the undo doesn’t undo when the prop dies.

Edit:

So you end up having lots of undo’s in your undo list.

I’ve been seeing this in many versions on your server, I love it! Glad you released it, and I really like the new effects. But I still want firetrails before the prop ‘Dies’. RPGing my numerous aircraft with this is immensly fun!

I’ll try to make the firetrail fade in when the hp is critical.

Wow those effects look really good!
Will come in handy when making fights.

If you ever decide to make a version that applies breakable to ALL props on the server, I’d love to have a copy.

Unfortunately, this tool doesn’t work with the advanced duplicator tool, just like Conna’s. Could that feature be incorporated?

I’m not experienced enough to do that I think.

It’s awesome. Could you make a command so that this is put on all props automatically when you spawn them?

Like

sbox_breakable 1 - Would make all props breakable

and

Sbox_breakable 0 - Would turn off the breakable props.

The ban hammer in the video is funny :smiley:

Good job.

I’m still working on this by the way. ZpankR joined so he’ll be working on it as well. We’re open for suggestions.

So far we’ve added

  • Explosion damage(toggleable): props explode when they die. This can cause awesome chain reactions.
  • New particles (The same one Jinto’s using for his WIP nuke)
  • Vehicles can be breakable (Using a very hacky method, but hey, it works. Also toggleable)
  • Debris is now scaled according to the size of the prop.
  • Sound pitch is pitched according to the size of the prop.
  • More debris is spawned if the prop is larger.

I’ll also upload a new video soon as well.