Garry's Mod

Garry's Mod

30 betyg
gEvents [Base]
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun, Scenic
Filstorlek
Lades upp
10.642 KB
29 dec, 2023 @ 21:25
1 ändringsnotis ( visa )

Abonnera för att ladda ner
gEvents [Base]

Beskrivning
gEvents [Base]

What did I create now?

I made this Base in some days because I was bored. Some mfs made me feel bad about myself so I said to myself, "Why not create another addon to distract myself?" and here we are. You are reading this and I am proud of an addon that is not gonna get any popularity anytime soon.




What is this addon?

gEvents is an addon for sandbox that will execute random events every time the cooldown is complete. You can either become the patient zero of a zombie outbreak and kill everyone you see, or become a glass gordon freeman that plays Half-Life 2 music in the background. Really, some of the posibilities are endless.




Base costumization

The base comes with some costumization like being able to enable and disable some events, how long will the event cooldown last or if the base itself should be active. Here are the ConVars to some of them:

  • gevents_allowed (0 / 1) | Should the gEvents base be active?
  • gevents_cooldown (Number) | How long will it take until another event is executed?




gEvents

gEvents (garry's Events) are as its name indicates, events. These events might be able to do various things like teleport people to random places. This depends on how the gEvent is structured. Every gEvent haves its own ConVar (Default gEvent's ConVars beginning with gevent_event_) and also accessible from the spawnmenu gEvents tab.




Base gEvents

The addon comes with 4 example events (For now) to show users what they might be capable of doing with this addon.

  • gevent_event_zombie_outbreak
  • gevent_event_emonk
  • gevent_event_gfree
  • gevent_event_zombie_outbreak




Developing & Creating my own gEvents

To create gEvents, you must have a basic understanding of gLua. If you're a starter, I'd recommend visting the gMod Wiki[wiki.facepunch.com].

For people who are already experienced gLua developers:

To create a gEvent, create a file that is shared between the Client and Server realms. The gEvent structure is in the documentation.

Documentation: https://sites.google.com/view/gevents-documentation/home

When developing your gEvents, this addon right here might come in handy:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3128962145

NOTE: THIS BASE USES A MODULE CALLED gevents. IF THE FUNCTIONS DOESN'T WORK, TRY USING require("gevents") TO BE ABLE TO USE THE gevents.AddgEvent().




Conclusion

This is a really weird addon to be honest. Probably you have never seen something like this anywhere in the workshop, and I don't really think this is getting popular. Just another useless, bad addon I made... Anyway, if you think my bad work is actually worth something, please favourite it and give it a like! It would really help me! Anyway, thank you for reading this, and good bye!

tags: event, garrys, random, cooldown, timer, custom, base, modularity, module, customizable
Populära diskussioner Visa alla (3)
1
20 jan, 2024 @ 16:55
KLISTRAD: [Official gEvents Discussion] Bug & Error reports
E_Man
0
30 dec, 2023 @ 9:28
KLISTRAD: [Official gEvents Discussion] gEvent Development Help
E_Man
0
30 dec, 2023 @ 9:27
KLISTRAD: [Official gEvents Discussion] Suggestions
E_Man
12 kommentarer
NVVZ 6 apr, 2024 @ 23:29 
omaga
xcl0p 22 mar, 2024 @ 15:59 
this is very fun!!! i hope this gets more attention and content soon ...
E_Man  [skapare] 5 jan, 2024 @ 19:54 
Im actually surprised I got to finish this one. I usually always abandon my projects, no matter how much progress or ambitious it is.
POOJ_ 4 jan, 2024 @ 20:07 
YES!!! I've worked on a chaos-esque addon (with modularity and support for custom events, of course), but I never quite finished any of the UI code. Glad to see somebody actually did one!
The Đoctor 4 jan, 2024 @ 11:20 
I could see some potential for this in RP servers. Random events so that GMs don't have to do them.
E_Man  [skapare] 2 jan, 2024 @ 8:14 
Has anyone done anything yet?
Invader Zim 1 jan, 2024 @ 16:23 
fr
E_Man  [skapare] 1 jan, 2024 @ 16:01 
zamn fr?
Invader Zim 31 dec, 2023 @ 20:46 
This is a W.
E_Man  [skapare] 30 dec, 2023 @ 13:39 
and IT will be cool when people actually start developing using this base