﻿# 00 graphics

NGraphics = {
	FLAT_MAP_ZOOM_STEP = 23 #ACG #21			# At which zoom step to fade to flat map	
}

NCamera = {

	# ACG ADJUSTED ZOOM STEPS -1 and -2 added
	# STEPS        -2	-1	0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16  17  18  19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34
	ZOOM_STEPS = { 	50	75	100 125 146 165 183 204 229 260 300 350 405 461 518 578 643 714 793 881 981 1092 1218 1360 1521 1703 1903 2116 2341 2573 2809 3047 3282 3512 3900 5000 6000 }	# Zoom steps
	# STEPS                  -2	-1		0  1  2  3  4  5  6  7  8  9  10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
	ZOOM_STEPS_TILT =      { 50	50		50 53 56 59 62 65 67 70 72 74 76 77 79 80 82 83 83 84 85 85 85 85 85 85 85 85 85 85 85 85 85 85 85 70 55 }		# Default zoom tilt when zooming in or out
	ZOOM_STEPS_MIN_TILT =  { 40	40		40 41 43 44 45 46 47 48 49 50 51 52 52 53 54 54 54 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 50 40 }
	ZOOM_STEPS_MAX_TILT =  { 70	70		70 73 76 78 80 82 84 85 86 87 88 88 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 }
	ZOOM_STEPS_STICK_IN =  {  0	0		0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0 }		# Which zoom steps should 'stick' for how many steps, when zooming in
	ZOOM_STEPS_STICK_OUT = {  0	0		0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  9  0 }		# Which zoom steps should 'stick' for how many steps, when zooming out

	MAX_PAN_TO_ZOOM_STEP = 6 #ACG #4							# The camera will lower to this height (but only if above it) when panning to characters/provinces etc.
	START_ZOOM_STEP = 34 #ACG #32								# Initial zoom step

	TITLE_ZOOM_LEVEL_BY_EXTENT = { 22 17 15 13 11 9 7 6 5 } #ACG #{ 20 15 13 11 9 7 5 4 3 }
	#TITLE_ZOOM_LEVEL_EXTENTS = { 1000 800 600 400 300 200 100 -1 }
	#TITLE_ZOOM_OFFSET_IF_LEFT_VIEW_SHOWN = { 230 175 145 120 95 70 50 40 30 } # We pretend the center point of the title is this far to the west if a left-view (E.G., the title view) is shown, and no right-view. It ensures that it ends up centered in the part of the screen not obscured by the UI

}

NUnitGraphics = {

	#vanilla: 
	#UNIT_SCALE_PER_ZOOM_STEP = { 1.0 1.0 1.1 1.2  1.4  1.6  1.8  2.0 2.2  2.4  2.6  2.8  2.1  1.4  0.7  0.0  0.0  0.0  0.0  0.0 } # Unit scale depending on zoom step

	# ACG:
	UNIT_SCALE_PER_ZOOM_STEP = { 0.7 0.7 0.7 0.7 0.7  0.7  0.7  0.7  0.7 0.7 0.7 0.7 0.7 0.7 0.7  0.7  0.7  0.7  0.7 0.0 0.0 0.0 }
	#UNIT_SCALE_PER_ZOOM_STEP = { 1.0 1.0 1.0 1.0 1.0  1.0  1.0  1.0  1.0 1.0 1.0 1.0 1.0 1.0 1.0  1.0  1.0  1.0  1.0 0.0 0.0 0.0 }
}

NTravelRouteGraphics = {

	# vanilla: 
	#UNIT_SCALE_PER_ZOOM_STEP = { 1.0 1.0 1.1 1.2  1.4  1.6  1.8  2.0 2.2  2.4  2.6  2.8  2.1  1.4  0.7  0.0  0.0  0.0  0.0  0.0 } # Scale of the travel unit at specific zoom steps

	# ACG: 
	UNIT_SCALE_PER_ZOOM_STEP = { 0.40 0.40 0.40 0.40 0.40  0.40  0.40  0.40  0.40 0.40 0.40 0.40 0.40 0.40 0.40  0.40  0.40  0.40  0.40 0.0 0.0 0.0 }
	#UNIT_SCALE_PER_ZOOM_STEP = { 1.0 1.0 1.0 1.0 1.0  1.0  1.0  1.0  1.0 1.0 1.0 1.0 1.0 1.0 1.0  1.0  1.0  1.0  1.0 0.0 0.0 0.0 }
}

