Moving LUPS/Chilli/FeaturePlacer to Mod-Inspecific Libraries

Moving LUPS/Chilli/FeaturePlacer to Mod-Inspecific Libraries

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Moving LUPS/Chilli/FeaturePlacer to Mod-Inspecific Libraries

Post by MidKnight »

What do you guys think of developing these projects (and others like them) as dependency files that games can depend on?

Some advantages would be that
- multi-game players would only need one copy of a file (unless a game specifically uses an old version),
- moddevs would have an easier time implementing these technologies,
- "custom made" stuff stays separate from the base Lua, and
- the files won't be entangled and scattered throughout a mod.

Some disadvantages are that
- library updates might break things for some games,
- library devs would have to be more conservative with breaking backwards-compatibility,
- the initial effort would have to be put in to separate the mod-specific code,
- files would be scattered between general stuff in the lib and mod-specific modifiers in the mod, and
- rapid would have to be edited if we want seamless library updates.

So, do the advantages outweigh the risks? How do people feel about this idea? Can it even be done?

EDIT: Now in easier-to-read bulleted list format!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Moving LUPS/Chilli/FeaturePlacer to Mod-Inspecific Libraries

Post by smoth »

I am fine with feature placer becoming part of spring. The base placer is fine.

I need to make clear names though because I have two projects:

1) the actual feature placer

2) the mod option to place features.

project 1 has not been touched for some time and all I really have to do is add support for neutral/hostile units.

project 2 will eventually become a standalone project with its own ui and I intend on creating a feature library file. The delay on this is that I want more features in it. I don't feel project 2 belongs with the engine persay but as a seperate tool. If the devs would be open to me adding it to spring as part of the source as an available tool I don't mind if others tweak the code as needed as long as they are not going to shit up the code.

Project 2 also has many features I need to add in. I hope that project 2 + quantums missions + z's menu + chilli can finally give me the way to pull of the single player experience i want to. Which is why project 2 is tied to gundam and I have been updating evo and cursed wrt to the fp actual placer
Post Reply

Return to “Lua Scripts”