[MOD Idea] FTL Advanced Modding API (Anyone know C/C++?)
Posted: Sat Sep 05, 2015 3:53 am
As some of you know, I just released a mod that removes the player ship limits, written in C++, and am currently working on a multiplayer mod.
As everyone here seems very interested in being able to create more advanced mods, which cannot currently be made with classical mod tools, I've got an idea to propose.
When I started working on my multiplayer mod, I also had a plan to write an open-source API in C++, for easily interacting with FTL. This would include simple methods for adding hooks to useful functions, and simple interfaces for interacting with FTL structures in memory. Later on, I was thinking of adding some scripting language such as Lua in order to make writing scripts for it somewhat easier, as C++ isn't exactly the simplest of languages.
I probably won't be working on that in any significant capacity till after the multiplayer mod is several months further in development. However, if someone around here is familiar with c/c++, I could probably write up enough methods for hooking functions and interacting with FTL's memory that they could write the rest.
This would allow modders to do many things, including but certainly not limited to:
custom races
Weapons that disable doors, or force them to open
more complex events
Shields that block projectiles based on complex conditions (e.g. only blocks missiles)
potentially adding new ship systems, or modifying how existing ones work
Maps that get modified as the user plays (e.g. only show beacons on the map that the user can currently move to)
Make shields use continuous values (e.g. shield at 100%, charges 10% per second, weapon X does 11.5% shield damage)
Modify how sectors work (e.g. be able to go to previous sector)
Modify which ship the user has (e.g. being able to steal enemy ships, or purchase a new ship)
pretty much any insane thing you could think of
So, is there anyone out there with C/C++ experience who would want to help make this?
*edit*
GitHub:
https://github.com/BrydenFrizzell/FTLAPI
As everyone here seems very interested in being able to create more advanced mods, which cannot currently be made with classical mod tools, I've got an idea to propose.
When I started working on my multiplayer mod, I also had a plan to write an open-source API in C++, for easily interacting with FTL. This would include simple methods for adding hooks to useful functions, and simple interfaces for interacting with FTL structures in memory. Later on, I was thinking of adding some scripting language such as Lua in order to make writing scripts for it somewhat easier, as C++ isn't exactly the simplest of languages.
I probably won't be working on that in any significant capacity till after the multiplayer mod is several months further in development. However, if someone around here is familiar with c/c++, I could probably write up enough methods for hooking functions and interacting with FTL's memory that they could write the rest.
This would allow modders to do many things, including but certainly not limited to:
custom races
Weapons that disable doors, or force them to open
more complex events
Shields that block projectiles based on complex conditions (e.g. only blocks missiles)
potentially adding new ship systems, or modifying how existing ones work
Maps that get modified as the user plays (e.g. only show beacons on the map that the user can currently move to)
Make shields use continuous values (e.g. shield at 100%, charges 10% per second, weapon X does 11.5% shield damage)
Modify how sectors work (e.g. be able to go to previous sector)
Modify which ship the user has (e.g. being able to steal enemy ships, or purchase a new ship)
pretty much any insane thing you could think of
So, is there anyone out there with C/C++ experience who would want to help make this?
*edit*
GitHub:
https://github.com/BrydenFrizzell/FTLAPI