//--------------------------------------------------------------------------- 
// Visual configuration settings
//--------------------------------------------------------------------------- 

// common settings used by the entire game
Game
{
	// colors assigned to each possible faction, (R G B [A], 0 - 255)
	FactionColor(0)		15	45	215
	FactionColor(1)		20	109	3
	FactionColor(2)		140	20	20
	FactionColor(3)		233	115	7
	FactionColor(4)		112	5	169
	FactionColor(5)		64	240	176
	FactionColor(6)		245	245	245
	//FactionColor(7)		79	47	11
	FactionColor(7)		255	20	147
	FactionColor(8)		228	209	0
	FactionColor(9)		10	150	222
	FactionColor(10)	220	20	20	//	mob faction
	FactionColor(11)	120	120	120	//	ally/spectator faction
	FactionColor(12)	120	120	120	//	neutral	faction
	FactionColor(13)	138	122	120 //	maul halten
	FactionColor(14)	200	32	0 //	Iron Falcons
	FactionColor(15)	90	28	31 //	Utran
	FactionColor(16)	40	56	63 //	Leonidar
	FactionColor(17)	42	47	37 //	Iskander
	FactionColor(18)	57	39	26 //	Bane
	FactionColor(19)	30	30	30 //	Wolfguard
	
	
	

	// the colors below are used if the player chooses a simplified coloring scheme
	PlayerColor			10	150	222
	AllyColor			15	45	215
	EnemyColor			140	20	20
	
	// these colors are used for UI overlays like selection shapes
	UIPlayerColor		10	150	222
	UIAllyColor			15	45	215
	UIEnemyColor		140	20	20
	UINeutralColor		150 150 150
	
	// Colors for building placement preview (R G B A, each 0-255)
	BuildingPreviewValid			25	140	25	35
	BuildingPreviewInvalid			160	25	25	50
	BuildingPreviewDepleted			50	50	50	50
	BuildingObstacleValid			0	220	0	60
	BuildingObstacleInvalid			220	10	10	90
	BuildingObstacleDepleted		25	25	25	160

	// Color for world map highlighting
	WorldMapHighlightColor			255	255	160	180

	// whether to show only one or both sector's border posts on borders between two sectors belonging
	// to the same faction
	ShowFullInternalSectorBorders false

	// controls how 3D notification icons should be oriented, possible values:
	// Fixed:			Notification icons oriented in fixed (world space) angle
	// Automatic:		Notification icons are rotated automatically (continuously) by the code
	// Location:		Notification icons are rotated to match the heading of whatever they are attached to
	// CameraDefault:	Notification icons are rotated to face in the default direction of the player's camera
	// CameraDynamic:	Notification icons are rotated to face in the current direction of the player's camera
	NotifIconOrientation	CameraDefault

	// base scaling factor applied to all 3D notification icons
	NotifIconScaling 0.5

	// additional scaling applied to notification icons above creatures based on their size
	CreatureNotifIconScaling	Standard	0.5
	CreatureNotifIconScaling	Large		0.6
	CreatureNotifIconScaling	Huge		0.8
	CreatureNotifIconScaling	Colossal	1.0

	// how many seconds to wait after an area-based sound event change before allowing another change
	AreaSoundEventChangeCooldown	5.0

	// warning threshold in percent of maximum health below which heroes will trigger a "need healing" voiceline
	HealthWarningThreshold	30
	// minimum timout between "need healing" and similar voice lines in seconds
	VoiceFeedbackCooldown	10.0

	// description id of hero highlight effect
	HeroHighlightId 3150
	// description id of hero mouse over effect
	HeroMouseOverId 3151
	// description id of hero mouse click effect
	HeroMouseClickId 3152
	// description id of spell preview effect
	SpellPreviewId 3814
	// radius of the spell preview effect
	SpellPreviewRadius 50
	// minimun scale factor for the spell preview effect
	SpellPreviewScaleMin 0.2
	// maximum scale factor for the spell preview effect
	SpellPreviewScaleMax 10
	// color of the spell preview effect
	SpellPreviewColor 180 140 100 210
	// opposing color for the spell preview effect
	SpellPreviewOpposingColor 255 0 0 255

	// below are settings for different types of visual command feedback.
	// supported command types are: Move, Guard, AttackPosition, AttackEntity, SpellPosition, SpellEntity, Die, BuildSectorCenter
	// an entry for a specific command looks like this:
	// 
	// CommandFeedback <CommandType> [, <CommandType>]
	// {
	//		// identifier of the asset description to be used
	//		AssetId <asset description id>
	//
	//		// for how long (in seconds) the feedback marker should be displayed (if the asset has an animation, this value can be
	//		// set to -1 in order to remove the marker after playing the animation once)
	//		LifeTime	<number>
	//
	//		// size scale of the visual feedback entity (default is 1)
	//		Scale <number>
	//
	//		// relative offset of the visual marker from the target position (x, y, z)
	//		PositionOffset <number> <number> <number>
	//
	//		// rotational offset around the Y-axis in degrees (in case the asset isn't facing the right direction by default)
	//		RotationOffset <number>
	//		
	//		// event name (located in ui.bank) of a 2D UI sound to be played in addition to the regular sound associated with the asset
	//		UISound		"<event name>"
	//
	//		// event name (located in effects.bank) of a 3D sound to be played in addition to the regular sound associated with the asset
	//		// this sound can be adapted to the surface that was clicked
	//		WorldSound	"<event name>"
	// }

	CommandFeedback Move
	{
		AssetId			2116
		LifeTime		1.0
		Scale			0.3
		PositionOffset	0	0	0
		RotationOffset	90
		UISound			""
		WorldSound		"command_move_release"
	}

	CommandFeedback AttackPosition
	{
		AssetId			2151
		LifeTime		0.75
		Scale			0.3
		PositionOffset	0	0	0
		RotationOffset	90
		UISound			""
		WorldSound		""
	}
	
	CommandFeedback AttackEntity
	{
		AssetId			2151
		LifeTime		0.75
		Scale			0.3
		PositionOffset	0	0	0
		RotationOffset	90
		UISound			""
		WorldSound		""
	}

	CommandFeedback Die
	{
		AssetId			203
		LifeTime		-1
		Scale			5.0
		PositionOffset	0	0	0
		RotationOffset	0
		UISound			""
		WorldSound		""
	}

	// minimum time in seconds that needs to pass between voiced creature aggro sounds
	CreatureAggroVoiceCooldown	20.0

	FeedbackURL		"https://docs.google.com/forms/d/e/1FAIpQLScaPaUIbCEhChCmtrIo1yWBCG5SBCaXKhsN4XlU-IjZf9asJg/viewform"
	BugReportURL	"https://redmine.thqnordic.com/projects/spellforce-3-beta-public/issues/new"
	PreorderURL		"https://www.gog.com/game/spellforce_iii"

	// horizontal distance factor from camera to main audio listener. 0 = at camera position, 1 = at target position
	CameraListenerDistanceHor	1.0
	// vertical distance factor from camera to main audio listener. 0 = at camera height, 1 = at target height
	// Default: CameraListenerDistanceVert	0.5
 	CameraListenerDistanceVert	0.1
 	// minimum/maximum vertical distance from listener position to target position
 	ListenerHeightRange	200	500
 	
 	// maximum distance from the main listener at which creature sound events can be played
 	MaxCreatureSoundDistance	1000.0
}

