Garry's Mod

Garry's Mod

Minigolf
27 条留言
joker  [作者] 9 月 8 日 上午 2:56 
Added new convar to manipulate the way players play at a hole: minigolf_hole_mode

* turn_based (default) : Players take turns playing the hole, finishing the hole before the next player can play.
* simultaneous : All players can play the hole at the same time.
* simultaneous_collide : All players can play the hole at the same time, their balls can collide.
* furthest_to_nearest : Players take turns, after which the player furthest from the hole plays next.
* furthest_to_nearest_collide : Players take turns, after which the player furthest from the hole plays next, their balls can collide.

Checkout CONFIGURATIONS.md on GitHub for more possible customization convars.

Please let me know on GitHub if you encounter any bugs.
joker  [作者] 9 月 7 日 上午 9:20 
The addon now has entities you can spawn to construct your own track:

1. Spawn and layout any props to build a track.
2. Spawn the Minigolf Start
3. Select your physgun to see where it is and move it
4. Use the context menu (C), right click the start and edit the configuration of it (change hole name, retry count, max pitch, etc.)
5. Spawn the Minigolf End
6. Use the context menu, right click on the end and edit the configuration of it - select the start hole you created.

After these steps you can go play the track.

See the video attached to this workshop listing for instructions on how to use the new entities.
joker  [作者] 9 月 7 日 上午 6:33 
@GHForever Good idea, I will implement that today.

@GEEKONErous yes
GEEKONErous 3 月 9 日 下午 1:04 
I love this! It's gonna get updated?
GHForever 2024 年 7 月 8 日 下午 10:24 
You should make assets to create custom courses while in sandbox
joker  [作者] 2024 年 3 月 18 日 上午 4:55 
@Allan11cmoi Thanks for the info :)
Allan11cmoi 2024 年 3 月 14 日 上午 8:03 
0/10 it don't work
joker  [作者] 2023 年 2 月 16 日 上午 11:55 
@kawolfe1891 I'll make a ticket to add a feature on our GitHub repo, but I don't expect to pick it up anytime soon. I haven't been active around Gmod very much. Maybe in a few months.

Until then you could use this command right after getting in-game: `lua_run Minigolf.Holes.CreateTimeLimit = function() end`

That command will just break the part that causes your attempts at the hole to end. The timer will still run on screen, but you can play forever (or until you run out of strokes).
kawolfe1891 2022 年 12 月 28 日 上午 11:16 
@joker what about singleplayer? i play it in singleplayer, and it's just annoying to have a timelimit.
joker  [作者] 2022 年 12 月 28 日 上午 5:20 
@kawolfe1891 HERE'S THE REASON::::::::: It is so a player can not keep a hole occupied. It gives other players a chance to play after a certain amount of time. The mapper can implement a time limit for a hole using the `limit` keyvalue on a minigolf_hole_start.
kawolfe1891 2022 年 12 月 26 日 下午 1:50 
WHY A TIMELIMIT?????
joker  [作者] 2022 年 8 月 15 日 下午 11:53 
Hey @Psychotrickser, thanks for your interest. And it is already a gamemode :) Once you subscribe to this a gamemode called Minigolf should appear in your gamemode menu.

Let me know if you're having trouble getting it to work.
Psychotrickser 2022 年 8 月 15 日 下午 10:55 
Make this a gamemode! :D
joker  [作者] 2022 年 7 月 23 日 上午 2:04 
@morsbane Hey, I'm sorry to hear you're having trouble. Could you help me identify the problem by answering the following questions please?
1. Do you see the arrow when aiming?
2. In what gamemode are you playing Minigolf?
3. Are there any script errors in your console?
4. If you aim in a direction (by moving your mouse) in which direction does it always go? Forward? Sideways? Different everytime?

If you have any more info that you think may be helpful, please do let me know and I'll try to help or create a bugfix.
morsbane 2022 年 7 月 22 日 下午 11:14 
it keeps going in one direction and i can't aim
joker  [作者] 2022 年 7 月 17 日 上午 7:44 
FYI: I fixed this addon not working in Singleplayer.

Additionally it's now possible to use this addon without having to start the Minigolf gamemode. Whether you are on Sandbox or DarkRP, as long as the map has Minigolf holes it'll work.
joker  [作者] 2020 年 12 月 24 日 上午 1:32 
Yeah I really need to fix that, the technical reason this happens now is that in the code I use hooks which are predicted so these aren't called correctly in Singleplayer (PlayerButtonDown and SetupMove).

Glad you enjoy the mod nonetheless!
Lancergaming 2020 年 12 月 23 日 上午 5:02 
ok it actually works in multiplayer but not in singleplayer for some reason
good mod tho i enjoy it
Lancergaming 2020 年 12 月 23 日 上午 4:59 
im tryin in singleplayer but i guess i should try in multiplayer alone
joker  [作者] 2020 年 12 月 23 日 上午 12:19 
Hmm, are you sure you are playing in Multiplayer-mode? Does the T-button for the Team menu work and PAGE UP and PAGE DOWN for adjusting force?

If the answer to above is all yes, do you have a high/low dpi or mouse scroll speed set for your device? Out of interest, what kind of mouse is it? I'm aware the sensitivity of the force adjustment with scrolling can differ per device and dpi/configured mouse scroll speed. I honestly haven't taken the time to look into fixing it yet
Lancergaming 2020 年 12 月 22 日 上午 10:50 
i cant use the scrollwheel to adjust the power of my shot
joker  [作者] 2020 年 12 月 16 日 上午 2:09 
Thanks all, enjoy it!
seacoastrn 2020 年 12 月 15 日 下午 5:34 
Your looking quite tasty today if i do say so myself
Zaccarry 2020 年 12 月 12 日 上午 11:44 
P Good
Paza 2020 年 12 月 9 日 下午 11:45 
'ta polenta
joker  [作者] 2020 年 12 月 9 日 下午 10:55 
Gracias!
Jud_Crandall 2020 年 12 月 9 日 下午 9:45 
'Ta bueno :sans: