[url=http://www.garrysmod.org/downloads/?a=view&id=3512][img]http://www.garrysmod.org/img/?t=dll&id=3512[/img][/url]
Creates an elastic constraint of a specified length from the selected object and when the bugbait is damaged or the numpad key is pressed it activates and moves along the rope until it reaches the object and ignites it.
[b][u]Changes:[/b][/u]
Sparks instead of fire
Bugbait disappears after beginning to burn
Fuse attaches to the hit position on the object
timer.Create instead of timer.Simple
It's an addon now.
[b][u]Settings:[/b][/u]
Key sets the key to press to ignite the fuse
Length determines the length of the fuse
Speed determines the distance per second it burns
Duration is the duration the target will burn for when the fuse burns all the way down
Constant, Damping, Relative Damping are all the same as an elastic constraint.
Rope width is the width of the rope
Material is the material of the rope
Ignite on Damage sets the fuse to start burning when the bugbait is damaged
[b][u]Installation:[/b][/u]
Extract to garrysmod\garrysmod\addons\ folder.
[b][u]Upgrade from previous version:[/b][/u]
Remove the old files,
Folder: garrysmod\garrysmod\lua\entities\fuse
File: garrysmod\garrysmod\gamemodes\sandbox\entities\weapons\gmod_tool\stools\fuse.lua
[b][u]Bugs:[/b][/u]
"Hey, the rope doesn't move, it just sits there."
I think I finally found what causes some problems with the fuse not moving down the rope. If you happen to use the Advanced Copy Gun it causes the Elastic Constraint to return nil for the rope portion. The code then can't shorten the visual portion of the rope but the rope is actually longer than it looks. You can move it around like it were longer but the keyframerope will just stretch out. This might just be me, but when I remove the Advanced Copy Gun from the addon folder it works again.
In short, The Advanced Copy Gun seems to cause problems.
Very cool!
very kick ass.
Nice its worth a download! :)
I would suggest a rope material for the fuse, and maybe when the bugbait is damaged make it invis and parent a spark effect to it.
Making it invisible after activated sounds like a great idea. The effect for the rope is selectable in the STOOL's menu so you can choose which effect you want to use. I'll work on creating a spark effect as well.
According to my pocket dictionary here, (which, mind you, is not always accurate...)
Fuse: A length of rope dunked in gasoline
Hmm, that's not very specific, now, is it?
Well, anyway, sounds cool, although I don't know what it could be used for unless somebody makes dynamite that explodes when ignited and then disappears, or even better, THRUSTERS that activate when ignited. (The thrusters can already be activated when damaged, but do props get damaged when they ignite, or is that just when the flame ends?)
I guess I'll just have to try it out for myself, won't I...
Hey, should we tell the guy that you made this?
Very nice addition to the STools.
Nice, can come in handy.
Thanks so much. Just what i wanted. Gold star in one post for you. And a Lua master in the other.
[b]Edit:[/b]
[QUOTE=spazthemax]I would suggest a rope material for the fuse, and maybe when the bugbait is damaged make it invis and parent a spark effect to it.[/QUOTE]
You could make it invisible, and put a rope over it.
Nice.
[b]Edit:[/b]
Nice.
.
[b]Edit:[/b]
Nice.
.
Very good, but I was hoping that there would this would act like dynamite (explode) when the fuse was finished.
Very good!
I just started making the same stool with the same idea hehe funny - Add a secondary fire mode that uses a slider and the bugbait moves on that slider.
Great Work as always kinkhood keep it up :)
JUST WHAT I WAS LOOKING FOR VERY nice! YOU GOT LUA KING STICKER!
I came on here expecting something that activates a numpad key after a set delay.
Oh well, this is pretty cool, too. Useful for Goldbergs.
This would be cool if it activated whatever object it was put on! (and make so you could make it activate multiple objects and if the object doesn't have a function then it should just ignite...
Ok for those who are just looking at this and aren't taking this into any consideration in downloading this let me tell you what I did with this. I made a nice bomb just using a crate, hunt's mod explosive creator and this Fuse Stool. All you have to do is set the explosive settings to what you want. then stick a fuse on the crate. Say your delivering it to a player and as you walk off start the fuse. Boom! It is really a fun trick and this is useful for more then just carnage. 5/5 buddy
You should redo this STOOL, because you can't see how long the fuse is. It should burn the rope too. If that is possible.
You just move the fuse and the length is there. It also does shorten the rope as the time goes on.
Thanks, this is just what I wanted.
[QUOTE=Kinkood]You just move the fuse and the length is there. It also does shorten the rope as the time goes on.[/QUOTE]
No, it doesn't. I was playing around with it, it will ignite but the bugbait on the end of the rope does not move, no matter if it's frozen or not. (At least, it wouldn't for us..) When it was supposed to have burned to the end of the rope, it did ignite the object, but we had no idea of knowing when it's going to do it.
I know in the code I tell it to increase the length of the elastic constraint to the set length, then I tell it to shorten the elastic constraint and the keyframerope continually until it's less than 10 away from the end and it ignites the base object. Are you able to move the bugbait at the end further away from where it starts?
I like this, very much :D
It did not work. I was able to light the bugbait but it did not move down the rope or did anything else for that matter.
what does it go under the thread
[QUOTE=jaybud4]According to my pocket dictionary here, (which, mind you, is not always accurate...)
Fuse: A length of rope dunked in gasoline
Hmm, that's not very specific, now, is it?[/QUOTE]
"Fuse" is the best way one can express himself about this rope, as it works in the same way as a fuse. We humans talk mostly in expressions, which doesn't make you more correct.
[QUOTE=jaybud4]I don't know what it could be used for unless somebody makes dynamite that explodes when ignited and then disappears, or even better, THRUSTERS that activate when ignited. (The thrusters can already be activated when damaged, but do props get damaged when they ignite, or is that just when the flame ends?)
I guess I'll just have to try it out for myself, won't I...[/QUOTE]
This CAN be used just like the dynamite - Propane Tanks, Explosive Barrels, Custom destroyable props.. The only difference is that it can't explode multiple times, but that doesn't a real dynamite do either. I'm just glad it can be used once, multiple times would just be an extra good feature IMO. A design is a design, take it or leave it, but don't make it sound useless just because it doesen't have all those features yet.
[QUOTE=MS-DOS4]It did not work. I was able to light the bugbait but it did not move down the rope or did anything else for that matter.[/QUOTE]
Same problem.
Sorry, you need to Log In to post a reply to this thread.