// settings affecting the behavior of the default in-game camera
Camera
{
	// camera elevation (0 is parallel to ground, 1 is straight down)
	Elevation			0.82
	// field of view of the camera in degrees
	FOV					21
	// minimum distance of camera from target
	MinDistance			210
	// maximum distance of camera from target
	MaxDistance			840
	// responsiveness of camera (0 means no response at all, 1 is instant)
	InterpolationSpeed	0.09
	// default map edge distance
	MapEdgeDistance		-150.0
	// collision radius for camera, to prevent it from getting too close to the ground
	CollisionRadius		60.0

	// adapted values for follow camera/direct control mode
	Elevation_DC			0.65
	FOV_DC					35.0
	MinDistance_DC			50.0
	MaxDistance_DC			300.0
	CollisionRadius_DC		10.0
	NearClippingPlane_DC	10.0
	FarClippingPlane_DC		2000.0
}

// settings used by the 2D user interface
UI
{
	// color of sector borders on the minimap
	MinimapSectorBorderColor		255	215	0	200
	// color of roads on the minimap
	MinimapRoadColor				180	180	0	128
	// transparency of sector faction colors on the minimap (0-255)
	MinimapSectorAlpha				96
	// opacity multiplier applied to icons of entities that were previously discovered but have since been hidden by the fog of war
	MinimapHiddenOpacityMultiplier	0.2
	// maximum distance (world coordinates) within which to group resource deposit icons on the minimap
	MinimapResourceGroupingRange	100
	// maximum distance (world coordinates) within which to group resource deposit icons in the viewport
	ViewportResourceGroupingRange	100

	// color of casting progress bar (R G B A, each 0-255)
	CastingBarColor			255	255	0	255

	// color of interaction progress bar (R G B A, each 0-255)
	InteractBarColor		255	0	255	255

	// Color of progressbars used in the UI
	ProgressBarColor				0	255	0	255
	// border width of a progress bar
	ProgressBarBorder				2	2

	// use viewport buttons for constructing expansions or 3d world preview?
	UseViewportExpansionButtons		false

	// Exploration banner cooldown
	ExplorationBannerCooldown 	30.0
	
	// the original resolution for which the UI was designed (used to decide correct UI scaling)
	TargetResolution		3840	2160
	// default size for scrollbar sliders at TargetResolution
	ScrollBarSliderSize		21

	// size constraints for the text in certain windows (at TargetResolution): MinWidth MinHeight MaxWidth MaxHeight (0 for no limit)
	// dialogue speech bubbles
	DialogueTextConstraints		900	164		900	0
	// tutorial window
	TutorialTextConstraints		0		0		800	800
	// inspection popup window
	InspectionTextConstraints	0		0		600		500

	// opactiy of the dialogue window for shoutouts
	DialogueShoutoutOpacity	1.0

	// how long a notification popup remains visible on the screen (in seconds)
	NotifPopupLifeTime	6.0
	// time in seconds that popups take to fade in
	NotifPopupFadeIn	0.5
	// time in seconds that popups take to fade out
	NotifPopupFadeOut	1.2
	// time in seconds for which floating notification popups remain on screen
	NotifFloatingPopupLifeTime 2.0
	// how long a minimap marker remains visible after the beginning of an event (in seconds)
	NotifMarkerLifeTime	2.0
	// size of one frame of the minimap marker animation on its sprite sheet
	NotifMarkerSize		256	256
	// how many frames of the marker animation should be played per second?
	NotifMarkerFPS		24.0
	// number of frames in the minimap marker animation
	NotifMarkerFrames	24
	// spacing between individual notification icons for a single location
	NotifIconSpacing	4	4
	// spacing between notification popups
	NotifPopupSpacing	0
	// minimum opacity of notifications in the list view when not near the mouse (0-255)
	NotifHistoryMinOpacity	120
	// controls how many entries a notification may be away from the mouse before reaching minimum opacity
	NotifHistoryOpacityDistance	3.0
	// maximum number of notifications stored in the notification history list
	NotifHistorySize	30
	// how long a centered notification remains visible on the screen (in seconds)
	NotifCenteredLifeTime	2.0
	// time in seconds that a centered notification takes to fade in
	NotifCenteredFadeIn		0.5
	// time in seconds that a centered notification takes to fade out
	NotifCenteredFadeOut	1.0

	// settings controling how the control grid window will unfold
	ControlGridUnfold
	{
		// in which direction should the window unfold
		Direction				Up
		// how far should the window move when folding/unfolding
		Distance				500
		// should the tier buttons move with the window or remain at a fixed position?
		FreezeTierButtonPos		false
		// should the fold/unfold button move with the window or remain at a fixed position?
		FreezeUnfoldButtonPos	false
	}

	// settings controling how the list grid window will unfold
	ListGridUnfold
	{
		// in which direction should the window unfold
		Direction				Up
		// how far should the window move when folding/unfolding
		Distance				500
		// should the tier buttons move with the window or remain at a fixed position?
		FreezeTierButtonPos		true
		// should the fold/unfold button move with the window or remain at a fixed position?
		FreezeUnfoldButtonPos	true
	}

	// common ui sound to be played when the mouse button is pressed down
	CommandPressSound ""

	// UI layer sorting offset for individual layers
	// LayerOffset(<LayerIndex>) <Desired Offset (<= 255)>
	LayerOffset( 2)		245	// ToolTip
	LayerOffset( 3)		70	// New_Minimap
	LayerOffset( 5)		70	// New_ControlGrid_BuildingProduction
	LayerOffset( 6)		80	// New_Bottombar
	LayerOffset( 8)		250	// NetworkDebug
	LayerOffset( 9)		200	// NetworkServerLobby
	LayerOffset(10)		200	// NetworkGameSession
	LayerOffset(13)		80	// New_GlobalEconomyDisplay
	LayerOffset(14)		110	// New_Minimap_Maximized
	LayerOffset(15)		187	// ReplayControl
	LayerOffset(16)		65	// NotificationPopupDefault
	LayerOffset(17)		65	// NotificationSystem
	LayerOffset(21)		80	// GroupSelection
	LayerOffset(23)		70	// New_ControlGrid_Creature
	LayerOffset(25)		65	// NotificationPopupHostile
	LayerOffset(27)		80	// New_HeroPanel
	LayerOffset(29)		110	// New_HeroScreen
	LayerOffset(30)		110	// New_HeroScreenInventory
	LayerOffset(31)		110	// New_Hero_Loot_Inventory
	LayerOffset(32)		200	// IngamePauseMenu
	LayerOffset(34)		20	// StaticResourceDepositGroups
	LayerOffset(35)		30	// WorkerWindow
	LayerOffset(37)		30	// ResourceWindow
	LayerOffset(39)		25	// DynamicResourceDepositGroups
	LayerOffset(40)		85	// VersionDisplay
	LayerOffset(41)		35	// ExpansionControl
	LayerOffset(42)		78	// New_ExperienceBar
	LayerOffset(43)		110	// New_HeroScreen_Attributes
	LayerOffset(44)		0	// InventoryItemSlot
	LayerOffset(45)		110	// New_HeroScreenTalentTree
	LayerOffset(46)		111	// New_HeroScreenTalents
	LayerOffset(47)		250	// DevConsole
	LayerOffset(48)		180	// TutorialWindow
	LayerOffset(49)		220	// NetworkCreateSession
	LayerOffset(50)		220	// NetworkJoinSession
	LayerOffset(51)		210	// NetworkGameSessionSkirmish
	LayerOffset(52)		210	// NetworkGameSessionCampaign
	LayerOffset(53)		210	// NetworkGameSessionPrivRow
	LayerOffset(54)		210	// NetworkGameSessionFactionRow
	LayerOffset(55)		90	// ReviveCharge
	LayerOffset(56)		210	// NetworkGameSessionPrivRowSmall
	LayerOffset(57)		110	// New_HeroTradeWindow
	LayerOffset(58)		130	// New_ReadItemWindow
	LayerOffset(59)		120	// SplitItemWindow
	LayerOffset(62)		110	// Godstone
	LayerOffset(63)		190	// MenuBase
	LayerOffset(64)		230	// MenuMultiplayer
	LayerOffset(65)		230	// MenuMain
	LayerOffset(66)		220	// NetworkPlayerName
	LayerOffset(67)		220	// NetworkInternetLogin
	LayerOffset(68)		221	// NetworkCreateAccount
	LayerOffset(69)		225	// NetworkPopupMessage
	LayerOffset(70)		110	// New_HeroScreen_Quests
	LayerOffset(71)		111	// New_HeroScreen_Quests_ListHeadingQuest
	LayerOffset(72)		111	// New_HeroScreen_Quests_ListEntryQuest
	LayerOffset(73)		111	// New_HeroScreen_Quests_ListHeadingObjectives
	LayerOffset(74)		111	// New_HeroScreen_Quests_ListEntryObjective
	LayerOffset(75)		111	// New_HeroScreen_Quests_ListEntrySubObjective
	LayerOffset(77)		210	// NetworkServerLobbyRG
	LayerOffset(84)		220	// NetworkConnectToIP
	LayerOffset(87)		70	// New_ControlGrid_BuildingConstruction
	LayerOffset(93)		110	// NetworkIngameChat
	LayerOffset(94)		70	// Midconsole
	LayerOffset(95)		60	// DialogueWindow
	LayerOffset(96)		50	// InspectionPopup
	LayerOffset(98)		77	// BackdropBottomBar
	LayerOffset(99)		70	// New_MidconsoleRightSection
	LayerOffset(100)	70	// New_MidconsoleLeftSection
	LayerOffset(101)	70	// New_Unit_Control
	LayerOffset(104)	71	// New_OwnBuilding_Infopanel
	LayerOffset(105)	71	// New_OwnTownHall_Infopanel
	LayerOffset(106)	71	// New_EnemyBuilding_Infopanel
	LayerOffset(107)	110	// New_HeroScreenSpellbook
	LayerOffset(108)	111	// New_SpellbookActionGroups
	LayerOffset(112)	71	// New_Worker_InfoPanel
	LayerOffset(113)	71	// New_Transport_InfoPanel
	LayerOffset(114)	70	// New_Building_AssignmentSlots
	LayerOffset(116)	72	// WorkerWindow_FreeWorkersSmall
	LayerOffset(118)	112	// New_SpellbookActionGroups_Item
	LayerOffset(119)	110	// New_ProgressionScreen
	LayerOffset(120)	210	// NetworkSessionMapsList
	LayerOffset(121)	209	// NetworkSessionMapsListEntry
	LayerOffset(122)	230	// MenuOptions
	LayerOffset(123)	230	// MenuOptionsGeneral
	LayerOffset(124)	230	// MenuOptionsUI
	LayerOffset(125)	230	// MenuOptionsSound
	LayerOffset(126)	230	// MenuOptionsDisplay
	LayerOffset(127)	230	// MenuOptionsControls
	LayerOffset(129)	237	// MenuOptions_DropdownEntry
	LayerOffset(132)	65	// ExplorationBanner
	LayerOffset(133)	90	// ActionGroupSelection
	LayerOffset(135)	230	// MenuCampaign
	LayerOffset(136)	235	// MenuCampaignNew
	LayerOffset(137)	235	// MenuLoad
	LayerOffset(138)	236	// MenuCampaign_ListEntry
	LayerOffset(139)	236	// MenuOptions_ControlListEntry
	LayerOffset(140)	238	// MenuOptionsControls_Remap
	LayerOffset(141)	240	// MenuPopupDecision
	LayerOffset(142)	80	// Timer_List
	LayerOffset(143)	81	// Timer_Entry
	LayerOffset(144)	60	// DialogueWindow_Cutscene
	LayerOffset(145)	170	// ClickAndFight_HealthModule
	LayerOffset(146)	170	// ClickAndFight_FocusModule
	LayerOffset(147)	170	// ClickAndFight_SpellsModule
	LayerOffset(148)	170	// ClickAndFight_Container
	LayerOffset(149)	170	// ClickAndFight_ConditionsModule
	LayerOffset(153)	111	// New_Progressionscreen_Category
	LayerOffset(154)	112	// New_ProgressionScreen_Details
	LayerOffset(155)	170	// ClickAndFight_ResistancesModule
	LayerOffset(156)	113	// New_ProgressionScreen_Upgrade
	LayerOffset(157)	80	// CharacterCreation
	LayerOffset(158)	45	// NotificationPopupFloating
	LayerOffset(159)	81	// CharacterCreation_Attributes
	LayerOffset(160)	110	// HeroScreen_DialogueHistory
	LayerOffset(161)	81	// CharacterCreation_Appearance
	LayerOffset(162)	81	// CharacterCreation_RPG
	LayerOffset(163)	80	// CharacterCreation_TopBar
	LayerOffset(165)	80	// CharacterCreation_BottomBar
	LayerOffset(166)	110	// New_GlossaryScreen
	LayerOffset(168)	112	// New_GlossaryScreen_ListHeading
	LayerOffset(169)	111	// New_GlossaryScreen_ListEntry
	LayerOffset(170)	112	// New_GlossaryScreen_InfoPanel
	LayerOffset(171)	111	// MinimapResources
	LayerOffset(173)	0	// EquipmentItemContextMenu
	LayerOffset(174)	0	// EquipmentItemContextMenu_Item
	LayerOffset(175)	81	// HeroConsumableUsage
	LayerOffset(179)	252	// LoadingScreen
	LayerOffset(180)	252	// LoadingScreen_Player
	LayerOffset(181)	252	// LoadingScreen_Framing
	LayerOffset(182)	252	// LoadingScreen_TopBorder
	LayerOffset(183)	252	// LoadingScreen_TopOrnament
	LayerOffset(184)	252	// LoadingScreen_ProgressBottom
	LayerOffset(185)	252	// LoadingScreen_ProgressOverlay
	LayerOffset(186)	252	// LoadingScreen_ProgressTop
	LayerOffset(187)	80	// WordMapVillageBanner
	LayerOffset(188)	81	// WordMapVillageActive
	LayerOffset(192)	112	// New_HeroAbilityLevels
	LayerOffset(193)	239	// Changelog
	LayerOffset(194)	29	// BuildingViewportWindowBackground
	LayerOffset(195)	239	// MPBetaGreeting
	LayerOffset(197)	210	// NetworkServerLobbySessionListEntry
	LayerOffset(198)	81	// LevelupNotification
	LayerOffset(199)	30	// WorkerWindow_FreeWorkers
	LayerOffset(200)	210	// NetworkServerLobbyPlayerListEntry
	LayerOffset(201)	79	// New_Heropanel_Backdrop
	LayerOffset(205)	0	// TooltipElement_Text
	LayerOffset(206)	0	// TooltipElement_ValueDefault
	LayerOffset(207)	0	// TooltipElement_Resource
	LayerOffset(208)	0	// TooltipElement_Resources
	LayerOffset(209)	0	// TooltipElement_StatusTextNegative
	LayerOffset(210)	41	// HPBar_Creatures
	LayerOffset(211)	40	// HPBar_Buildings
	LayerOffset(212)	42	// HPBar_Heroes
	LayerOffset(213)	230	// GameResult
	LayerOffset(215)	231	// GameResultListEntryMilitary
	LayerOffset(216)	231	// GameResultListEntryEconomy
	LayerOffset(217)	231	// GameResultListEntryHeroes
	LayerOffset(218)	231	// GameResultListEntrySummary
	LayerOffset(219)	0	// TooltipElement_DamageTypes
	LayerOffset(220)	0	// TooltipElement_ValuePair
	LayerOffset(221)	0	// TooltipElement_Price
	LayerOffset(222)	0	// TooltipElement_ValueDamage
	LayerOffset(223)	0	// TooltipElement_Resistances
	LayerOffset(226)	0	// TooltipElement_ValueHealth
	LayerOffset(227)	0	// TooltipElement_ValueFocus
	LayerOffset(228)	0	// TooltipElement_StatusTextPositive
	LayerOffset(229)	185	// GameResult_Enable
	LayerOffset(230)	231	// GameResult_ListEntryEconomy_Header
	LayerOffset(231)	231	// GameResult_ListEntrySummary_Header
	LayerOffset(232)	231	// GameResult_ListEntryHeroes_Header
	LayerOffset(233)	231	// GameResult_ListEntryMilitary_Header
	LayerOffset(234)	182	// WorldMap_TravelConfirmation
	LayerOffset(235)	183	// WorldMap_RaceSelection
	LayerOffset(236)	63	// QuestNotification_Completed
	LayerOffset(237)	63	// QuestNotification_Updated
	LayerOffset(238)	63	// QuestNotification_Failed
	LayerOffset(239)	63	// QuestNotification_Received
	LayerOffset(240)	80	// QuestTracker
	LayerOffset(241)	81	// QuestTracker_Quest
	LayerOffset(242)	81	// QuestTracker_Task
	LayerOffset(243)	81	// QuestTracker_SubTask
	LayerOffset(244)	0	// DialogueAnchors
	LayerOffset(245)	0	// DialogueIndicator
	LayerOffset(246)	0	// TooltipElement_EffectText
	LayerOffset(247)	0	// TooltipElement_IconText
	LayerOffset(248)	0	// TooltipElement_IconTextCondition
	LayerOffset(249)	78	// NetworkPlayerList_Statistics
	LayerOffset(250)	79	// NetworkPlayerListEntry_Statistics
	LayerOffset(251)	65	// NotificationVictory
	LayerOffset(252)	65	// NotificationDefeat
	LayerOffset(253)	0	// TooltipElement_EntitySelection
	LayerOffset(254)	80	// NetworkPlayerList_ButtonOverlay
	LayerOffset(256)	0	// TooltipElement_ValuePairItem
	LayerOffset(257)	0	// TooltipElement_Quest
	LayerOffset(258)	0	// TooltipElement_QuestTask
	LayerOffset(259)	0	// TooltipElement_QuestSubTask
	LayerOffset(260)	140	// ArchfireSelection
	LayerOffset(261)	79	// New_ExperienceBarOverlay
	LayerOffset(262)	78	// NetworkPlayerList_Domination
	LayerOffset(263)	79	// NetworkPlayerListEntry_Domination
	LayerOffset(264)	79	// NetworkPlayerListEntry_StatisticsTeam
	LayerOffset(265)	79	// NetworkPlayerListEntry_DominationTeam
	LayerOffset(266)	63	// DominationNotification_Positive
	LayerOffset(267)	63	// DominationNotification_Negative
	LayerOffset(268)	63	// DominationNotification_Neutral
	LayerOffset(269)	110	// New_Minimap_Maximized_Resources
	LayerOffset(270)	109	// New_Minimap_Maximized_BottomBorder
	LayerOffset(273)	111	// New_GlossaryScreen_ContentCreature
	LayerOffset(274)	100	// HeroSelection
	LayerOffset(276)	71	// New_Creature_InfoPanel_new
	LayerOffset(277)	71	// New_OwnSentry_Infopanel
	LayerOffset(278)	236	// MenuOptionsElementCheckbox
	LayerOffset(279)	236	// MenuOptionsElementSlider
	LayerOffset(280)	236	// MenuOptionsElementDropDown
	LayerOffset(281)	236	// MenuOptionsElementHeader
	LayerOffset(282)	236	// MenuCampaignSelectScenario
	LayerOffset(283)	71	// New_OwnChargeBuilding_Infopanel
	LayerOffset(284)	71	// New_FactionOverlay
	LayerOffset(285)	180	// QuestRewardSelection
	LayerOffset(286)	111	// New_GlossaryScreen_ContentCreatures
	LayerOffset(287)	111	// New_GlossaryScreen_ContentText
	LayerOffset(288)	111	// New_GlossaryScreen_ContentVideo
	LayerOffset(289)	112	// New_GlossaryScreen_CreatureEntry
	LayerOffset(290)	89	// ReviveCharge_AdditionalInfo
	LayerOffset(291)	250	// zDEBUG_DialogueSimulator
	LayerOffset(292)	251	// zDEBUG_DialogueSimulator_ListEntry
	LayerOffset(293)	100	// WorldMap_TravelConfirmation_Fullscreen
	LayerOffset(294)	101	// WorldMap_RaceSelection_Fullscreen
	LayerOffset(295)	115	// New_HeroScreen_ApplyButton
	LayerOffset(296)	112	// New_GlossaryScreen_StatusEffectsEntry
	LayerOffset(297)	80	// CharacterCreation_TalentTreePreview
	LayerOffset(298)	111	// New_GlossaryScreen_ContentStatusEffects
	LayerOffset(299)	81	// QuestTracker_Location
	LayerOffset(300)	0	// TooltipElement_FlavorText
	LayerOffset(301)	112	// New_GlossaryScreen_NoImage
	LayerOffset(302)	200	// DefeatScreen
	LayerOffset(303)	63	// Notification_AbilityUnlocked
	LayerOffset(304)	239	// Difficulty
	LayerOffset(305)	85	// WorldMapVillage_Description
	LayerOffset(306)	85	// WorldMapVillage_QuestHeading
	LayerOffset(307)	85	// WorldMapVillage_Quest
	LayerOffset(308)	30	// ResourceWindow_TownHall
	LayerOffset(309)	210	// NetworkSessionCampaignDropdown
	LayerOffset(310)	71	// New_OwnProcessorBuilding_Infopanel
	LayerOffset(311)	200	// NetworkGameSessionCoop
	LayerOffset(312)	240	// MenuPopupDecision_Centered
	LayerOffset(313)	0	// QuestTracker_ClaimReward
	LayerOffset(314)	80	// CharacterCreation_AppearanceBackground
	LayerOffset(315)	80	// CharacterCreation_RPGBackground
	LayerOffset(316)	70	// MidconsoleSimple
	LayerOffset(317)	60	// DialogueWindow_Unimportant
	LayerOffset(318)	60	// DialogueWindow_Cutscene_Unimportant
	LayerOffset(319)	0	// CreditsTitleBig
	LayerOffset(320)	0	// CreditsName
	LayerOffset(321)	0	// CreditsTitleSmall
	LayerOffset(322)	0	// CreditsEmpty
	LayerOffset(323)	90	// WorldMap
	LayerOffset(324)	0	// CreditsBanner
	LayerOffset(325)	0	// CreditsImage
	
	CreatureIconSize		256
	BuildingIconSize		256
	BuildingIconSimpleSize	128
	ResourceIconSize		128
	ActionIconSize			128
	TechnologyIconSize		128
	BlueprintIconSize		64
	NotificationIconSize	64
	ItemIconSize			128
	SpellIconSize			64
	PerkIconSize			64
	ConditionIconSize		64
	StatusIconSize			48
	DamageTypeIconSize		64
}