NMapIcon = {

	#vanilla:
#	FORT_VISIBLE_ZOOM_STEPS = { 0 9 }
#	STRAITS_VISIBLE_ZOOM_STEPS = { 0 12 }
#	HOLDING_VISIBLE_ZOOM_STEPS = { 0 4 }
#	HOLDING_SMALL_VISIBLE_ZOOM_STEPS = { 5 8 }
#	REALM_CAPITAL_VISIBLE_ZOOM_STEPS = { 0 19 }
#	TITLE_CAPITAL_VISIBLE_ZOOM_STEPS = { 0 16 }
#	DYNASTY_HOUSES_VISIBLE_ZOOM_STEPS = { 5 10 }
#	RALLY_POINT_VISIBLE_ZOOM_STEPS = { 0 8 }
#	UNIT_VISIBLE_ZOOM_STEPS = { 0 16 }
#	UNIT_NEUTRAL_VISIBLE_ZOOM_STEPS = { 0 8 }
#	COMBAT_VISIBLE_ZOOM_STEPS = { 0 16 }
#	COMBAT_NEUTRAL_VISIBLE_ZOOM_STEPS = { 0 8 }
#	COMBAT_PREDICITON_VISIBLE_ZOOM_STEPS = { 0 8 }
#	COUNCIL_TASK_VISIBLE_ZOOM_STEPS = { 0 8 }
#	PROVINCE_VISIBLE_ZOOM_STEPS = { 0 19 }
#	COURT_LANGUAGE_VISIBLE_ZOOM_STEPS = { 0 19 }
#	MAA_ORIGIN_VISIBLE_ZOOM_STEPS = { 0 19 }
#	UNIQUE_BUILDINGS_VISIBLE_ZOOM_STEPS = { 0 19 }
#	ACTIVITY_VISIBLE_ZOOM_STEPS = { 0 20 }
#	CONTRACT_AND_DOMICILE_FLAT_MAP_VISIBLE_ZOOM_STEPS = { 20 40 }

	# ACG:
	FORT_VISIBLE_ZOOM_STEPS = { 0 11 }
	STRAITS_VISIBLE_ZOOM_STEPS = { 0 14 }
	HOLDING_VISIBLE_ZOOM_STEPS = { 0 6 }
	HOLDING_SMALL_VISIBLE_ZOOM_STEPS = { 7 10 }
	REALM_CAPITAL_VISIBLE_ZOOM_STEPS = { 0 21 }
	TITLE_CAPITAL_VISIBLE_ZOOM_STEPS = { 0 18 }
	DYNASTY_HOUSES_VISIBLE_ZOOM_STEPS = { 7 12 }
	RALLY_POINT_VISIBLE_ZOOM_STEPS = { 0 10 }
	UNIT_VISIBLE_ZOOM_STEPS = { 4 18 } # ACG comment = unit icons but not 3D unit models for combat
	UNIT_NEUTRAL_VISIBLE_ZOOM_STEPS = { 4 18 } # ACG comment = unit icons but not 3D unit models for combat
	COMBAT_VISIBLE_ZOOM_STEPS = { 0 18 }
	COMBAT_NEUTRAL_VISIBLE_ZOOM_STEPS = { 0 18 }
	COMBAT_PREDICITON_VISIBLE_ZOOM_STEPS = { 0 10 }
	COUNCIL_TASK_VISIBLE_ZOOM_STEPS = { 0 10 }
	PROVINCE_VISIBLE_ZOOM_STEPS = { 0 21 }
	COURT_LANGUAGE_VISIBLE_ZOOM_STEPS = { 0 21 }
	MAA_ORIGIN_VISIBLE_ZOOM_STEPS = { 0 21 }
	UNIQUE_BUILDINGS_VISIBLE_ZOOM_STEPS = { 0 21 }
	ACTIVITY_VISIBLE_ZOOM_STEPS = { 0 22 }
	CONTRACT_AND_DOMICILE_FLAT_MAP_VISIBLE_ZOOM_STEPS = { 22 -1 }
	ADMIN_PROVINCE_VISIBLE_ZOOM_STEPS = { 0 24 }
	CONFEDERATIONS_VISIBLE_ZOOM_STEPS = { 0 21 }
	RADIANCE_VALUE_VISIBLE_ZOOM_STEPS = { 0 12 }
	GREAT_PROJECTS_VISIBLE_ZOOM_STEPS = { 0 21 }
	GREAT_BUILDINGS_VISIBLE_ZOOM_STEPS = { 0 21 }
	NATURAL_DISASTERS_VISIBLE_ZOOM_STEPS = { 0 21 }
	### brief: DETAILED_RAID_VISIBLE_ZOOM_STEPS
	# At what zoom levels should the raidable holdings icons be
	# visible?
	#
	DETAILED_RAID_VISIBLE_ZOOM_STEPS = { 0 18 }

	### brief: DETAILED_RAID_SIMPLE_TO_DETAILED_ZOOM_STEP
	# At what zoom level should the raidable holdings icon adjust its
	# size
	#
	DETAILED_RAID_SIMPLE_TO_DETAILED_ZOOM_STEP = 11

}


