Rebuild option in GUI script / User selection dialog in Lua scripts

Case number:845813-991090
Topic:Game: Tools
Opened by:ipatrol
Opened on:Sunday, November 13, 2011 - 18:57
Last modified:Sunday, May 20, 2012 - 12:25

I wanted to create a script that would wiggle and rebuild a selected section, but the two tools are only found in different script types. These should each be added as features to their respective scripting engines.

(Sun, 11/13/2011 - 18:57  |  3 comments)

Joined: 06/17/2010

Use LUA. There are all tools we have.

jeff101's picture
User offline. Last seen 4 hours 37 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

For a list of links about LUA programming, see

Below are some of my favorites:
lists the many Foldit function available in LUA.
gives an overview of LUA.
is its index and table of contents.
is searchable and gives pages like this about particular LUA topics,
here tables (like arrays, vectors, or matrices, but more general).

It helps a lot to look through the public and group-shared Foldit recipes:
for things that sound like what you want to do.
You can then look at their source code and imitate the bits you need.
Maybe you will just want to tweak a recipe that someone else wrote.
Sometimes you can get more detailed advice by messaging the authors of these recipes.

It seems like writing scripts in LUA V2 is the best way to go right now.

These are all suggestions from someone fairly new to the site
(I started about a month ago) who has previous programming experience.

Good luck!

spmm's picture
User offline. Last seen 18 weeks 3 days ago. Offline
Joined: 08/05/2010
Groups: Void Crushers
Status: Open » Closed

closing answered question


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons