Skip to content

Automatic mod creation? (At the least of small add-ons)

shevy123456shevy123456 Member Posts: 265
edited October 5 in BGII:EE Mods
There is the upcoming creativity challenge here:

https://www.gibberlings3.net/forums/topic/38732-2024-baldur’s-gate-community-creative-craziness-challenge/

by CamDawg and perhaps others.

One focus, if I understood it correctly, was on creating items. That's actually something I'd like to do if I have more time again (right now reallife time constraints are really taking a toll, so I can not even do any test-runs in regards to BG2), e. g. to create an item mod from scratch, though it will probably mimic an already existing item mod. Ideally I just want to use one item mod actually, as I found a few incompatibilities, or also overpowered items which are then too hard to resist NOT picking these items up and using them.

So I was thinking ... do we have any tools we could use to automatically create a mod?

I am not necessarily asking for advanced things in such tools, but really just basic things.

For instance:

- Say I want to add a raven figurine into the game.
- For simplicity, I want to just add it to Ribald's default inventory.
- Cost etc... is all known to me; I can specify that into a file, say a .yml file.
- Image can be supplied, for instance, via AI, and then grey that image, as most items by default seem to have some weird default gray "shortcut" + item description. Description can also be provided by the user.
- Upon use, it does some effect. Ideally we could have a set of functions that we can call (for instance, "improve dexterity by +1 for 12 hours", or something like that). For simplicity, using this figurine simply summons a cute little black raven who hops about. We could also probably re-use existing code; I think argent77 has that weird exotic pet you can buy from the mysterious store (or whatever the name was, of that dwarf guy selling unique items near Ribald, outside of Ribald, and elsewhere).


So, basically, to be able to provide all that information, but then let that tool create an "item mod" just for that single item.

It is probably trivial to do for any expert modder, but I am asking here mostly for things that automate this process for us. Again, just the simple effects.

This can be a commandline tool, able to read from some local file; and perhaps used in an interactive manner too, e. g. "Provide the path to the grey-scaled image: " and then asking for input. It could also be a GUI, but I think a combination of commandline + GUI would be perfect.

Does anyone know of such a tool?

Argent77 has a few tools in this regard, such as https://github.com/InfinityTools/WeiduModPackager, but I think this one is just for creating mods in general, not necessarily an "automatic content-generation mod". That autogeneration need not be perfect, but could just generate a skeleton of things the user could fill in manually. (I am aware we can re-use existing mods and adapt them, but ideally I'd like to see some automation that perhaps someone else has already started to write.)
Sign In or Register to comment.