Forum

> > Projects > Stranded III Dev. Blog - Comments
Forums overviewProjects overviewLog in to reply

English Stranded III Dev. Blog - Comments

1,827 replies
Page
To the start Previous 1 247 48 4991 92 Next To the start

old Re: Stranded III Dev. Blog - Comments

Starkkz
Moderator Off Offline

Quote
@user VADemon: They are, that's why I think that it would be a nice idea if all the game objects incluiding players were userdata variables with metamethods. There could be a function that does a different task depending on what you want to do, like setting the name and color displayed when you aim at an object or a player (This is just an example of the things that could be done if it worked like that).

old Re: Stranded III Dev. Blog - Comments

DC
Admin Off Offline

Quote
They wouldn't be console commands but Lua commands - parsed by Lua itself - which is relatively fast. At the moment I can't tell if I will use userdata / metamethods. Probably yes though.

old Re: Stranded III Dev. Blog - Comments

Starkkz
Moderator Off Offline

Quote
@user DC: Even though I asked it before, I would like to ask it again. Since UniLua doesn't have IO support and that you're going to make a special module for this, is it going to have enhanced functionalities such as reading directories in a path or creating them? Also, is the UDP layer going to follow the same strict of functions as the IO module? How about TCP sockets? I think that there's more research in TCP protocols (FTP, HTTP, SMTP, IRC, etc) than in UDP, they could be used for internal servers or clients.

I guess it doesn't matter if you don't make the game entities work as userdata with metamethods, it could be easily made within the Lua code.

old Re: Stranded III Dev. Blog - Comments

DC
Admin Off Offline

Quote
You will be able to do what's necessary. You won't be able to randomly read/write folders/files at random locations because that would be a major security risk. I'm not sure how much functionality of the UDP layer will be exposed directly in Lua (if any).

I didn't plan or even care about TCP sockets yet because they are simply not required for the core game. I could add them later. It probably wouldn't be a problem.. but I focus on the actual game before adding extra special functionality.

old Re: Stranded III Dev. Blog - Comments

VADemon
User Off Offline

Quote
@user DC: I hope that you will at least make client-side mods that ARE allowed to read/write to disk and use other functions.
do not underestimate the importance of community modders

old Re: Stranded III Dev. Blog - Comments

XoOt
Super User Off Offline

Quote
Like DC said before. Focusing on the main game first is more important than working on it to make it modifiable. Wouldnt make sense. It could still be added with the next updates. Some people dont care about mods so they're just waiting for the game itself so if dc isnt working on special things it'll be released earlier. Also who think about mods for a game he never played before?

old Re: Stranded III Dev. Blog - Comments

Angelin01
User Off Offline

Quote
@user XoOt: Well, actually, if you end up developing a game with a certain degree of modding support, and correct me if I am wrong, it is actually going to be difficult to change (for more or less) that support later on. That's why it should be something that should be discussed, at least a bit, right now, so DC can start developing around that notion and not having to change a lot down the path.

old Re: Stranded III Dev. Blog - Comments

DC
Admin Off Offline

Quote
I totally focus on modding because it IS part of the main game. The game would probably be finished already without modding (well... that was exaggerated...). It's a core functionality and even Stranded III itself is just some kind of a mod because it uses the modding features itself.

@user VADemon: I think I already said that there will be file IO functions in Lua. So you will be able to read/write files. I just said that you won't be able to access the entire file system. You simply don't need to access folders at C:\windows for example. That would just be a huge and unnecessary security risk.
edited 1×, last 01.04.14 12:08:12 pm

old Re: Stranded III Dev. Blog - Comments

davidgumazon
BANNED Off Offline

Quote
@user DC: Pause Updating CS2D Please! we are waiting Stranded 3 Because it is now! Multiplayer

• Piranha Death run
• Hotel
• and More!

davidgumazon has written
i am so Excited to Release Stranded 3 )
To the start Previous 1 247 48 4991 92 Next To the start
Log in to replyProjects overviewForums overview