NHoldingGraphics = {

	vanilla:
	#PROVINCE_GRAPICS_SCALE_PER_ZOOM_STEP = { 1.0 1.0 1.1 1.2 1.4 1.6 1.8 2.0 0.0 }

	# Province graphics scale on zoom step
	#PROVINCE_GRAPICS_SCALE_PER_ZOOM_STEP = { 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.7 0.0 }
	PROVINCE_GRAPICS_SCALE_PER_ZOOM_STEP = { 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.0 }
}

NMapLines = {
	ARMY_MOVEMENT_ARROW_ZOOM = 17 # ACG 15		# Max zoom level to show the short army movement arrow, selected armies always show their move arrow
}

NTrees = {
	#FADE_FAR = 0.7
	FADE_NEAR = 0.1 #0 vanilla
	#QUAD_SIZE = 100
}

NMapName = {
	LARGE_NAMES_ZOOM_STEP = 11 #ACG #9		# At which zoom steps are large map names shown

	# ACG adjusted
	ZOOM_STEPS_VISIBLE_SCALES = {	# Each map-name has a scale. This list contains min-max values for each zoom step. If a name's scale is outside that range it will not be visible
		# min (hides names that are too small)
		# max (hides names when they get to large)
		0.0		0.0		#30		-3	Closest zoomed in ACG
		0.0		0.0		#50		-2
		0.0		0.0		#75		-1
		0.0		0.0 	#100	0	Closest zoomed in vanilla
		0.0		0.0 	#125	1
		0.0		0.0		#146	2
		0.0		50.0	#165	3
		0.0		50.0	#183	4
		0.0		50.0	#204	5
		0.0		50.0	#229	6
		0.0		50.0	#260	7
		0.0		50.0	#300	8
		0.0		50.0	#350	9
		0.11	50.0	#405 	10
		0.12	50.0	#461 	11
		0.13	50.0	#518 	12
		0.14	50.0	#578 	13
		0.15	50.0	#643 	14
		0.17	50.0	#714 	15
		0.19	50.0	#793 	16
		0.21	50.0	#881 	17
		0.23	50.0	#981 	18
		0.27	50.0	#1092	19
		0.29	50.0	#1218	20
		0.30	50.0	#1360	21 Flat map
		0.32	50.0	#1521	22
		0.32	50.0	#1703	23
		0.32	50.0	#1903	24
		0.32	50.0	#2116	25
		0.32	50.0	#2341	26
		0.32	50.0	#2573	27
		0.32	50.0	#2809	28
		0.32	50.0	#3047	29
		0.32	50.0	#3282	30
		0.32	50.0	#3512	31
		0.32	50.0	#3733	32
		0.32	50.0	#5000	33
		0.32	50.0	#7000	34	Farthest out
	}
}

NMapModes = {
	SELECT_CHARACTERS_ZOOM_STEP = 11 #ACG #9			# Min zoom threshold for showing holdings/characters when clicking the map
	WATER_BORDERS_ZOOM_STEP = 10 # ACG 8 # at what zoom level disable borders along water shores
}
