Skip to content

Commit

Permalink
Lots of work done to the rockmeter
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Jun 5, 2011
1 parent 74d77fb commit 36bff86
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 55 deletions.
231 changes: 176 additions & 55 deletions data/themes/MegaLight GH3/rockmeter.ini
Expand Up @@ -7,112 +7,233 @@ yscale = .5

[layer0:fx0:Replace]
texture = rock_med.png|rock_high.png
condition = rock > 100/3|rock > 200/3
condition = rock > 100/3.0|rock > 200/3.0

[layer1:Image]
texture = rock_arr.png
xpos = .86
ypos = .136
xscale = 0.5
yscale = 0.5
angle = -45 + 90*(rock/100)
angle = -45 + 90*(rock/100.0)

[layer4:Image]
[layer2:Image]
texture = rock_top.png
xpos = .86
ypos = .22
xscale = .5
yscale = .5

[layer3:Image]
texture = dotshalf.png
xpos = .0425
ypos = .12
xscale = .5
yscale = .5
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,2/3,1)

[layer3:fx0:Replace]
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,1/3,2/3)|((multiplier%4)/4.0, (1+multiplier%4)/4.0,0,1/3)
condition = streak%10 == 1 | streak%10 >= 2 or streak > streakMax

[layer4:Image]
texture = dotshalf.png
xpos = .0425
ypos = .154
xscale = .5
yscale = .5
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,2/3,1)

[layer4:fx0:Replace]
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,1/3,2/3)|((multiplier%4)/4.0, (1+multiplier%4)/4.0,0,1/3)
condition = streak%10 == 3 | streak%10 >= 4 or streak > streakMax

[layer5:Image]
texture = splight.png
xpos = 0.86
ypos = 0.35
texture = dotshalf.png
xpos = .0425
ypos = .188
xscale = .5
yscale = .5
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,2/3,1)

[layer5:fx0:Replace]
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,1/3,2/3)|((multiplier%4)/4.0, (1+multiplier%4)/4.0,0,1/3)
condition = streak%10 == 5 | streak%10 >= 6 or streak > streakMax

[layer6:Image]
texture = dotbase.png
texture = dotshalf.png
xpos = .0425
ypos = .12
ypos = .222
xscale = .5
yscale = .5
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,2/3,1)

[layer6:fx0:Replace]
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,1/3,2/3)|((multiplier%4)/4.0, (1+multiplier%4)/4.0,0,1/3)
condition = streak%10 == 7 | streak%10 >= 8 or streak > streakMax

[layer7:Image]
texture = dotshalf.png
xpos = .0425
ypos = .256
xscale = .5
yscale = .5
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,2/3,1)

[layer7:fx0:Replace]
rect = ((multiplier%4)/4.0, (1+multiplier%4)/4.0,1/3,2/3)|((multiplier%4)/4.0, (1+multiplier%4)/4.0,0,1/3)
condition = streak%10 == 9 | streak > streakMax


[layer8:Image]
texture = rockmeter.png
xpos = .134
ypos = .22
xscale = .5
yscale = .5

[layer9:Image]
texture = mult.png
xpos = 0.134
ypos = 0.19
xscale = .5
yscale = .5
rect = (0.0, 1.0, multiplier/8, (multiplier+1)/8)

[layer9:fx0:Replace]
texture = bass_mult.png
rect = (0.0, 1.0, multiplier/12, (multiplier+1)/12)
condition = player.isBassGuitar

[layer10:Image]
texture = counter.png
xpos = .15
ypos = .1125
xscale = .5
yscale = .5

[layer8:fx0:Slide]
[layer10:fx0:Slide]
startX = .15
startY = -.1
endX = .15
endY = .1125
transitionTime = 32.0
transitionTime = 256.0
condition = streak > 10

[layer9:Text]
text = "%03i" % streak
[layer11:Text]
text = ("%03i" % streak)[2:3]
font = streakFont
alignment = right
alignment = left
color = #000000

