'start FadingImageLabel Overwatch
'    xpos = .85
'    ypos = .25
'    width = .15
'    height = .05
'    visible = false
'    alignment = center
'    'fgcolor = 00ff0000
'    'bgcolor = 0000000
'    scheme = OverwatchScheme
'	text = OverwatchEnabledText
'end

start Label OverwatchRange
    xpos = .75
    ypos = .2
    width = .15
    height = .05
    visible = false
    alignment = center
    'fgcolor = 00ff0000
    'bgcolor = 0000000
    scheme = OverwatchScheme
end

'start Label DebugCSPServerInfo
'    xpos = .3
'    ypos = .4
'    width = .1
'    height = .05
'    visible = false
'    alignment = center
'    scheme = PSEScheme
'end
'
'start Label DebugCSPClientInfo
'    xpos = .3
'    ypos = .6
'    width = .1
'    height = .05
'    visible = false
'    alignment = center
'    scheme = PSEScheme
'end

start SpritePanel TopDownHUDTop
    xpos = 0
    ypos = 0
    width = 1
    height = .25
    visible = false
    alignment = center
    'scheme = TitleFont
	basesprite = topdowntop
	rendermode = alphatest
	valignment = top
end

start SpritePanel TopDownHUDBottom
    xpos = 0
    'ypos = .333
	ypos = .584
	'ypos = .99
    width = 1
    'height = .6666
	height = .426
    visible = false
    alignment = center
    'scheme = TitleFont
	basesprite = topdownbottom
	rendermode = alphatest
	valignment = bottom
end

start Label ReinforcementsLabel
    xpos = .38
    'ypos = .025
    ypos = .019
    width = .2
    height = .05
    visible = false
    alignment = center
    scheme = CommanderStatusScheme
end

start Label CommanderResources
    xpos = .07
    ypos = .01
    width = .06
    height = .06
    visible = false
    alignment = center
    scheme = CommanderStatusScheme
end

start Label MarineResources
    xpos = .3
    ypos = .006
    width = .06
    height = .06
    visible = false
    alignment = center
    scheme = MarineStatusScheme
end

start Label CommanderStatus
    xpos = .53
    ypos = .006
    width = .06
    height = .06
    visible = false
    alignment = center
    scheme = MarineStatusScheme
end

start Label Research
    xpos = .92
    ypos = .02
    width = .06
    height = .06
    visible = false
    alignment = center
    scheme = ActionButtonScheme
end

start StaticLabel ResearchBackgroundPanel
    xpos = .3
    ypos = .8
    width = .4
	' Subtract a little height to make it even with the hierarchy
    height = .19
    visible = false
    alignment = center
    scheme = ActionButtonScheme
	'fgcolor = FFAA00FF
	'bgcolor = A0A0A08D
	'bgcolor = 0101018D

    'fgcolor = 00ff00CC
    'bgcolor = 00FF0011
	'FgColor = "255 170 0 255"
	'BgColor = "0 0 0 141"
end

start Label ResearchingLabel
    xpos = 0
    ypos = .92
    width = .06
    height = .06
    visible = false
    alignment = center
    'fgcolor = 00ff0000
    'bgcolor = 0000000
    scheme = ActionButtonScheme
end

start Label TechHelpText
    xpos = .35
    'ypos = .86
    ypos = .868
    width = .4
    height = .05
    visible = false
    alignment = center
    'fgcolor = 00ff0000
    'bgcolor = 0000000
    scheme = ActionButtonScheme
end

' List before the pie menu so it is drawn after it
start TeamHierarchy SquadHierarchy
    xpos = 0.79
    'xpos = 0
    ypos = 0.013
    width = .2
    height = .202
    visible = false
    alignment = center
    'fgcolor = 0000FF55
    'bgcolor = 0000FF33
    scheme = HierarchyScheme
end

start ProgressBar ResearchProgress
    xpos = .39
    ypos = .96
    width = .22
    height = .01
    visible = false
    alignment = center
    'fgcolor = 00ff00DD
    'bgcolor = FF000FF
    'scheme = TitleFont
	segments = 30
