r/tekkit • • Sep 11 '12

RedPower Engine with Interchangeable Modules

http://imgur.com/a/8P0fR
51 Upvotes

36 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Sep 12 '12 edited Sep 12 '12

I should probably redo the whole setup on a superflat map. I need to figure out a performance issue I'm having with Technic and screenshots before I can document the process. I also want to improve my Lua skills and create some more programs. I'd like to have something that ComputerCraft can run that will offer a lot of functionality. I'd like to have a generalized system that can be configured to work with multiple engines. I'm thinking I'll need to create an API which outlines certain variables that can be called from programs working with the engine. In order to do this, the user will need to specify the computer ID of the computer riding on top of the engine, and values specifying which color wires correspond to which functions on the engine, and I'll need code to find out where the bundled wire is connected (I'm not sure if I can even do that). These values will need to be stored in non-volatile memory. That means I either need to instruct the user in editing the proper file and values, or create a setup script that will prompt the user for information, error check it, and save the information to a file. This is an issue that quickly starts to dominate the project if it's allowed to. On top of that, how would the system handle new modules being added? It would be easy enough to create a plugin system, but at what point does that poor little ComputerCraft computer, and my IRL computer running Minecraft, totally give up and fart out? I'm doing this on a pretty shitty system and it took me forever to get all those screenshots.