Why are people so scared of additional dependencies? :?
LUA's light-weight and portable..
LUA for the HUD?
I have been playing around with the thought of using http://berkelium.org/ for HUD / menus recently, but I dont have the time to even try. Plus I doubt I know enough to sucesfully implemt it.
But being able to make menus or huds in HTML/CSS/Javascript would really lower the barrier. It would be nice for something like darkplaces where it chould have intergrated editors for particles or realtime lights (well a less console depent editior for the lights). (all most like an open source cross platform udk ).
But being able to make menus or huds in HTML/CSS/Javascript would really lower the barrier. It would be nice for something like darkplaces where it chould have intergrated editors for particles or realtime lights (well a less console depent editior for the lights). (all most like an open source cross platform udk ).
I've nothing against the concept aside from the fact that it's work I'd be unwilling to undertake without a serious push from a mod team behind it. Otherwise "hey everyone, my engine supports Lua" is a complete non-feature; a tick in a checkbox that means and achieves absolutely nothing useful.
Also the fact that implementing something like this is really only 10% of the work. The other 90% lies in defining interfaces between the scripting library and the rest of the engine code, figuring out where the walls that Thou Shalt Not Pass are, and working through all the weird little edge cases where things break down (don't kid yourself - they exist with everything).
Also the fact that implementing something like this is really only 10% of the work. The other 90% lies in defining interfaces between the scripting library and the rest of the engine code, figuring out where the walls that Thou Shalt Not Pass are, and working through all the weird little edge cases where things break down (don't kid yourself - they exist with everything).
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
The biggest problem to me is adding a new requirement (Lua knowledge) to modders. As mh said, the implementation itself wouldn't be nothing complicated - but doing something flexible enough / easy to use enough for the majority is another completely different beast.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)