Page 1 of 1

Examples of exceptionally well-coded mods?

Posted: Thu Apr 20, 2023 2:30 am
by hoylemd
Hey folks,

I've been wanting to get more into modding lately, and I learn best by analyzing examples, so I'm looking for some examples of especially well-implemented mods that I can learn best practices and higher-level design from - I already know basic lua and programming, I really just need examples to dig into and play around with to get me up to speed.

UI-heavy mods would be especially helpful, as that's where my current interests lie, but anything you consider to be a good example of modding code would be hepful. I'm aware that can be subjective, but that's why I'm asking here instead of trying to determine that on my own. Your opinion is what I'm looking for, not objective truth.

(alternatively, if you work on a mod and have some good small tasks for a modding newbie with pretty good general programming skills, those would also be welcome as excercises :D)

Thanks!

Re: Examples of exceptionally well-coded mods?

Posted: Thu Apr 20, 2023 5:55 am
by Stringweasel
Raiguard most likely makes the best and most performant UI mods. It looks sleek, it's easy to use, and super optimized. Note: they mosly use the flib library, which is also written by raiguard.

So things like Recipe Book, Rate Calculator etc.

Definitly a good place to start.

Re: Examples of exceptionally well-coded mods?

Posted: Thu Apr 20, 2023 5:58 am
by Stringweasel
There's also this tutorial to get you started on the basics:
https://github.com/ClaudeMetz/UntitledGuiGuide

Re: Examples of exceptionally well-coded mods?

Posted: Thu Apr 20, 2023 11:53 am
by hoylemd
Thanks, I'll check that out.

It's ironic you're recommending Raiguard's mods, actually. I wanted to contribute to one of them and was asking about it on github but they said they wanted to completely refactor them. Makes sense though - the better a software engineer is, the more likely they won't be satisfied with their past work, even if it's already above-average!

Re: Examples of exceptionally well-coded mods?

Posted: Thu Apr 20, 2023 11:58 am
by Stringweasel
Raiguard is known rewrite their mods every now and again. Or even rewrite other peoples mods :P