[info]
name 		= "Gravity Chamber - Basic"
displayname	= "Gravity Chamber - Basic"
author		= "Toni, EthanTheHuman, Alpha Proto"

[camera]
startx 		= 0
starty 		= 0
boundleft 	= -208
boundright 	= 208
boundhigh 	= -300
boundlow 	= 0
tension 	= 50
verticalfollow 	= .75
floortension 	= 90


;--------------------------------------------------------
[playerinfo]
p1startx = -70          ;starting x coordinates
p1starty = 0            ;starting y coordinates
p1startz = 0            ;starting z coordinates
p1facing = 1            ;direction player faces: 1=right, -1=left

p2startx = 70
p2starty = 0
p2startz = 0
p2facing = -1

leftbound  = -1000 ;left bound (x-movement)
rightbound =  1000 ;right bound
topbound  =  0   ;Top bound (z-movement)
botbound  =  0    ;Bottom bound

;--------------------------------------------------------
[scaling]
topz     = 0       ;top z-coordinate for scaling
botz     = 50      ;bottom z-coordinate for scaling
topscale = 1       ;scale to use at top
botscale = 1.2     ;scale to use at bottom

;--------------------------------------------------------
[bound]
screenleft = 30    ;dist from left of screen that player can move to
screenright = 30   ;right edge

;--------------------------------------------------------
[stageinfo]
 
zoffset = 220
zoffsetlink = 2
autoturn = 1
resetbg = 0

;--------------------------------------------------------
[shadow]
intensity = 90
color = 20,20,20
fade.range = 0,-50
yscale = 0.3


;--------------------------------------------------------
[music]

bgmusic = sound/stages/hdbz_grav.mp3
bgvolume = 100

;looping points for hdbz_grav.mp3
bgmloopstart = 662788
bgmloopend = 5270674


;========================================================
; main background definition
[bgdef]
spr = stages/hdbz_grav.sff
debugbg = 0

;----------

[bg wall]
type = normal
spriteno = 1,0
start = 0, 130
delta = .6,.7
layerno = 0
id = 10

[bg floor]
type  = parallax
spriteno = 2,0
start = 0, 130
delta = .6, .7
xscale = 1, 2.2
yscalestart = 100 ;105
yscaledelta = 0.25
mask  = 1
id = 10

[bg wall bottom]
type = normal
spriteno = 3,5
start = 0, 130
delta = .63,.75
mask = 1
id = 10

[bg wall bottom]
type = normal
spriteno = 3,4
start = 0, 130
delta = .66,.75
mask = 1
id = 10

[bg wall bottom]
type = normal
spriteno = 3,6
start = 0, 130
delta = .66,.75
mask = 1
id = 10

[bg wall bottom]
type = normal
spriteno = 3,3
start = 0, 130
delta = .69,.75
mask = 1
id = 10

[bg wall bottom]
type = normal
spriteno = 3,7
start = 0, 130
delta = .69,.75
mask = 1
id = 10

[bg wall rim]
type = normal
spriteno = 5,0
start = 0, 130
delta = .66,.75
mask = 1
id = 10

[bg window 1]
type = normal
spriteno = 6,0
start = 0, 130
delta = .655,.75
mask = 1
id = 10

[bg window2]
type = normal
spriteno = 6,1
start = 0, 130
delta = .64,.75
mask = 1
id = 10

[bg window3]
type = normal
spriteno = 6,2
start = 0, 130
delta = .635,.75
mask = 1
id = 10

[bg window 4]
type = normal
spriteno = 6,3
start = 0, 130
delta = .64,.75
mask = 1
id = 10

[bg window 5]
type = normal
spriteno = 6,4
start = 0, 130
delta = .655,.75
mask = 1
id = 10

[bg dome]
type  = parallax
spriteno = 8,0
start = 0, -528
delta = 1, .75
xscale = .8, .5
;yscalestart = 105
;yscaledelta = 0.5
mask  = 1
id = 10

[bg ceiling]
type  = normal
spriteno = 7,0
start = 0, 135
delta = .86,.86
mask = 1
id = 10

[bg pillar]
type  = normal
spriteno = 4,0
start = 0, 135
delta = .86,.86
mask = 1
id = 10

[BG pillar screen]
type  = anim
actionno = 70
start = 0, 135
delta = .86, .86
id = 10