// settings for buildings
Buildings
{
	// Retreat
	Action 0
	{
		// icon column/row index to display for this action
		Icon	0	0
	}

	// Open godstone portal
	Action 3
	{
		// icon column/row index to display for this action
		Icon	3	0
	}

	//SI Energy Altar Food Delivery
	Action 4
	{
		Icon 2 2
	}		

	//SI Energy Altar Wood Delivery
	Action 5
	{
		Icon 2 1
	}	

	//SI Energy Altar Iron Delivery
	Action 6
	{
		Icon 1 1
	}		

	//Summon Elf Titan Resource delivery Food
	Action 7
	{
		Icon 2 2
	}

	//Summon Elf Titan Resource delivery Wood
	Action 8
	{
		Icon 2 1
	}	

	//Summon Elf Titan Resource delivery Lenya
	Action 9
	{
		Icon 3 1
	}		

	//Summon Human Titan Resource delivery
	Action 9
	{
		Icon 1 0
	}		

	//AB1 Wall Hole
	Action 11
	{
		Icon 2 2
	}

	//AB1 Wave Upgrades
	Action 12
	{
		Icon 1 0
	}

	Action 13
	{
		Icon 1 0
	}

	//SI Portal Repair
	Action 13
	{
		Icon 1 0
	}

	//WF Artefact Altar Aria
	Action 15
	{
		Icon 0 2
	}	

	//WF Artefact Altar Black Ash
	Action 16
	{
		Icon 1 2
	}	

	//WF Artefact Altar Lenya
	Action 17
	{
		Icon 3 1
	}			
	
}