end

start ProgressBar GenericProgress
    xpos = .39
    ypos = .95
    width = .22
    height = .01
    visible = false
    alignment = center
    fgcolor = 00ff00DD
    bgcolor = FF000FF
'    scheme = TitleFont
	segments = 30
end

' Particle system editor controls
start Slider2 PSESizeSlider
    xpos = 0.1
    ypos = 0.72
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 500
	rangewindow = 20
	isvertical = true
end

start Label PSESizeLabel
    xpos = .05
    ypos = .65
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEScaleSlider
    xpos = 0.25
    ypos = 0.72
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 500
	isvertical = true
	rangewindow = 20
end

start Label PSEScaleLabel
    xpos = .2
    ypos = .65
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEGenerationRateSlider
    xpos = 0.4
    ypos = 0.72
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 500
	isvertical = true
	rangewindow = 20
end

start Label PSEGenerationRateLabel
    xpos = .35
    ypos = .65
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEParticleLifetimeSlider
    xpos = 0.6
    ypos = 0.72
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 500
	isvertical = true
	rangewindow = 20
end

start Label PSEParticleLifetimeLabel
    xpos = .55
    ypos = .65
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEParticleSystemLifetimeSlider
    xpos = 0.75
    ypos = 0.72
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 500
	isvertical = true
	rangewindow = 20
end

start Label PSEParticleSystemLifetimeLabel
    xpos = .7
    ypos = .65
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEMaxParticlesSlider
    xpos = 0.9
    ypos = 0.72
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 500
	isvertical = true
	rangewindow = 20
end

start Label PSEMaxParticlesLabel
    xpos = .85
    ypos = .65
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

'''''''''''
' Top row '
'''''''''''
start Slider2 PSEDrawModeSlider
    xpos = 0.1
    ypos = 0.1
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 0
	uppervalue = 5
	isvertical = true
	rangewindow = 20
end

start Label PSEDrawModeLabel
    xpos = .05
    ypos = 0.03
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEGenVelToggleSlider
    xpos = 0.30
    ypos = 0.1
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 0
	uppervalue = 499
	isvertical = true
	rangewindow = 20
end

start Label PSEGenVelToggleLabel
    xpos = .25
    ypos = 0.03
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEGenVelShapeSlider
    xpos = 0.45
    ypos = 0.1
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 100
	uppervalue = 499
	isvertical = true
	rangewindow = 20
end

start Label PSEGenVelShapeLabel
    xpos = .40
    ypos = 0.03
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEGenVelParamNumSlider
    xpos = 0.58
    ypos = 0.1
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = 1
	uppervalue = 8
	isvertical = true
	rangewindow = 20
	defaultintvalue = 1
end

start Label PSEGenVelParamNumLabel
    xpos = .53
    ypos = 0.03
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end

start Slider2 PSEGenVelParamValueSlider
    xpos = 0.7
    ypos = 0.1
    width = .03
    height = .27
    visible = false
    alignment = center
    fgcolor = 0000ff01
    bgcolor = 32323202
    scheme = HierarchyScheme
	lowervalue = -200
	uppervalue = 200
	isvertical = true
	rangewindow = 10
end

start Label PSEGenVelParamValueLabel
    xpos = .65
    ypos = 0.03
    width = .1
    height = .03
    visible = false
    alignment = center
    scheme = PSEScheme
end
''''''''''''''''''''''''
' end particle editing '
''''''''''''''''''''''''

' Put before top down controls, so it doesn't block them
start ScrollPanel Scroller
    xpos = 0
    ypos = 0
    width = 1
    height = 1
    visible = false
    alignment = center
end

'start Button LogoutButton
start LogoutComponent LogoutButton
    xpos = .82
    ypos = .03
    width = .13
    height = .06
    visible = false
    alignment = center
	text = LogoutText
    scheme = CommanderStatusScheme