[Begin Action 70]
-1,0, 0,0, 320
LoopStart
70,0, 0,0, 8
70,1, 0,0, 8
70,0, 0,0, 8
70,2, 0,0, 8
70,3, 0,0, 8
70,0, 0,0, 8
70,1, 0,0, 8
70,2, 0,0, 8
70,3, 0,0, 8
70,2, 0,0, 8
70,3, 0,0, 8

[bg Steam]
type  = anim
actionno = 42
start = -50, 120
delta = .86, .86
id = 10

[Begin Action 42]
-1,0, 0,0, 3638
42,0, 0,0, 5, ,AS156D156
42,1, 0,0, 5, ,AS156D156
42,2, 0,0, 5, ,AS156D156
42,3, 0,0, 5, ,AS156D156
42,4, 0,0, 5, ,AS156D156
-1,0, 0,0, -1

[bg Steam 1]
type  = anim
actionno = 421
start = -50, 120
delta = .86, .86
id = 10

[Begin Action 421]
-1,0, 0,0, 5638
42,0, 0,0, 5, ,AS156D156
42,1, 0,0, 5, ,AS156D156
42,2, 0,0, 5, ,AS156D156
42,3, 0,0, 5, ,AS156D156
42,4, 0,0, 5, ,AS156D156
-1,0, 0,0, 20
42,0, 0,0, 5, ,AS156D156
42,1, 0,0, 5, ,AS156D156
42,2, 0,0, 5, ,AS156D156
42,3, 0,0, 5, ,AS156D156
42,4, 0,0, 5, ,AS156D156
-1,0, 0,0, -1

[BG Smoke]
type  = anim
actionno = 40
start = -50, 120
delta = .86, .86
id = 10

[Begin Action 40]
-1,0, 0,0, 5658
40,0, 0,0, 5, , AS10D246
40,1, 0,0, 5, , AS20D236
40,2, 0,0, 5, , AS30D226
40,3, 0,0, 5, , AS40D216
40,4, 0,0, 5, , AS50D206
40,5, 0,0, 5, , AS60D196
40,0, 0,0, 5, , AS70D186
40,1, 0,0, 5, , AS80D176
40,2, 0,0, 5, , AS90D166
40,3, 0,0, 5, , AS100D156
40,4, 0,0, 5, , AS110D146
40,5, 0,0, 5, , AS120D136
LoopStart
40,0, 0,0, 5, , AS120D136
40,1, 0,0, 5, , AS120D136
40,2, 0,0, 5, , AS120D136
40,3, 0,0, 5, , AS120D136
40,4, 0,0, 5, , AS120D136
40,5, 0,0, 5, , AS120D136

[BG Smoke 2]
type  = anim
actionno = 41
start = 57, 70
delta = .86, .86
id = 10

[Begin Action 41]
-1,0, 0,0, 5698
41,0, 0,0, 5, , AS10D246
41,1, 0,0, 5, , AS20D236
41,2, 0,0, 5, , AS30D226
41,3, 0,0, 5, , AS40D216
41,4, 0,0, 5, , AS50D206
41,5, 0,0, 5, , AS60D196
41,0, 0,0, 5, , AS70D186
41,1, 0,0, 5, , AS80D176
41,2, 0,0, 5, , AS90D166
41,3, 0,0, 5, , AS100D156
41,4, 0,0, 5, , AS110D146
41,5, 0,0, 5, , AS120D136
LoopStart
41,0, 0,0, 5, , AS120D136
41,1, 0,0, 5, , AS120D136
41,2, 0,0, 5, , AS120D136
41,3, 0,0, 5, , AS120D136
41,4, 0,0, 5, , AS120D136
41,5, 0,0, 5, , AS120D136

[bg screen warning]
type  = dummy ;anim
actionno = 22
start = 0, 65
delta = .95, .95