// settings used by the in-world selection visualization system
Selection
{
	// if true, a creature's selection border/highlight will be rotated to match the creature's heading
	AdjustBorderToCreatureHeading	true
	
	// the shape displayed around each creature is a regular n-gon with the below number of corners
	// 25 seems to be a close enough approximation of a circle for now
	CreatureBorderVertices			36

	// transparency of the border displayed around selected entities (0 - 255)
	BorderAlpha						200
	// same as above, used for parts of the border hidden behind objects
	ObstructedBorderAlpha			0

	// width of border (using the creature's faction color) to be drawn around selected creatures
	BorderWidthCreatures			0.75
	// same as above, for buildings
	BorderWidthBuildings			2.0

	// vertical offset of selection borders relative to a selected creature's origin
	BorderYOffsetCreatures			0.25
	// same as above, for buildings
	BorderYOffsetBuildings			2.0
	// same as above, for resource deposits
	BorderYOffsetResourceDeposits	2.0
	
	// if true, a character's selection border/highlight will be rotated to match the character's heading
	AdjustBorderToCharacterHeading	false
	// the triangles displayed around each character
	CharacterBorderTriangles		3
	// transparency of the border displayed around selected characters (0 - 255)
	CharacterBorderAlpha			200
	// same as above, used for parts of the border hidden behind objects
	CharacterObstructedBorderAlpha	0
	// width of border (using either the specified color or the character's faction color) to be drawn around selected characters
	BorderWidthCharacters			1.6
	// Offset from border in which triangles will be drawn
	TriangleOffsetToBorder			1.2
	// Width of the triangles surrounding the character
	TriangleWidth					4.0
	// Height of the triangles surrounding the character
	TriangleHeight					3.0
	// Rotation offset in degrees for the highlighted triangles
	TriangleHighlightRotationOffset	180.0
	// Pattern in which the selection border of characters will be extruded
	CharacterBorderPattern 			0.0 0.0 0.0 0.0
	// Whether to use character or faction color
	UseCharacterBorderColor			true
	// The border color used if bUseCharacterBorderColor is true (if false faction color will be utilized)
	CharacterBorderColor			140	140	140	180
	
	// color of additional border drawn around entities under the player's mouse cursor (R G B A, 0 - 255)
	//HighlightColor				255	255	255	128
	HighlightColor					100	100	100	128
	// same as above, used for parts of the highlight hidden behind objects
	ObstructedHighlightColor		70	70	70	0
	// width of additional border drawn around highlighted creatures
	HighlightBorderWidthCreatures	0.5
	// same as above, for buildings
	HighlightBorderWidthBuildings	1.0

	// color of highlight border around entities when targeted by abilities (R G B A, 0 - 255)
	TargetColor						255	255	0	128
	// same as above, used for parts of the highlight hidden behind objects
	ObstructedTargetColor			200	200	0	64

	// time in seconds for one complete "pulse" of the selection border's color
	PulsePeriod						1.5
	// amount by which the base (faction) color of a selection border varies over the time of one pulse period
	// (e.g. for a value of 0.3, the color would vary between base color * 0.7 and base color * 1.3)
	PulseFactorBorder				0.0
	// same as above, used for parts of the border hidden behind objects
	PulseFactorObstructedBorder		0.0
	// same as above, for the highlight border
	PulseFactorHighlight			0.7
	// same as above, used for parts of the highlight hidden behind objects
	PulseFactorObstructedHighlight	0.35

	// number of clicks required before workers get annoyed
	MinWorkerAnnoyanceClicks	3
	// number of worker annoyance levels
	WorkerAnnoyanceLevels		4
	// cooldown in seconds until worker annoyance resets
	WorkerAnnoyanceCooldown		60
}

