Jump to content

HI, lua models


Dookie

Recommended Posts

Hi everyone, first of all sorry for being so boring, and posting so much threads.

 

Well here is my question.

 

Currently ive got this in my cfg considered with lua.

 

//
// Lua API
set lua_modules "spec.lua"
set lua_allowedModules ""
 
Now i want to add some more lua modules like auto promotion and custom votes. Do I add those other lines in this present set lua_modules "spec.lua"
 and just divide them with comma, or i make totally new line like set lua_modules "customvote.lua" and so on? thanks.
Link to comment
Share on other sites

You should really consider looking at the wiki first http://mygamingtalk.com/wiki/index.php/SilEnT_Mod it has most all of the information you usually need.
Description for lua_modules
 

 

List of files to be loaded by the Lua API engine. Can be separated by space, comma or semicolon. The paths are relative to the mod's directory, and can optionally be placed inside pk3 archieves. We are aiming for compatibility with ETPro's Lua Mod API found at

 

As a more direct answer:

set lua_modules "spec.lua autopromote.lua customvote.lua"

Replacing the names with the names of your luas of course.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...