[Begin Action 22]
-1,0, 0,0, 5700, ,AS156D156
22,0, 0,0, 3, ,AS156D156
22,1, 0,0, 3, ,AS156D156
22,2, 0,0, 3, ,AS156D156
22,3, 0,0, 10, ,AS156D156
22,4, 0,0, 27, ,AS156D156
22,5, 0,0, 3, ,AS156D156
22,6, 0,0, 10, ,AS156D156
22,7, 0,0, 30, ,AS156D156
22,3, 0,0, 10, ,AS156D156
22,4, 0,0, 30, ,AS156D156
22,5, 0,0, 10, ,AS156D156
22,6, 0,0, 3, ,AS156D156
22,7, 0,0, 27, ,AS156D156
22,2, 0,0, 3, ,AS156D156
22,1, 0,0, 3, ,AS156D156
22,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
22,0, 0,0, 3, ,AS156D156
22,1, 0,0, 3, ,AS156D156
22,2, 0,0, 3, ,AS156D156
22,3, 0,0, 10, ,AS156D156
22,4, 0,0, 27, ,AS156D156
22,5, 0,0, 3, ,AS156D156
22,6, 0,0, 10, ,AS156D156
22,7, 0,0, 30, ,AS156D156
22,3, 0,0, 10, ,AS156D156
22,4, 0,0, 30, ,AS156D156
22,5, 0,0, 10, ,AS156D156
22,6, 0,0, 3, ,AS156D156
22,7, 0,0, 27, ,AS156D156
22,2, 0,0, 3, ,AS156D156
22,1, 0,0, 3, ,AS156D156
22,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
22,0, 0,0, 3, ,AS156D156
22,1, 0,0, 3, ,AS156D156
22,2, 0,0, 3, ,AS156D156
22,3, 0,0, 10, ,AS156D156
22,4, 0,0, 27, ,AS156D156
22,5, 0,0, 3, ,AS156D156
22,6, 0,0, 10, ,AS156D156
22,7, 0,0, 30, ,AS156D156
22,3, 0,0, 10, ,AS156D156
22,4, 0,0, 30, ,AS156D156
22,5, 0,0, 10, ,AS156D156
22,6, 0,0, 3, ,AS156D156
22,7, 0,0, 27, ,AS156D156
22,2, 0,0, 3, ,AS156D156
22,1, 0,0, 3, ,AS156D156
22,0, 0,0, 3, ,AS156D156
-1,0, 0,0, -1, ,AS156D156

[bg screen warning l1]
type  = dummy ;anim
actionno = 21
start = -150, 65
delta = .96, .96

[Begin Action 21]
-1,0, 0,0, 5705, ,AS156D156
21,0, 0,0, 3, ,AS156D156
21,1, 0,0, 3, ,AS156D156
21,2, 0,0, 3, ,AS156D156
21,3, 0,0, 10, ,AS156D156
21,4, 0,0, 27, ,AS156D156
21,5, 0,0, 3, ,AS156D156
21,6, 0,0, 10, ,AS156D156
21,7, 0,0, 30, ,AS156D156
21,3, 0,0, 10, ,AS156D156
21,4, 0,0, 30, ,AS156D156
21,5, 0,0, 10, ,AS156D156
21,6, 0,0, 3, ,AS156D156
21,7, 0,0, 27, ,AS156D156
21,2, 0,0, 3, ,AS156D156
21,1, 0,0, 3, ,AS156D156
21,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
21,0, 0,0, 3, ,AS156D156
21,1, 0,0, 3, ,AS156D156
21,2, 0,0, 3, ,AS156D156
21,3, 0,0, 10, ,AS156D156
21,4, 0,0, 27, ,AS156D156
21,5, 0,0, 3, ,AS156D156
21,6, 0,0, 10, ,AS156D156
21,7, 0,0, 30, ,AS156D156
21,3, 0,0, 10, ,AS156D156
21,4, 0,0, 30, ,AS156D156
21,5, 0,0, 10, ,AS156D156
21,6, 0,0, 3, ,AS156D156
21,7, 0,0, 27, ,AS156D156
21,2, 0,0, 3, ,AS156D156
21,1, 0,0, 3, ,AS156D156
21,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
21,0, 0,0, 3, ,AS156D156
21,1, 0,0, 3, ,AS156D156
21,2, 0,0, 3, ,AS156D156
21,3, 0,0, 10, ,AS156D156
21,4, 0,0, 27, ,AS156D156
21,5, 0,0, 3, ,AS156D156
21,6, 0,0, 10, ,AS156D156
21,7, 0,0, 30, ,AS156D156
21,3, 0,0, 10, ,AS156D156
21,4, 0,0, 30, ,AS156D156
21,5, 0,0, 10, ,AS156D156
21,6, 0,0, 3, ,AS156D156
21,7, 0,0, 27, ,AS156D156
21,2, 0,0, 3, ,AS156D156
21,1, 0,0, 3, ,AS156D156
21,0, 0,0, 3, ,AS156D156
-1,0, 0,0, -1, ,AS156D156

[bg screen warning r1]
type  = dummy ;anim
actionno = 23
start = 150, 65
delta = .96, .96

