I am interested in creating a game that will encourage (or even teach) people to code as a gameplay mechanic. For example, imagine a Diablo 2 (or 3) style game where your follower could be fully scripted (client-side).
The player could modify their scripts while in town, then venture into combat areas and exploit synergies they designed between their player-controlled character. The player-customized AI agent would have a level of information about the world and autonomy of action that is usually only available to people using hacks to run bots (they would of course be still limited by server-side validation).
I would like to even include player-customizable UI scripting, so they can further exploit/visualize the information available to them.
Is this possible in UE4? How would I approach it? If it is not yet possible, what can I do to help make it possible?
I have read some about the Lua scripting possibilities in UE4, but that seems to be designed to facilitate developers or augment blueprints. Can this type of scripting interface be made accessible to the end-user during gameplay?
Exactly! Maybe you remember the JED and ofc the D2JSP bot scripts? Once you got bored from the repetitive gameplay you could always begin tweaking a bot via scripts. This was incredible fun, and there were various kinds of scripts, not only follower scripts. Think leveling, player attack, farming, trade etc. This will be a next gen gameplay feature, i’m pretty sure.
I doubt that it will be mainstream in the future, ever. There is no reasonable way to make that sort of programming as accessible as would be needed. Even if you had all the convenience features / functions in the world, enough people would be put off by the sort of careful, logical thinking necessary that it would be written out of the mainstream. That said, I am not trying to make a mainstream AAA game.
I also think that making it easier for players to run their own bots legitimately will create a more level economic playing field, but may require some novel restrictions/incentives to keep 100% of the player base running scripts 24/7.