• Gravity Controller
    131 replies, posted
[highlight]Gravity Controller V3.0[/highlight] [b]Info:[/b] [list] [*]Toggle gravity from constrained entities [*]Airbrake [*]Numpad-controlled too, for wire-hater (adv-fixed!) [*]Soundpitch changing [*]Now good-working Repositioning system (spacegate anyone?) [*]Fully Spacebuild-compatible [/list] [media]http://www.youtube.com/watch?v=OGHVHo8ptJs[/media] [media]http://s3.garrysmod.org/img/dl/68232_2.jpg[/media] [b]Credits:[/b] [list] [*]Malawar for his awesome Airbrake STool [*]SMILIE, friend and Lua-Helper :keke: [*]ColSheppard and Cebt for their models [*]Me for idea and code [/list] [b]Bugs:[/b] [list] [*]Hydraulics + No-Gravity: PARTY! [/list] [b]Changelog:[/b] [list] [*][b]V3.0:[/b] Completely recoded that shitcode Now really, REALLY spacebuild-compatible A bunch of options added [*][b]V2.1:[/b] Added angular airbrake (no spinning around anymore), also a checkbox to disable it (a litte bit buggy) Fixed Duplicator (oh my god yay!) [*][b]V2.0:[/b] Added Cebt's model, new modellist Spacebuild-fix :D [*][b]V1.8:[/b] Added a fucking repositioning system [*][b]V1.6.5:[/b] Little ADVDupe fix (compare number with nil) STILL does not save sound/key! [*][b]V1.6:[/b] Spacebuild Fix (Can't turn off gravity in space anymore, but i don't know how to fix the thing goes into atmosphere and gravity turns on bug D: Maybe spacebuild 3 fixes that) Changed the Turn On/Off soundeffects. Now it changes status slowly, and no crappy shutdown sound anymore Added ColSheppards "simple" Spacegate Powernode Model. [*][b]V1.4:[/b] Fixed some spelling mistakes :P [*][b]V1.3:[/b] Added airbrake slider for the STool Added loopsound-selection [*][b]V1:[/b] Now STool with numpad and model selection Fixed loopsound working only for one SEnt at once Added sound pitch change [*][b]V0.7:[/b] release [/list] [url=http://www.garrysmod.org/downloads/?a=view&id=68232][img]http://www.garrysmod.org/img/?t=dll&id=68232[/img][/url] [url=http://www.flashgames.de/index.php?onlinespiele=4034&todo=play]Mango![/url]
So...it's like an advanced hoverball?
No it is not. It can not go up or down. Just disable gravity for prop. Make it stand on one direction. And make it be in one position. but it is still cool.
is there any way to make it where it only does the sound pitch. Want to use it on a train to give it an actual train sound, but it doesn't work very well when the train lifts off the tracks.
[QUOTE=S31-Anubis]is there any way to make it where it only does the sound pitch. Want to use it on a train to give it an actual train sound, but it doesn't work very well when the train lifts off the tracks.[/QUOTE] hahaha, sorry i can just imagine the train lifting from the ground, your idea with the sound should be easy to do with wiremod, just (if your allowed to) copy the sounds from this addon to the servers sound folder and use wiremod's sound emitter, that should do it... ooh and Creator: nice script, i love this one, perfect for mineg traps or floating platforms and the like, this is a nice tool reminds me, need to fix my current "elevator" Good job on the script, hope to see more cool features for this handy tool but for now, great job
thank you. I will try that.
[QUOTE=S31-Anubis]thank you. I will try that.[/QUOTE] just wire the airbrake input to a constant value of 0 and it will have no effect on your contraption. I would love to remove the hoverball tool from our server and only have this.
The airbrake input for old adv's does not work anymore, so replace it :keke:
Does it just disable gravity for the prop it's welded to? Or anything else that it's attached to?
For all constrained props, probably including ones constrained to ones constrained to it and so on so forth
That's what I thought, but when I made a ship it sunk down on the side that I had all my life support stuff on.
Fucking spacebuild, you think you fixed it, but then another problem appears with an update from their side
I think it's safe to say that this tool wins the game. [b]EDIT:[/b] I found a bug: Weld 2 props together with a force weld, place a gravity controller on one of the props, activate it and break the weld, the one prop will continue to have no gravity, even when the controller is off and even when the controller is removed. No lua errors in console.
I know, if you remove the weld, the entity is not anymore in the "graventities-table". I have to find a way to turn its gravity off when constraint gets deleted.
Has anyone had any problems with this not working anymore after all the latest gmod updates? We can't get it to work on our servers, and I can't get it to work in Single Player. I even tried a fresh install of Garrysmod with no other addons. The weird thing is, is that any dupes I have that already have it spawned work ok, but trying to spawn a new one with the gravity controller stool doesn't work.
[QUOTE=DataSchmu;14113196]Has anyone had any problems with this not working anymore after all the latest gmod updates? We can't get it to work on our servers, and I can't get it to work in Single Player. I even tried a fresh install of Garrysmod with no other addons. The weird thing is, is that any dupes I have that already have it spawned work ok, but trying to spawn a new one with the gravity controller stool doesn't work.[/QUOTE] Doesn't work for me or on my servers anymore after the recent updates either.
Same here.
Welt, could you please fix this?
[QUOTE=Lord Hayden;14115753]Welt, could you please fix this?[/QUOTE] I second that. The problem is that the tool uses concommands which are now blocked.
But what for commands? Somehow when I want to select the STool, the whole STool-Command is blocked.
[QUOTE=WeltEnSTurm;14250254]But what for commands? Somehow when I want to select the STool, the whole STool-Command is blocked.[/QUOTE] I have the same problem here, I can't even select it.
[QUOTE=Colonel_Veer;14114171]Doesn't work for me or on my servers anymore after the recent updates either.[/QUOTE]
Yeah, the tool doesn't even come up.
Omg Welstrum! Yay! Side note: Animation's a verb? o.O
Go into the folder and find the word "toggle". Remove. Do that same inside the lua files. Anything with "toogle" in it's name will be blocked.
Seriously, that works? But couldn't you also just rename the file to 'corrupt' it? In otherwords, save it untill Welt fixes it?
Hell, that's easy. Never liked "gravtogglecontroller", changin to gravcontroller.
Fixed. :D
Yay! Is it uploaded?
Yay! I loved this. As Mooee said, is it uploaded?
Sorry, you need to Log In to post a reply to this thread.