Devilutionx: Any chance for a LUA framework?

Created on 22 Mar 2019  路  6Comments  路  Source: diasurgical/devilutionX

Hello, are there any plans to add a LUA (or another language) framework to DevilutionX so that we can customize what is shown on the screen? This would allow us to create custom HUDs (somewhat similar to THUD in D3).

I think some work on it started here: https://github.com/szymski/devilution_lua
But I'm guessing it was dropped.

enhancement help wanted

Most helpful comment

It's something we are considering but no plans have been made at this point. It would probably come some time after porting to 64bit and cleaning up the render.

All 6 comments

Was hoping for something like this, too. Thanks for sharing that there is at least a first prototype!

It's something we are considering but no plans have been made at this point. It would probably come some time after porting to 64bit and cleaning up the render.

We have decided that LUA will be the supported scripting/modding language.

We would like to make Hellfire via LUA as a proving ground. Any help to this end this would be appropriated.

Chiming in. I mentioned https://github.com/ThePhD/sol2 on the discord. not sure it fits the bill in terms of language dependency (this requires C++17) but it's a rather efficient wrapper for LUA and allows for a lot of easy bindings.

If this is something that may be of interest, I can tackle on integrating it in a branch and starts playing around moving non-logic bits of the game into LUA scripts as a first proof of concept.

I've just got to say this, even though has no technical relevance, but _everyone_ in the ticket has got it wrong thus far - Lua is not an acronym. It's not "LUA", it's "Lua". And it is awesome, good choice :-)

Portuguese for "moon" apparently :shrug:

Wrong HERE

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cain05 picture cain05  路  18Comments

rsn8887 picture rsn8887  路  14Comments

ctrl-meta-f picture ctrl-meta-f  路  30Comments

mbreskovec picture mbreskovec  路  49Comments

baszczewski picture baszczewski  路  15Comments