[Begin Action 23]
-1,0, 0,0, 5705, ,AS156D156
23,0, 0,0, 3, ,AS156D156
23,1, 0,0, 3, ,AS156D156
23,2, 0,0, 3, ,AS156D156
23,3, 0,0, 10, ,AS156D156
23,4, 0,0, 27, ,AS156D156
23,5, 0,0, 3, ,AS156D156
23,6, 0,0, 10, ,AS156D156
23,7, 0,0, 30, ,AS156D156
23,3, 0,0, 10, ,AS156D156
23,4, 0,0, 30, ,AS156D156
23,5, 0,0, 10, ,AS156D156
23,6, 0,0, 3, ,AS156D156
23,7, 0,0, 27, ,AS156D156
23,2, 0,0, 3, ,AS156D156
23,1, 0,0, 3, ,AS156D156
23,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
23,0, 0,0, 3, ,AS156D156
23,1, 0,0, 3, ,AS156D156
23,2, 0,0, 3, ,AS156D156
23,3, 0,0, 10, ,AS156D156
23,4, 0,0, 27, ,AS156D156
23,5, 0,0, 3, ,AS156D156
23,6, 0,0, 10, ,AS156D156
23,7, 0,0, 30, ,AS156D156
23,3, 0,0, 10, ,AS156D156
23,4, 0,0, 30, ,AS156D156
23,5, 0,0, 10, ,AS156D156
23,6, 0,0, 3, ,AS156D156
23,7, 0,0, 27, ,AS156D156
23,2, 0,0, 3, ,AS156D156
23,1, 0,0, 3, ,AS156D156
23,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
23,0, 0,0, 3, ,AS156D156
23,1, 0,0, 3, ,AS156D156
23,2, 0,0, 3, ,AS156D156
23,3, 0,0, 10, ,AS156D156
23,4, 0,0, 27, ,AS156D156
23,5, 0,0, 3, ,AS156D156
23,6, 0,0, 10, ,AS156D156
23,7, 0,0, 30, ,AS156D156
23,3, 0,0, 10, ,AS156D156
23,4, 0,0, 30, ,AS156D156
23,5, 0,0, 10, ,AS156D156
23,6, 0,0, 3, ,AS156D156
23,7, 0,0, 27, ,AS156D156
23,2, 0,0, 3, ,AS156D156
23,1, 0,0, 3, ,AS156D156
23,0, 0,0, 3, ,AS156D156
-1,0, 0,0, -1, ,AS156D156

[bg screen warning l2]
type  = dummy ;anim
actionno = 20
start = -290, 65
delta = .98, .98

[Begin Action 20]
-1,0, 0,0, 5710, ,AS156D156
20,0, 0,0, 3, ,AS156D156
20,1, 0,0, 3, ,AS156D156
20,2, 0,0, 3, ,AS156D156
20,3, 0,0, 10, ,AS156D156
20,4, 0,0, 27, ,AS156D156
20,5, 0,0, 3, ,AS156D156
20,6, 0,0, 10, ,AS156D156
20,7, 0,0, 30, ,AS156D156
20,3, 0,0, 10, ,AS156D156
20,4, 0,0, 30, ,AS156D156
20,5, 0,0, 10, ,AS156D156
20,6, 0,0, 3, ,AS156D156
20,7, 0,0, 27, ,AS156D156
20,2, 0,0, 3, ,AS156D156
20,1, 0,0, 3, ,AS156D156
20,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
20,0, 0,0, 3, ,AS156D156
20,1, 0,0, 3, ,AS156D156
20,2, 0,0, 3, ,AS156D156
20,3, 0,0, 10, ,AS156D156
20,4, 0,0, 27, ,AS156D156
20,5, 0,0, 3, ,AS156D156
20,6, 0,0, 10, ,AS156D156
20,7, 0,0, 30, ,AS156D156
20,3, 0,0, 10, ,AS156D156
20,4, 0,0, 30, ,AS156D156
20,5, 0,0, 10, ,AS156D156
20,6, 0,0, 3, ,AS156D156
20,7, 0,0, 27, ,AS156D156
20,2, 0,0, 3, ,AS156D156
20,1, 0,0, 3, ,AS156D156
20,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
20,0, 0,0, 3, ,AS156D156
20,1, 0,0, 3, ,AS156D156
20,2, 0,0, 3, ,AS156D156
20,3, 0,0, 10, ,AS156D156
20,4, 0,0, 27, ,AS156D156
20,5, 0,0, 3, ,AS156D156
20,6, 0,0, 10, ,AS156D156
20,7, 0,0, 30, ,AS156D156
20,3, 0,0, 10, ,AS156D156
20,4, 0,0, 30, ,AS156D156
20,5, 0,0, 10, ,AS156D156
20,6, 0,0, 3, ,AS156D156
20,7, 0,0, 27, ,AS156D156
20,2, 0,0, 3, ,AS156D156
20,1, 0,0, 3, ,AS156D156
20,0, 0,0, 3, ,AS156D156
-1,0, 0,0, -1, ,AS156D156

