Wiggle strength indicator does not reflect wiggle strength setting during scripts

Case number:845833-998050
Topic:Game: Display
Opened by:Bletchley Park
Status:Open
Type:Suggestion
Opened on:Saturday, June 21, 2014 - 06:53
Last modified:Monday, July 8, 2019 - 13:49

Wiggle strength indicator does not reflect wiggle strength setting during scripts. That is the problem.
I find myself stopping scripts just to see if I have not forgotten to set the strength to a particular desired setting. I cannot see what the setting is while the script runs.

Please make it visible by, for excample, reversing the fore- and bacground color of the setting 'button'.

(Sat, 06/21/2014 - 06:53  |  7 comments)


bertro's picture
User offline. Last seen 9 hours 32 min ago. Offline
Joined: 05/02/2011
Groups: Beta Folders

bump

reefyrob's picture
User offline. Last seen 4 weeks 3 days ago. Offline
Joined: 02/08/2012
Groups: Beta Folders

Like this idea, it's annoyed me a few times

Angus's picture
User offline. Last seen 5 hours 24 min ago. Offline
Joined: 06/04/2008
Groups: Beta Folders

It is shown, but it's not very visible. A box, just barely lighter than the black background.

bertro's picture
User offline. Last seen 9 hours 32 min ago. Offline
Joined: 05/02/2011
Groups: Beta Folders

bump

Joined: 11/16/2012
Groups: Beta Folders

i agree that the behave wiggle box should be more visable, its realy hard to stop a script to see if you put the wiggle factor on low or not.

bertro's picture
User offline. Last seen 9 hours 32 min ago. Offline
Joined: 05/02/2011
Groups: Beta Folders

bump

Joined: 09/24/2012
Groups: Go Science

Can be done in scripts now:

It's implemented.

behavior.SetWigglePower(a/l/m/h)
behavior.HighPowerAllowed()
behavior.GetWigglePower()

Here is a small script that uses it:

-- START Wiggle Power Setting stuff
function DisplayLongWigglePower ()
local PowerSetting = behavior.GetWigglePower()
local result = ""
if PowerSetting == "l" then result = "Low"
elseif PowerSetting == "m" then result = "Medium"
elseif PowerSetting == "h" then result = "High"
elseif PowerSetting == "a" then result = "Auto"
end
return result
end
OriginalWPowerSetting= DisplayLongWigglePower ()
print(OriginalWPowerSetting .. " Wiggle Power")

function CheckWP() -- including Alarm Dialog
if OriginalWPowerSetting == "Low" or OriginalWPowerSetting == "Auto" then
local ask=dialog.CreateDialog("Wiggle Power is ".. OriginalWPowerSetting)
ask.l1=dialog.AddLabel("Are you sure ?")
ask.continue=dialog.AddButton("Continue",1)
ask.stop=dialog.AddButton("Cancel",0)
askresult=dialog.Show(ask)
if askresult < 1 then return false end
end
return true
end

-- STOP Wiggle Power Setting stuff

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