Add band strength and quick save slots to scripting

Case number:845813-986949
Topic:Game: Tools
Opened by:themarquis
Status:Resolved
Assigned:Seth Cooper
Priority:3
Type:Question
Opened on:Tuesday, October 27, 2009 - 04:22
Last modified:Wednesday, February 22, 2012 - 22:06

As I've been working with scripting, I've started to realize there are two major components missing:

1) set band strength:

most band-based pull scripts don't work well because the full-strength bands are too powerful. For example, we might set the script to band two segments and then do a global wiggle for one turn. One turn(round?) will often pull the protein completely apart.

2) use quick save slots:

we can do a reset/restore recent best. That's good, but the problem is that there is no way to reset the game to a lower scoring state. The reason we might want to do this are numerous, but one example would be a "shake/wiggle or wiggle/shake" type script that tries a shake/wiggle, then restores to the prior state, then a wiggle/shake, and then restores to best. Something like a quick save slot would really fit the bill here.

On a similar note, is it possible to add the ability to read from a file? I'd like to write my scripts as text files and then just load them from there so as not to have to fiddle with the gui editor.

Thanks for all the hard work with scripting -- and keep adding features :) !

(Tue, 10/27/2009 - 04:22  |  6 comments)


Joined: 09/18/2009
Groups: SETI.Germany

Affirmative.
Set band strength is available on the regular script, so on lua, it would be useful, too.
On "delicate" puzzles, I always set the band strength to very small values.

What also would be interesting is changing the band length by script.

And how about auto-assigning bands to each bond?

Joined: 09/18/2009
Groups: SETI.Germany

Topic Quick save:
As far as I know, there are 3 slots available in the game interface.

Shift-Ctrl+(1,2 or 3)to save and
Ctrl+(1,2 or 3)to load them.

So they are already there, they could to be "picked up" by script.

Joined: 09/18/2009
Groups: SETI.Germany

Allowing lua to simulate a keypress could make all hotkeys usable.

mat747's picture
User offline. Last seen 1 week 1 day ago. Offline
Joined: 10/15/2008
Groups: Void Crushers
Assigned: admin » Seth Cooper
Type: Suggestion » Question

Now that you have "also added save and load structures functions to the scripting API", Which is a form of a quick save/load.
When will Quick save/load puzzle slots be added to scripting API ?

Tlaloc's picture
User offline. Last seen 17 hours 48 min ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
Status: Open » Done

Band strength and quicksave are done.

Joined: 11/10/2007
Groups: Window Group
Status: Done » Resolved

Marking as resolved.

Sitemap

Supported by: UW Center for Game Science, UW Department of Computer Science and Engineering, UW Baker Lab, DARPA, NSF, HHMI, Microsoft, and Adobe