Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Renegade Community News » LuaPlugin
LuaPlugin [message #271146] Fri, 06 July 2007 03:54 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
The LuaPlugin is a plugin for SSGM (Server Side Game Manager). It parses a scripting file (luaplugin.lua).

It can be edited with a text editor, so you don't need to compile it (unlike C++). It is very simple to learn, with a VB style syntax. It is very fast, because it is a compile at runtime language.

What i have done in the plugin is allow the code inside scripts.dll (C++) be called from your Lua scripts. Because Lua is a language in itself, this makes the possibilities for the scripting you could do with it endless. With it, you can add your own !fly !buy !build commands and more. Not only just commands, but you can do Level Edit work in this scripting too.

It has most of the "hooks" in scripts.dll that give you information about: player join, player leave, chat message, host message, console message, level loaded, level ended and more.

Someone is already writing a whole regulator in this powerful language.

For any questions you might have, visit: http://forums.dcomproductions.net/viewforum.php?f=14
Download: http://forums.dcomproductions.net/viewtopic.php?f=14&t=7

[Updated on: Fri, 06 July 2007 03:58] by Moderator

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Renegade Launcher
Next Topic: Brenbot 1.52 released
Goto Forum:
  


Current Time: Fri Jul 19 07:58:45 MST 2024

Total time taken to generate the page: 0.00769 seconds