[layer9:fx0:Slide]
startX = 0.193
[layer11:fx0:Slide]
startX = .193
startY = -.05
endX = 0.193
endX = .193
endY = 0.1125
reverse = True
condition = streak > 10
transitionTime = 32.0
transitionTime = 256.0

[layer10:Text]
text = streak%10
[layer12:Text]
text = ("%03i" % streak)[1:2]
font = streakFont
alignment = right
color = #000000
alignment = left

[layer10:fx0:Slide]
startX = 0.193
[layer12:fx0:Slide]
startX = .161
startY = -.05
endX = 0.193
endX = .161
endY = 0.1125
reverse = True
condition = streak > 10
transitionTime = 32.0
transitionTime = 256.0

[layer12:Text]
[layer13:Text]
text = ("%03i" % streak)[0:1]
font = streakFont
alignment = left

[layer13:fx0:Slide]
startX = .132
startY = -.05
endX = .132
endY = 0.1125
reverse = True
condition = streak > 10
transitionTime = 256.0

[layer14:Text]
text = score
font = scoreFont
xpos = 0.19
ypos = 0.518
ypos = 0.3885

[layer13:Image]
texture = mult.png
xpos = 0.134
ypos = 0.19
xscale = .5
yscale = .5
rect = (0.0, 1.0, multiplier/8, (multiplier+1)/8)

[layer13:fx0:Replace]
texture = bass_mult.png
rect = (0.0, 1.0, multiplier/12, (multiplier+1)/12)
condition = player.isBassGuitar

[layer14:Image]
texture = dots.png
xpos = .0425
ypos = .12
rect = ((multiplier%4)/4, ((multiplier+1)%4)/4, (streak%10)/10, ((streak+1)%10)/10)
condition = streak > 0

[layer14:fx0:Replace]
rect = (3/4, 1.0, 9/10, 1.0)|(3/4, 1.0, streak/10, (streak+1)/10)
condition = streak > streakMax|streak > 30 and streak < streakMax and player.isBassGuitar

[layer15:Image]
texture = rockmeter.png
xpos = .134
ypos = .22
[layer16:Image]
texture = splight.png
xpos = 0.772
ypos = 0.284
rect = (0,1/3.0,0,1)
angle = -87
xscale = .35
yscale = .35

[layer17:Image]
texture = splight.png
xpos = 0.772
ypos = 0.284
rect = (1/3.0,2/3,0,1)
angle = -87
a = max(min(power/16.6, 1), 0)
xscale = .35
yscale = .35

[layer17:fx0:Replace]
rect = (2/3.0, 1.0, 0, 1)
condition = power > 50 or player.starPowerActive

[layer18:Image]
texture = splight.png
xpos = 0.795
ypos = 0.312
rect = (0,1/3,0,1)
angle = -58
xscale = .35
yscale = .35

[layer19:Image]
texture = splight.png
xpos = 0.795
ypos = 0.312
rect = (0,2/3,0,1)
angle = -58
a = max(min((power-16.6)/16.6, 1),0)
xscale = .35
yscale = .35

[layer19:fx0:Replace]
rect = (2/3.0, 1.0, 0, 1)
condition = power > 50 or player.starPowerActive

[layer20:Image]
texture = splight.png
xpos = 0.822
ypos = 0.329
rect = (0,1/3,0,1)
angle = -37
xscale = .35
yscale = .35

[layer21:Image]
texture = splight.png
xpos = 0.822
ypos = 0.329
rect = (0,2/3,0,1)
angle = -37
a = max(min((power-32.2)/16.6, 1.0),0)
xscale = .35
yscale = .35

[layer21:fx0:Replace]
rect = (2/3.0, 1.0, 0, 1)
condition = power > 50 or player.starPowerActive
Binary file removed data/themes/MegaLight GH3/rockmeter/dotbase.png
Binary file not shown.
Binary file removed data/themes/MegaLight GH3/rockmeter/dots.png
Binary file not shown.
Binary file added data/themes/MegaLight GH3/rockmeter/dotshalf.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36bff86

Please sign in to comment.