end

' Leave a little border for scrolling <sigh>
start ActionButtons ActionButtonsComponent
    xpos = .773
    ypos = .708
	'width = .273
	width = .212
	height = .286
    scheme = ActionButtonScheme
'	fgcolor = FFAA00FF
'	bgcolor = 0000008D
'	fgcolor = FFAA00FF
'	bgcolor = DD999966
    visible = false
	numrows = 4
	numcols = 4
end


' List before the pie menu so it is drawn after it
' Leave a little border for scrolling <sigh>
start TeamHierarchy CommanderHierarchy
    'xpos = .012
    'ypos = 0.72
    'width = .285
    'height = .26
    xpos = .0105
    ypos = 0.728
    width = .265
    height = .247
    visible = false
    alignment = center
'	fgcolor = FFAA00FF
'	bgcolor = A0A0A08D
	'bgcolor = 0101018D
    scheme = HierarchyScheme
end

start SpritePanel AlienMembrane
    xpos = 0
    ypos = 0
    width = 1
    height = 1
    visible = false
    alignment = center
	basesprite = additivemembrane
	rendermode = additive
	valignment = top
	'basesprite = ns_solar
	'rendermode = alphatest
end

start PieMenu SoldierMenu
	xpos = 0
    ypos = 0
    width = 1
    height = 1
    visible = true
    fgcolor = 0000FFFF
    bgcolor = 7DA5D2AA
    nodexspacing = .135
    nodeyspacing = .12
    scheme = PieMenuScheme
	rootname = #MenuMarineRoot
	defaultimage = sprites/marinenode.spr
	connectorname = 
 
	' gesturing common for marines and squad leaders
	node1 = 4/#MenuComms/0
	node2 = 4/2/#MenuTalk/0
	node3 = 4/2/4/#MenuFollowMe/7
	node4 = 4/2/2/#MenuCovering/8
	node5 = 4/2/0/#MenuTaunt/9
	node6 = 4/6/#MenuYell/0
	node7 = 4/6/0/#MenuNeedHealth/10
	node8 = 4/6/6/#MenuNeedAmmo/11
	node9 = 4/6/4/#MenuInPosition/12
	node10 = 4/4/#MenuSay/0
	node11 = 4/4/2/#MenuMoveOut/14
	node12 = 4/4/4/#MenuEnemySpotted/13
	node13 = 4/4/6/#MenuAllClear/15

	' Need menu
	'	Health
	'	Ammo
	'	Commander
	' Tactics
	'	Covering you
	'	Follow me/let's move
	'	Enemy spotted
	' Banter
	'	Thanks
	'	Taunt
	'	
	
	' Use equipment
	node14 = 6/#MenuWeapon/0
	node15 = 6/4/#MenuReloadWeapon/2
	node16 = 6/0/#MenuDropWeapon/3
	' Switch between light and heavy weapon
	node17 = 6/6/#MenuNextWeapon/1

	node18 = 2/#MenuOrders/0
	node19 = 2/0/#MenuNeedOrder/80
	node20 = 2/4/#MenuAck/81

	' Administrative
	node21 = 0/#MenuAdmin/0
	node22 = 0/6/#MenuReadyRoom/5
	node23 = 0/2/#MenuVoteCommanderDown/6
end


