Garry's Mod

Garry's Mod

Offset hoverballs
32 Comments
Gary Man 9 Oct @ 2:58am 
Cool mod tbh
Gary Man 9 Oct @ 2:57am 
I hated when I couldn't move hoverballs for my cool rc nuke project that flies
boogie Brando 1 Jan @ 9:22pm 
the vanilla hoverball tool should've just been this from the very beginning, as someone who's completely illiterate at programming, i hated having to resort to wiremod just to get a working offset hoverball.
ellen61788 16 Apr, 2024 @ 10:38pm 
you fly? water?
ok:steamthumbsup::steamhappy:
Sony  [author] 16 Jan, 2024 @ 3:02pm 
@Marum - Glad you like it! And thank you for making the OG version! ;)
Marum 16 Jan, 2024 @ 1:35pm 
This is awesome, thanks for making it!
Sink 21 Dec, 2023 @ 5:19am 
i thibkj parent mode
Sony  [author] 21 Dec, 2023 @ 5:14am 
@Snek - Well that's a new one. When does this happen, after a dupe?
Are you using weld or parent mode to attach the hoverballs?
Sink 21 Dec, 2023 @ 5:04am 
the balls keep detachting from my creations :steamfacepalm:
[Sk$Bh]Trick or treat KID!  [author] 27 Oct, 2023 @ 6:11am 
@Sony

Try this: https://github.com/Sony-dev/Offset-Hoverballs/pull/28

We have to make shure nil is assigned. Lua will garbage collect all table members if they are not referenced anyway 😀
Sony  [author] 20 Oct, 2023 @ 7:18pm 
@Dexious Emera - Thank you for letting me know!
Odd that it only seems to happen with the default gmod duplicator tool and not Adv dupe 1/2.
Applied an experimental fix that hopefully should solve the problem. Please let me know if you run into any other issues. :steamthumbsup:
Dexious Emera 20 Oct, 2023 @ 4:15pm 
Updating/creating an offset hoverball with all the options ticked does not have the same issue, this happens when i have "hovers over entities/props" unticked
Dexious Emera 20 Oct, 2023 @ 4:10pm 
[Offset hoverballs] lua/includes/extensions/table.lua:54: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. Empty - lua/includes/extensions/table.lua:54
3. UpdateFilter - lua/entities/offset_hoverball/init.lua:80
4. PostEntityPaste - lua/entities/offset_hoverball/init.lua:482
5. oldPaste - lua/includes/modules/duplicator.lua:834
6. Paste - lua/wire/server/wirelib.lua:1403
7. LeftClick - gamemodes/sandbox/entities/weapons/gmod_tool/stools/duplicator.lua:63
8. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:226

got this while attempting to spawn a dupe with this, causes the dupe to fall apart with all welds, wires, etc undone
Sony  [author] 10 Oct, 2023 @ 10:07pm 
@Toyotaboy - Thanks for the heads up, I've had a bit of a tinker and the wiremod connections should save properly now.
Duplicating wired OHBs seems to work fine on my end during tests, but please do let me know if any other bugs appear. :)
Toyotaboy 10 Oct, 2023 @ 3:20pm 
I'm having problems with wire-mod not working also not saving my wires from the hover-balls with advance dupe 2.
[Sk$Bh]Trick or treat KID!  [author] 27 Sep, 2023 @ 11:32am 
@Sony

It seems to me the weapon is not validated. Try this:
https://github.com/Sony-dev/Offset-Hoverballs/pull/23
Sony  [author] 26 Sep, 2023 @ 10:02pm 
@Redox - Just updated the Steam release to the latest GitHub version.
There's been quite a few revisions between the releases, so hopefully that bug was squished in one of them.
Please do let me know if it happens again, or if any new issues pop up.
Cheers
Redox 26 Sep, 2023 @ 10:51am 
CL error some clients get

[ERROR] lua/entities/offset_hoverball/cl_init.lua:152: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. DrawLaser - lua/entities/offset_hoverball/cl_init.lua:152
3. Draw - lua/entities/offset_hoverball/cl_init.lua:236
4. unknown - gamemodes/base/entities/entities/base_anim.lua:49


I think its just a simple IsValid( ball ) instead of ball:IsValid()
Sony  [author] 24 Aug, 2023 @ 9:38am 
Oh absolutely, will add you to the contributors thing now.
Forgot Steam even had such a function as I've never actually used it before. ;)
[Sk$Bh]Trick or treat KID!  [author] 24 Aug, 2023 @ 4:41am 
Hey, I am ready with the untangling the information balloon.
https://github.com/Sony-dev/Offset-Hoverballs/pull/13

Coded standard API so if something specific is needed, just change the API call
You can also add me to contributors if you like ;)
Redox 9 Aug, 2023 @ 6:36pm 
Thanks!
Sony  [author] 7 Aug, 2023 @ 4:31pm 
@Redox - I've added some extra checks to try and resolve the errors, unfortunately I have no way to test things in multiplayer, so please do let me know if the issue persists!
Redox 5 Aug, 2023 @ 11:54am 
Players sometimes get this clientside error, i'm not sure how to replicate it but it should be a simple fix.

[ERROR] lua/entities/offset_hoverball/cl_init.lua:43: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. DrawLaser - lua/entities/offset_hoverball/cl_init.lua:43
3. unknown - lua/entities/offset_hoverball/cl_init.lua:128
Sony  [author] 7 Feb, 2023 @ 4:18pm 
@Redox - You're right, apparently I just forgot to update the Github.
Fixed it now, thanks for reminding me!
Redox 7 Feb, 2023 @ 3:26pm 
Is the code on github not the same as the addon? The github code has no mention or support for wire
Niterux 7 Jul, 2021 @ 12:23pm 
Thanks <3
Sony  [author] 6 Jul, 2021 @ 7:31pm 
@pippi - I have reworked some things so now the hoverballs should act as you describe.
Please let me know if there are any problems with the change. ;)
Niterux 5 Jul, 2021 @ 4:39pm 
pls make it so you don't have to spam the up and down keys and instead just hold them 🥺
vs. joystick 3 Jun, 2021 @ 10:07am 
i hope you will not put it down?
Fasteroid 31 May, 2021 @ 12:24pm 
these look hot
Sony  [author] 31 May, 2021 @ 12:10pm 
All the demo images are from a sandbox map called 'BlueHills' - Workshop link
Mikey 31 May, 2021 @ 11:57am 
Awesome, also what's the map you are using in the first two images?