Jump to content
SubSpace Forum Network

Recommended Posts

Posted

For a Full description:

 

http://stackoverflow.com/questions/1228545/what-configuration-file-format-allows-the-inclusions-of-otherfiles-and-the-inheri

 

Synopsis

 

Basically I've been looking for a flexiable level format for ages to keep ship settings and other such things that can be used in a heiracical way.

Lua seems to be the answer :) It also allows the programming of custom functions and interaction with C code within the program, which opens up an exciting range of possibilities.

 

It does leave a slight issue remaining, we might not want the player to see ALL the settings when he downloads the level, but we still want those settings to take effect.

Posted

Doesnt Infantry / Cosmic Rift use this method? CFG dloads to the folder.

 

One thing to note on this problem is that to make sure the client checks the cfg with the servers, to make sure it's not modified in any way. Hackers could probably bypass it which would not be pretty, but, server triggers with disconnecting people with illegal weapons would be the answer.

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.

Loading...
×
×
  • Create New...