Are there any (space/flying/driving) games where the player can customize the mapping between player controls and the input to the vehicle actuators/engines programmatically?
I.e. games where the control system in the diagram below is replaceable by custom code.
---------------- ---------------
Player input -> | Control system | --Vehicle input--> | Vehicle model | -+-> Vehicle motion
---------------- --------------- |
^ |
| |
+------------Feedback (optionally)---------------+
I've been thinking about this on and off for some years, but never found it implemented. However, I recently found out that Star Citizen plans to implement this to some extent.
I'm curious to see what would happen if a game only imposed physical models of vehicles and let players choose how to setup the control systems.
For example, in spaceflight games the default could be a mode where say the roll is automatically stabilized, players could then modify this code to instead take full control over the thrusters, or just tune the aggressiveness of the stabilization down a notch.
I imagine some hardcore players would really like this, and it would be cool if players started sharing/trading settings to tune their ships. Maybe even making it possible to trade control systems as in-game items. (This seems to be what SC envisions.)
A more extreme version would be if sufficient signals where exposed via an external interface, so you could write complete autopilots in your language of choice. I would love to teach automatic control using such a game.
I hope this is on topic, seemed the best fit.