[bg screen warning r2]
type  = dummy ;anim
actionno = 24
start = 290, 65
delta = .98, .98

[Begin Action 24]
-1,0, 0,0, 5710, ,AS156D156
24,0, 0,0, 3, ,AS156D156
24,1, 0,0, 3, ,AS156D156
24,2, 0,0, 3, ,AS156D156
24,3, 0,0, 10, ,AS156D156
24,4, 0,0, 27, ,AS156D156
24,5, 0,0, 3, ,AS156D156
24,6, 0,0, 10, ,AS156D156
24,7, 0,0, 30, ,AS156D156
24,3, 0,0, 10, ,AS156D156
24,4, 0,0, 30, ,AS156D156
24,5, 0,0, 10, ,AS156D156
24,6, 0,0, 3, ,AS156D156
24,7, 0,0, 27, ,AS156D156
24,2, 0,0, 3, ,AS156D156
24,1, 0,0, 3, ,AS156D156
24,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
24,0, 0,0, 3, ,AS156D156
24,1, 0,0, 3, ,AS156D156
24,2, 0,0, 3, ,AS156D156
24,3, 0,0, 10, ,AS156D156
24,4, 0,0, 27, ,AS156D156
24,5, 0,0, 3, ,AS156D156
24,6, 0,0, 10, ,AS156D156
24,7, 0,0, 30, ,AS156D156
24,3, 0,0, 10, ,AS156D156
24,4, 0,0, 30, ,AS156D156
24,5, 0,0, 10, ,AS156D156
24,6, 0,0, 3, ,AS156D156
24,7, 0,0, 27, ,AS156D156
24,2, 0,0, 3, ,AS156D156
24,1, 0,0, 3, ,AS156D156
24,0, 0,0, 3, ,AS156D156
-1,0, 0,0, 500, ,AS156D156
24,0, 0,0, 3, ,AS156D156
24,1, 0,0, 3, ,AS156D156
24,2, 0,0, 3, ,AS156D156
24,3, 0,0, 10, ,AS156D156
24,4, 0,0, 27, ,AS156D156
24,5, 0,0, 3, ,AS156D156
24,6, 0,0, 10, ,AS156D156
24,7, 0,0, 30, ,AS156D156
24,3, 0,0, 10, ,AS156D156
24,4, 0,0, 30, ,AS156D156
24,5, 0,0, 10, ,AS156D156
24,6, 0,0, 3, ,AS156D156
24,7, 0,0, 27, ,AS156D156
24,2, 0,0, 3, ,AS156D156
24,1, 0,0, 3, ,AS156D156
24,0, 0,0, 3, ,AS156D156
-1,0, 0,0, -1, ,AS156D156


[bg position]
type  = dummy
spriteno = 4,0
start = 0, 0
delta = 1,1
mask = 1
id = 10

[BG Dummy] ;Dummy object for player's zoffset to be bound to
type  = dummy
id = 2
start = 0,0
positionlink = 1

;-----
[BGCtrlDef floor]
;looptime =  2500
ctrlID = 10, 50, 51

[BGCtrl 100G]
type = SinY
time = 380
value = .5, 5, 0 

[BGCtrl 10.2]
type = SinY
time = 396
value = 0, 5, 0

[BGCtrl 10.3]
type = SinY
time = 634
value = .5, 5, 0

[BGCtrl 10.4]
type = SinY
time = 650
value = 0, 5, 0

[BGCtrl 10.5]
type = SinY
time = 1234
value = .5, 5, 0

[BGCtrl 10.6]
type = SinY
time = 1250
value = 0, 5, 0

[BGCtrl 10.7]
type = SinY
time = 2234
value = .5, 5, 0

[BGCtrl 10.8]
type = SinY
time = 2250
value = 0, 5, 0

