Return to “Technical”


Importing files?

Thinking about mods, how easy would it be to import non procedural content into the same, such as textures or perhaps mocap data. How would they interact with the procedural parts of LT?
Image The traditional view of robotics, the metal servant who doesn't ask questions, is merely nostalgia for slavery.
User: JoshParnell is accountable for this user's actions.

Re: Importing files?

That's an interesting question. It gets at the strategy (yes, *strategy* :D ) for the overall architecture of LT as a game.

There's probably a line that will have to be walked of convenience vs. performance. Disk I/O is historically one of the slowest things a piece of software can do, so it's best reserved for actions that are not taken frequently.

Conversely, if something needs to be done frequently, you want to organize your code so that it minimizes trips to the disk for the information required to accomplish that action.

So what things might be exposed as files may depend on whether they need to be encoded in some LT-specific format that's good for performance but not directly readable by humans.

What are those things? That's the question.

Re: Importing files?

This is actually a really interesting question. Theoretically, if you can read in data from disk using Lua, you ought to be able to read in just about anything, right? The question would be, how quickly can you do it? (As Flat said already). I'm mostly interested in seeing what people want to load in, though.
Have a question? Send me a PM! || People talking in IRC over the past two hours: Image

Online Now

Users browsing this forum: No registered users and 2 guests