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 next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
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

Re: LuaPlugin [message #283424 is a reply to message #271146] Mon, 10 September 2007 08:53 Go to previous message
silentevil is currently offline  silentevil
Messages: 94
Registered: April 2005
Location: Germany Hamburg
Karma: 0
Recruit

hey
please updatet it for the new ssgm

greatz miklo Big Grin
Previous Topic: Renegade Launcher
Next Topic: Brenbot 1.52 released
Goto Forum:
  


Current Time: Thu Nov 21 03:49:30 MST 2024

Total time taken to generate the page: 0.00582 seconds