Garry's Mod

Garry's Mod

Offset hoverballs
32 kommentarer
Gary Man 9. okt. kl. 2:58 
Cool mod tbh
Gary Man 9. okt. kl. 2:57 
I hated when I couldn't move hoverballs for my cool rc nuke project that flies
boogie Brando 1. jan. kl. 21:22 
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 kl. 22:38 
you fly? water?
ok:steamthumbsup::steamhappy:
Sony  [ophavsmand] 16. jan. 2024 kl. 15:02 
@Marum - Glad you like it! And thank you for making the OG version! ;)
Marum 16. jan. 2024 kl. 13:35 
This is awesome, thanks for making it!
Sink 21. dec. 2023 kl. 5:19 
i thibkj parent mode
Sony  [ophavsmand] 21. dec. 2023 kl. 5:14 
@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 kl. 5:04 
the balls keep detachting from my creations :steamfacepalm:
[Sk$Bh]Trick or treat KID!  [ophavsmand] 27. okt. 2023 kl. 6:11 
@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  [ophavsmand] 20. okt. 2023 kl. 19:18 
@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. okt. 2023 kl. 16:15 
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. okt. 2023 kl. 16:10 
[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  [ophavsmand] 10. okt. 2023 kl. 22:07 
@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. okt. 2023 kl. 15:20 
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!  [ophavsmand] 27. sep. 2023 kl. 11:32 
@Sony

It seems to me the weapon is not validated. Try this:
https://github.com/Sony-dev/Offset-Hoverballs/pull/23
Sony  [ophavsmand] 26. sep. 2023 kl. 22:02 
@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 kl. 10:51 
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  [ophavsmand] 24. aug. 2023 kl. 9:38 
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!  [ophavsmand] 24. aug. 2023 kl. 4:41 
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 kl. 18:36 
Thanks!
Sony  [ophavsmand] 7. aug. 2023 kl. 16:31 
@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 kl. 11:54 
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  [ophavsmand] 7. feb. 2023 kl. 16:18 
@Redox - You're right, apparently I just forgot to update the Github.
Fixed it now, thanks for reminding me!
Redox 7. feb. 2023 kl. 15:26 
Is the code on github not the same as the addon? The github code has no mention or support for wire
Niterux 7. juli 2021 kl. 12:23 
Thanks <3
Sony  [ophavsmand] 6. juli 2021 kl. 19:31 
@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. juli 2021 kl. 16:39 
pls make it so you don't have to spam the up and down keys and instead just hold them 🥺
vs. joystick 3. juni 2021 kl. 10:07 
i hope you will not put it down?
Fasteroid 31. maj 2021 kl. 12:24 
these look hot
Sony  [ophavsmand] 31. maj 2021 kl. 12:10 
All the demo images are from a sandbox map called 'BlueHills' - Workshop link
Mikey 31. maj 2021 kl. 11:57 
Awesome, also what's the map you are using in the first two images?