Garry's Mod

Garry's Mod

Offset hoverballs
30 Comments
boogie Brando Jan 1 @ 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 Apr 16, 2024 @ 10:38pm 
you fly? water?
ok:steamthumbsup::steamhappy:
Sony  [author] Jan 16, 2024 @ 3:02pm 
@Marum - Glad you like it! And thank you for making the OG version! ;)
Marum Jan 16, 2024 @ 1:35pm 
This is awesome, thanks for making it!
Sink Dec 21, 2023 @ 5:19am 
i thibkj parent mode
Sony  [author] Dec 21, 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 Dec 21, 2023 @ 5:04am 
the balls keep detachting from my creations :steamfacepalm:
[Sk$Bh]Trick or treat KID!  [author] Oct 27, 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] Oct 20, 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 Oct 20, 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 Oct 20, 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] Oct 10, 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 Oct 10, 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] Sep 27, 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] Sep 26, 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 Sep 26, 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] Aug 24, 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] Aug 24, 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 Aug 9, 2023 @ 6:36pm 
Thanks!
Sony  [author] Aug 7, 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 Aug 5, 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] Feb 7, 2023 @ 4:18pm 
@Redox - You're right, apparently I just forgot to update the Github.
Fixed it now, thanks for reminding me!
Redox Feb 7, 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 Jul 7, 2021 @ 12:23pm 
Thanks <3
Sony  [author] Jul 6, 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 Jul 5, 2021 @ 4:39pm 
pls make it so you don't have to spam the up and down keys and instead just hold them 🥺
joystick_on^ Jun 3, 2021 @ 10:07am 
i hope you will not put it down?
Fasteroid May 31, 2021 @ 12:24pm 
these look hot
Sony  [author] May 31, 2021 @ 12:10pm 
All the demo images are from a sandbox map called 'BlueHills' - Workshop link
Mikey May 31, 2021 @ 11:57am 
Awesome, also what's the map you are using in the first two images?