start PieMenu AlienMenu
	xpos = 0
	ypos = 0
	width = 1
	height = 1
	visible = true
    fgcolor = FFFFFFFF
    bgcolor = FFAA00AA
    nodexspacing = .135
    'nodexspacing = .09
    nodeyspacing = .12
	scheme = PieMenuScheme
	rootname = #MenuAlienRoot
	defaultimage = sprites/aliennode.spr
	'connectorname = alienconnector
	connectorname = 

	' alien menu
	node1 = 0/#MenuAlienSmallMorph/0
 	node2 = 0/2/#MenuAlienMorphLevel1/113
	node3 = 0/6/#MenuAlienMorphLevel2/114
	node4 = 0/0/#MenuAlienBigMorph/0
	node5 = 0/0/2/#MenuAlienMorphLevel3/115
	node6 = 0/0/6/#MenuAlienMorphLevel4/116
	node7 = 0/0/0/#MenuAlienMorphLevel5/117

	'node8 = 2/#MenuAlienUpgrade/0
	'node9 = 2/0/#MenuAlienUpgradeArmor/0
	'node10 = 2/0/2/#MenuAlienUpgradeSpeed/94
	'node11 = 2/0/6/#MenuAlienUpgradeCloaking/96
	'node12 = 2/4/#MenuAlienUpgradeSouth/0
	'node13 = 2/4/2/#MenuAlienUpgradeRegeneration/98
	'node14 = 2/4/6/#MenuAlienUpgradeExoskeleton/95
	'
	''node12 = 2/2/#MenuAlienUpgradeRespawn/100
	''node15 = 2/4/2/#MenuAlienUpgradeCloaking/97
	''node17 = 2/4/6/#MenuAlienUpgradeInfravision/99

	node8 = 4/#MenuAlienComm/0
	node9 = 4/2/#MenuAlienCommSayingsWest/0
	node10 = 4/2/0/#MenuAlienCommSayingOne/7
	node11 = 4/2/2/#MenuAlienCommSayingTwo/8
	node12 = 4/2/4/#MenuAlienCommSayingThree/9
	node13 = 4/6/#MenuAlienCommSayingsEast/0
	node14 = 4/6/0/#MenuAlienCommSayingFour/10
	node15 = 4/6/6/#MenuAlienCommSayingFive/11
	node16 = 4/6/4/#MenuAlienCommSayingSix/12

	' Administrative
	node17 = 4/4/#MenuAlienReadyRoom/5

	node18 = 2/#MenuAlienUpgrade/0
	node19 = 2/0/#MenuAlienMovementChamber/94
	node20 = 2/0/0/#MenuAlienUpgradeMoveOne/107
	node21 = 2/0/2/#MenuAlienUpgradeMoveTwo/108
	node22 = 2/0/6/#MenuAlienUpgradeMoveThree/109
	node23 = 2/2/#MenuAlienSensoryChamber/93
	node24 = 2/2/4/#MenuAlienUpgradeSenOne/110
	node25 = 2/2/2/#MenuAlienUpgradeSenTwo/111
	node26 = 2/2/0/#MenuAlienUpgradeSenThree/112
	node27 = 2/4/#MenuAlienDefenseChamber/92
	node28 = 2/4/2/#MenuAlienUpgradeDefOne/101
	node29 = 2/4/4/#MenuAlienUpgradeDefTwo/102
	node30 = 2/4/6/#MenuAlienUpgradeDefThree/103

	node31 = 6/#MenuAlienBuild/0
	node32 = 6/0/#MenuAlienOffensiveChamber/91
	node33 = 6/4/#MenuAlienHive/95
	node34 = 6/6/#MenuAlienResourceTower/90
end

start MarqueeComponent SelectionBox
    xpos = 0
    ypos = 0
    width = .1
    height = .1
    visible = false
    alignment = center
	' 60% opacity
    fgcolor = 0000BB99
	' 20% opacity
    bgcolor = 0000BB33
end

start Label PieHelpText
    xpos = .35
    'ypos = .86
    ypos = .868
    width = .4
    height = .05
    visible = false
    alignment = center
    'fgcolor = 00ff0000
    'bgcolor = 0000000
    scheme = ActionButtonScheme
end

start Label NumUpgradesAvailableText
    xpos = .35
    'ypos = .86
    ypos = .868
    width = .4
    height = .05
    visible = false
    alignment = center
    'fgcolor = 00ff0000
    'bgcolor = 0000000
    scheme = ActionButtonScheme
end

start DummyPanel TheLastComponent
    xpos = 0
    ypos = 0
    width = .01
    height = .01
    visible = false
    alignment = center
end

