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

Case number:845813-991090
Topic:Game: Tools
Opened by:ipatrol
Status:Closed
Type:Suggestion
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 9 hours 11 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

For a list of links about LUA programming, see
http://foldit.wikia.com/wiki/LUA

Below are some of my favorites:

http://foldit.wikia.com/wiki/Foldit_Lua_Functions
lists the many Foldit function available in LUA.

http://www.lua.org/manual/5.1/manual.html
gives an overview of LUA.
http://www.lua.org/manual/5.1/#index
is its index and table of contents.

http://lua-users.org/wiki/TablesTutorial
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:
http://fold.it/portal/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 5 days 12 hours ago. Offline
Joined: 08/05/2010
Groups: Void Crushers
Status: Open » Closed

closing answered question

Sitemap

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, RosettaCommons