Avatar
{
	// Body <Gender> <BodyVariantIndex> [, <BodyVariantIndex>, ...]
	
	// Male Medium
	Body	Male	0
	{
		// scale factor applied to characters using this body
		Scale	1.0

		// Head <VariantIndex> [, <VariantIndex>, ...]
		Head	0
		{
			// Hair <VariantIndex> [, <VariantIndex>, ...]
			Hair	0,8,16,24,32,40,48,56,255
			// Beard or other factial accessory, uses body slot Misc10
			// Accessory <VariantIndex> [, <VariantIndex>, ...]
			Accessory	255,0,8,16,24,32,40,48,56
		}
		
		Head	 1
		{
			
			Hair	 	1,9,17,25,33,41,49,57,255
			
			Accessory 	255,1,9,17,25,33,41,49,57
		}
		
		Head	 2
		{
			
			Hair	 	2,10,18,26,34,42,50,58,255
			
			Accessory 	255,2,10,18,26,34,42,50,58
		}
		
		Head	 3
		{
			
			Hair 		3,11,19,27,35,43,51,59,255
			
			Accessory 	255,3,11,19,27,35,43,51,59
		}
		
		Head	 4
		{
			
			Hair		4,12,20,28,36,44,52,60,255
			
			Accessory 	255,4,12,20,28,36,44,52,60
		}
		
		Head	 5
		{
			
			Hair	 	5,13,21,29,37,45,53,61,255
			
			Accessory 	255,5,13,21,29,37,45,53,61
		}
		
		Head	 6
		{
			
			Hair	 	6,14,22,30,38,46,54,62,255
			
			Accessory 	255,6,14,22,30,38,46,54,62
		}
		
		Head	 7
		{
			
			Hair		7,15,23,31,39,47,55,63,255
			
			Accessory 	255,7,15,23,31,39,47,55,63
		}
	}
	
	// Male Heavy
	Body	Male	1
	{
		// scale factor applied to characters using this body
		Scale	1.07

		Head	8
		{
			
			Hair	 	64,72,80,88,96,104,112,120,255
			
			Accessory 	255,64,72,80,88,96,104,112,120
		}
		
		Head	 9
		{
			
			Hair 		65,73,81,89,97,105,113,121,255
			
			Accessory 	255,65,73,81,89,97,105,113,121
		}
		
		Head	 10
		{
			
			Hair	 	66,74,82,90,98,106,114,122,255
			
			Accessory 	255,66,74,82,90,98,106,114,122
		}
		
		Head	 11
		{
			
			Hair	 	67,75,83,91,99,107,115,123,255
			
			Accessory 	255,67,75,83,91,99,107,115,123
		}
		
		Head	 12
		{
			
			Hair	 	68,76,84,92,100,108,116,124,255
			
			Accessory 	255,68,76,84,92,100,108,116,124
		}
		
		Head	 13
		{
			
			Hair	 	69,77,85,93,101,109,117,125,255
			
			Accessory 	255,69,77,85,93,101,109,117,125
		}
		
		Head	 14
		{
			
			Hair	 	70,78,86,94,102,110,118,126,255
			
			Accessory 	255,70,78,86,94,102,110,118,126
		}
		
		Head	 15
		{
			
			Hair 		71,79,87,95,103,111,119,127,255
			
			Accessory 	255,71,79,87,95,103,111,119,127
		}
	}

	// Male Heavy 2
	Body	Male	2
	{
		// scale factor applied to characters using this body
		Scale	1.04

		Head	8
		{
			
			Hair	 	64,72,80,88,96,104,112,120,255
			
			Accessory 	255,64,72,80,88,96,104,112,120
		}
		
		Head	 9
		{
			
			Hair 		65,73,81,89,97,105,113,121,255
			
			Accessory 	255,65,73,81,89,97,105,113,121
		}
		
		Head	 10
		{
			
			Hair	 	66,74,82,90,98,106,114,122,255
			
			Accessory 	255,66,74,82,90,98,106,114,122
		}
		
		Head	 11
		{
			
			Hair	 	67,75,83,91,99,107,115,123,255
			
			Accessory 	255,67,75,83,91,99,107,115,123
		}
		
		Head	 12
		{
			
			Hair	 	68,76,84,92,100,108,116,124,255
			
			Accessory 	255,68,76,84,92,100,108,116,124
		}
		
		Head	 13
		{
			
			Hair	 	69,77,85,93,101,109,117,125,255
			
			Accessory 	255,69,77,85,93,101,109,117,125
		}
		
		Head	 14
		{
			
			Hair	 	70,78,86,94,102,110,118,126,255
			
			Accessory 	255,70,78,86,94,102,110,118,126
		}
		
		Head	 15
		{
			
			Hair 		71,79,87,95,103,111,119,127,255
			
			Accessory 	255,71,79,87,95,103,111,119,127
		}
	}
	
	
	// Female Medium
	Body	Female	0
	{
		// scale factor applied to characters using this body
		Scale	1.0

		Head	0
		{
			Hair	0,6,12,18,24,30,36,42,255
			
			Accessory
		}
		
		Head	1
		{
			Hair	1,7,13,19,25,31,37,43,255
			
			Accessory
		}
		
		Head	2
		{
			Hair	2,8,14,20,26,32,38,44,255
			
			Accessory
		}
		
		Head	3
		{
			Hair	3,9,15,21,27,33,39,45,255
			
			Accessory
		}
		
		Head	4
		{
			Hair	4,10,16,22,28,34,40,46,255
			
			Accessory
		}
		
		Head	5
		{
			Hair	5,11,17,23,29,35,41,47,255
			
			Accessory
		}
	}	

	
	// Female Heavy
	Body	Female	1
	{
		// scale factor applied to characters using this body
		Scale	1.06

		Head	8
		{
			Hair	48,54,60,66,72,78,84,255
			
			Accessory
		}
		
		Head	9
		{
			Hair	49,55,61,67,73,79,85,255
			
			Accessory
		}
		
		Head	10
		{
			Hair	50,56,62,68,74,80,86,255
			
			Accessory
		}
		
		Head	11
		{
			Hair	51,57,63,69,75,81,87,255
			
			Accessory
		}
		
		Head	12
		{
			Hair	52,58,64,70,76,82,88,255
			
			Accessory
		}
		
		Head	13
		{
			Hair	53,59,65,71,77,83,89,255
			
			Accessory
		}
	}
	
	// Female Heavy 2
	Body	Female	2
	{
		// scale factor applied to characters using this body
		Scale	1.04

		Head	8
		{
			Hair	48,54,60,66,72,78,84,255
			
			Accessory
		}
		
		Head	9
		{
			Hair	49,55,61,67,73,79,85,255
			
			Accessory
		}
		
		Head	10
		{
			Hair	50,56,62,68,74,80,86,255
			
			Accessory
		}
		
		Head	11
		{
			Hair	51,57,63,69,75,81,87,255
			
			Accessory
		}
		
		Head	12
		{
			Hair	52,58,64,70,76,82,88,255
			
			Accessory
		}
		
		Head	13
		{
			Hair	53,59,65,71,77,83,89,255
			
			Accessory
		}
	}

								// Index
	SkinColor	147	114	97		// 0
	SkinColor	121	92	77		// 1
	SkinColor	66	54	45		// 2
	SkinColor	150	120	95		// 3
	SkinColor	51	40	32		// 4
	SkinColor	109	89	79		// 5
	SkinColor	160	114	97		// 6
	SkinColor	105	115	130		// 7
	SkinColor	147	132	97		// 8
	SkinColor	160	98	82		// 9

	HairColor	45	39	34		// 0
	HairColor	128	128	128		// 1
	HairColor	161	134	86		// 2
	HairColor	85	52	34		// 3
	HairColor	39	28	20		// 4
	HairColor	22	22	22		// 5
	HairColor	200	200	200		// 6
	
	Portrait Male	1	7
	Portrait Male	0	7
	Portrait Male	12	9
	Portrait Male	12	10
	Portrait Male	13	9
	Portrait Male	3	7
	Portrait Male	4	7
	Portrait Male	5	7
	
	Portrait Female	11	8
	Portrait Female	11	9
	Portrait Female	11	10
	Portrait Female	10	10
	Portrait Female	9	10
	Portrait Female	8	11

}