Does the FF Lua script support read/write?
I tried using various methods of opening files in the Lua script, but seen as there's about 5 different methods of doing it in different programs using Lua, it's probably better to just ask.
If there is file support, what are the commands, and if there isn't, will we ever see it exist? If it existed, it'd mean that Lua scripts can actually permanently save settings and the like, rather than them resetting to defaults every map change. :P Making plugins would be much more viable with an easier way of changing settings in a file, as well as the ability for stuff to be changed in-game. A few examples:
Overall, adding file support gives the Lua script almost the same amount of flexibility as the actual game's code itself. |
I actually added this in 2.44 but no one's used it yet afaik.
Quote:
|
That's really quite awesome.
Sucks that it's not easily editable like a .cfg though. But it's easy enough to add chat commands to allow admins to change options, etc. (why do i always look for things on the wiki and think its updated when it never is :P) (now to add it to the wiki so next time i search for it its there) http://www.fortress-forever.com/wiki...ving_functions :D |
All times are GMT. The time now is 08:13 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.