[Rewrite] Plugin To Gimp Wiremod/Starfall
Some high-level documentation on this has been done here: https://gitlab.h08.us/Hob-Co/spacecombat2-ce/wikis/concept-targeting
We've been discussing this sporadically with a recent flare-up in the conversation this past week, so it's probably time for a gitssue. With the PluginSys now in place, we need a Plugin to be created that will go and inject modified versions of Entity Discovery and Movement functions into the Expression 2 and Starfall function registries, so we can actually balance this gamemode properly.
@Divran pointed out that, with E2, this can be achieved by overwriting functions in the wire_expression2_funcs
table (as seen here), though I'm curious if just calling registerFunction()
can overwrite it. Also, we'll need a way to add our code back in, should wire_expression2_reload
ever get called. I'm not sure how this would be done just yet, but perhaps there's an event that I've not seen that we can hook.
This should be a Plugin, so server admins can disable this "feature" at will.
Tasks:
-
E2 Entity Discovery. -
E2 Entity datatype (so you can't just do Target = entity(<ID From Looking At NADMOD>)
). -
E2 ApplyForce, SetVelocity, SetPos, etc on Cored entities; optional. -
Starfall versions of the above.