Exposing your Assets and Scripts etc ... for modability ??

hmm its been a little while since i looked into this in-depth

last time i tried to look into it, i found my best way to make a moddable game is to make all my stats and variable things exposed via .xml , and use asset bundles to expose meshes and textures to end-user modability (never got around to fully completing asset bundle system … the documentation was crap at the time and i moved on with stuff (the docs are better now i seen, but i didnt go back to that exactly yet) … i had it working a little, but not complete…)

have things changed at all?

or am i even dumb? … that theres some way you can just leave your “compiled” ? game exposed ?
(lol i havent looked much into what compiling your game even does exactly:sweat_smile:)

i mean like … guess i could distribute my source??? but that seems a little dumb ?? … really, its just not user friendly …

or theres a post talking about unity asset extractor tool, should i distro that with my game maybe?

… it sucks making my game moddable ends up adding an extra, like 6months - year ?? of dev time to it… gotta make sure EVERYTHING is hooked to .xml and stuff… :confused:
but
MODDING IS A MUST!:rage:… a game without mods = trash game 0/10 , noob devs, no buy…
(i come from modding, modded at least a little like 20+ games or something… not counting…)

i mean i could have it pay and source access alongside it …

but i mean id get people ripping it off like crazy, cause people are animals and all…
but i mean, also i dont REALLY care about all that jazz… but … then … i guess… i do?.. lool

computer law is dumb, id distro my game for free & open source if i didnt need money… but i mean, i need money so whatever i guess…
i always thought people wanting attribution (like CCatr) was really dumb, a really low-life trait of people…
i mean like, back in the day of modding, there used to be like tons of mod compilations, and no1 ever asked permission, it was all in the pursuit of making a game funner, but some year that changed and its like "ooh duur you gotta ask username “453433asda” for permission … LOL asif 453433asda is gonna be the next michael jackson or somecrap lulul … it just seemed SOO STUPID (internet, and gaming was MUCH better back then… well except it was like 56k dialup lol)
… stupid lawyer crap, i dont take kindly to them types … lulul
GAMES ARE FOR FUN NOOBS!! NOT LAWYER CRAP!!!
for real!!

Not all games need to be moddable. But having a game moddable is a way to keep your fanbase interested in the game for a longer time than just vanilla content would do.

If you want to make your game moddable i think taking the Rimworld route is ideal. Definition based system that use XML and Reflection to tie together data. Learnt how to make my own solution of the Rimworld Def system in a matter of days from not having any idea how the black magic of Reflection and Assemblies work.
The Def system may be overkill though if all your game need to change are a few values.

As for modding it is best to take it into account very early on in the game design. Sure will save a lot of headache.

2 Likes

cool thanks for the tip

yeah i figured out xml and built all the like databases from it right away

my whole project is all about overkill
well… iam not shooting for like AAA graphics or anything at least LOL

Look at creating injectable modules.

Read up on Inversion of Control and Dependency Injection concepts in C#