Garry's Mod

Garry's Mod

30 ratings
gEvents [Base]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun, Scenic
File Size
Posted
10.642 KB
29 Dec, 2023 @ 9:25pm
1 Change Note ( view )

Subscribe to download
gEvents [Base]

Description
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
Popular Discussions View All (3)
1
20 Jan, 2024 @ 4:55pm
PINNED: [Official gEvents Discussion] Bug & Error reports
E_Man
0
30 Dec, 2023 @ 9:28am
PINNED: [Official gEvents Discussion] gEvent Development Help
E_Man
0
30 Dec, 2023 @ 9:27am
PINNED: [Official gEvents Discussion] Suggestions
E_Man
12 Comments
NVVZ 6 Apr, 2024 @ 11:29pm 
omaga
xcl0p 22 Mar, 2024 @ 3:59pm 
this is very fun!!! i hope this gets more attention and content soon ...
E_Man  [author] 5 Jan, 2024 @ 7:54pm 
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 @ 8:07pm 
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:20am 
I could see some potential for this in RP servers. Random events so that GMs don't have to do them.
E_Man  [author] 2 Jan, 2024 @ 8:14am 
Has anyone done anything yet?
Invader Zim 1 Jan, 2024 @ 4:23pm 
fr
E_Man  [author] 1 Jan, 2024 @ 4:01pm 
zamn fr?
Invader Zim 31 Dec, 2023 @ 8:46pm 
This is a W.
E_Man  [author] 30 Dec, 2023 @ 1:39pm 
and IT will be cool when people actually start developing using this base