Garry's Mod

Garry's Mod

30 arvostelua
gEvents [Base]
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Comic, Fun, Scenic
Tiedostokoko
Julkaistu
10.642 KB
29.12.2023 klo 21.25
1 muutos ( näytä )

Tilaa ladataksesi
gEvents [Base]

Kuvaus
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
Suositut keskustelut Näytä kaikki (3)
1
20.1.2024 klo 16.55
TÄRKEÄ: [Official gEvents Discussion] Bug & Error reports
E_Man
0
30.12.2023 klo 9.28
TÄRKEÄ: [Official gEvents Discussion] gEvent Development Help
E_Man
0
30.12.2023 klo 9.27
TÄRKEÄ: [Official gEvents Discussion] Suggestions
E_Man
12 kommenttia
NVVZ 6.4.2024 klo 23.29 
omaga
xcl0p 22.3.2024 klo 15.59 
this is very fun!!! i hope this gets more attention and content soon ...
E_Man  [tekijä] 5.1.2024 klo 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.1.2024 klo 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.1.2024 klo 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  [tekijä] 2.1.2024 klo 8.14 
Has anyone done anything yet?
Invader Zim 1.1.2024 klo 16.23 
fr
E_Man  [tekijä] 1.1.2024 klo 16.01 
zamn fr?
Invader Zim 31.12.2023 klo 20.46 
This is a W.
E_Man  [tekijä] 30.12.2023 klo 13.39 
and IT will be cool when people actually start developing using this base