Return to “Technical”

Post

Importing files?

#1
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
When you're trying to fill an infinite multiverse, if you're not willing to consider the entire creative output of humanity as a starting point, you're wasting your time.
User: JoshParnell is accountable for this user's actions.
Post

Re: Importing files?

#2
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.
Post

Re: Importing files?

#3
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
Image
Image

Online Now

Users browsing this forum: No registered users and 1 guest

cron