# These defines are not part of the checksum check. # # None of these defines affect the simulation and can therefore be freely modded # without blocking achievements. It's not possible to move defines between # common/defines and unchecked_defines without patching the game. NInterface = { PLANET_SKY_DEFAULT = "sky" PLANET_SKY_MOON = "sky02" PLANET_SKY_MOON_RINGS = "sky03" PLANET_SKY_ORBITAL_RING = "sky04" PLANET_SKY_ORBITAL_RING_RUINED = "sky05" MAX_WARGOAL_ITEMS = 3 # Military fleet icon depends on fleet power level FLEET_ICON_POWER_TIERS = { 2500 10000 25000 50000 100000 250000 } ON_LEADER_MOUSE_OVER_OPACITY = 0.3 # Opacity effect when mouse overing a leader for reassignmnet ON_NO_LEADER_MOUSE_OVER_OPACITY = 0.60 # Opacity effect when mouse overing an empty leader slot for reassignmnet TOOLTIP_TIME = 0.05 TOOLTIP_DELAYED_TIME = 0.8 TOOLTIP_POSITION_OFFSET = { 21 24 } TOOLTIP_POSITION_NESTED_OFFSET = { 0 -14 } TOOLTIP_POSITION_OFFSET_STAR = { 6.4 0 } TOOLTIP_MIN_DAYS_FOR_ROUNDED_YEARS = 1440 # Minimum amount of days for which to display rounded years TOOLTIP_MIN_DAYS_FOR_DECIMAL_YEARS = 360 # Minimum amount of days for which to display decimal years. Is expected to be smaller than TOOLTIP_MIN_DAYS_FOR_ROUNDED_YEARS TOOLTIP_TENDENCY_BUFFER = 15 TOOLTIP_MIDDLE_MOUSE_LOCK_TIME = 0.25 TOOLTIP_TIMER_LOCK_TIME = 0.8 MP_GAMESETUP_PLAYER_COLUMNS = 2 PERSISTENT_CHAT_LINE_HEIGHT = 20 # default y-size of persistent chat messages NOTIFICATION_MESSAGE_XPOS = 130 # X-position where notification message starts NOTIFICATION_MESSAGE_YPOS = 44 # Y-position where notification message stops NOTIFICATION_MESSAGE_CLOSE_WARNING_PERC = 0.30 # Percentage of time left before auto close NOTIFICATION_MESSAGE_SPACING = -10 NOTIFICATION_MESSAGE_MARGIN_RIGHT = 80 NOTIFICATION_MESSAGE_SPEED = 120.0 NOTIFICATION_MESSAGE_DURATION_STANDARD = 30 # How many days the notification should be shown ARCH_VIEW_DEFAULT_MAX_CHAPTERS = 6 # default number of supported chapters in a site, will be overriden if a site is scripted to have more ARCH_VIEW_TEXTBOX_SMALL = 200 # height of textbox when not showing an event ARCH_VIEW_TEXTBOX_LARGE = 265 # height of textbox when showing an event ARCH_VIEW_TEXTLIST_OFFSET = -20 # height offset between the texbox and the textlist MAX_COUNCIL_POSITIONS = 6 # Maximum number of possible council positions in the ui COUNCIL_GRID_ARCH_HEIGHT = 100 # Height of the vertical offset in the council position gridbox DEFAULT_CITY_POP_LEVEL = 4 # Shown in empire designer POPS_TO_SHOW_CITY_LEVEL = { 1 2000 8000 16000 24000 } # Decides how many pops are required to show the next level of city-infrastructure in city_frame TRADE_VIEW_DEFAULT_CREDIT_CHANGE = 1 # Default value TRADE_VIEW_SMALL_CREDIT_CHANGE = 10 # Decides how much value is changed while holding control when increasing/decreasing credit in trade TRADE_VIEW_LARGE_CREDIT_CHANGE = 100 # Decides how much value is changed while holding shift when increasing/decreasing credit in trade TRADE_VIEW_MASSIVE_CREDIT_CHANGE = 1000 # Decides how much value is changed while holding shift AND control when increasing/decreasing credit in trade TRADE_VIEW_WIDE_MODE_THRESHHOLD = 1470 # Shows Trade View in wide mode if game resolution is above this SHIP_NAME_CAP_LENGTH = 175 # Fleet name max width to limit Henrik Thyrwall's imagination SHIP_NAME_SIZE_MAX = 26 # Max number of letters in ship names SPECIES_NAME_SIZE_MAX = 20 # Max number of letters in army names MUSIC_SILENCE_CHANCE = 15 MUSIC_SILENCE_TIME_FIXED = 5 MUSIC_SILENCE_TIME_RANDOM = 25 ADVISOR_DEFAULT_SHOW_SOUND = "advisor_generic_phrase" ADVISOR_DEFAULT_CLICK_SOUND = "advisor_clicking_respons_01" ADVISOR_ANNOYED_COUNT = 5 ADVISOR_ANNOYED_SOUNDS = { "advisor_clicking_respons_05" "advisor_clicking_respons_06" "advisor_clicking_respons_07" "advisor_clicking_respons_08" "advisor_clicking_respons_09" "advisor_clicking_respons_10" "advisor_clicking_respons_11" "advisor_clicking_respons_12" "advisor_clicking_respons_13" "advisor_clicking_respons_14" "advisor_clicking_respons_15" "advisor_clicking_respons_16" } ADVISOR_SOUND_MIN_WAIT = 2.0 # After playing a VO line, don't play any other VO line for X seconds ADVISOR_SOUND_BLOCKED_DEFAULT = 0.0 # Default time VO line blocked from playing for X seconds ADVISOR_SOUND_BLOCKED_SHIP_LOST = 10.0 # This VO line will be blocked from playing for X seconds ADVISOR_SOUND_BLOCKED_FLEET_ENGAGED = 10.0 # This VO line will be blocked from playing for X seconds POP_FACTION_HEADER_SPRITE_TYPE_DEFAULT = "GFX_faction_header_blue" OUTLINER_PING_TIME = 2.40 # Amount of seconds to show the ping when having selected an object from the outliner FRONTEND_ANIMATED_BG_ENTITY = "frontend_background_entity" FRONTEND_ANIMATED_BG_ASPECT_RATIO = 1.777 FRONTEND_BUTTON_SLIDE_DURATION = 0.15 # Duration in seconds for the menu button slide effect FRONTEND_BUTTON_SLIDE_DISTANCE = 10 # Movement distance in pixels for the menu button slide effect FRONTEND_BUTTON_SLIDE_CURVE = 0.5 # Changes the ease in/out curve. 0.0 is linear, higher is ease in, lower is ease out. MAX_NUM_SAVE_GAMES = 100 DAYS_PENDING_ARCHAEOLOGY_NOTIFICATIONS = 30 # num of days archaeological notifications are shown ARCHAEOLOGICAL_SITE_IN_PROGRESS_SPRITE = "GFX_evt_archaeological_site_in_progress" SITUATION_LOG_ARCHAEOLOGY_PICTURE_SPRITE = "GFX_evt_archaeological_dig" SITUATION_LOG_ARCHAEOLOGY_ICON_FILENAME = "gfx/interface/icons/situation_log/situation_log_archaeology.dds" SITUATION_LOG_FIRST_CONTACT_ICON_FILENAME = "gfx/interface/icons/situation_log/situation_log_radar.dds" SITUATION_LOG_DEBRIS_PICTURE_SPRITE = "GFX_situation_log_debris_picture" SITUATION_LOG_FAUNA_DEBRIS_PICTURE_SPRITE = "GFX_evt_fauna_debris" SITUATION_LOG_DEBRIS_ICON_FILENAME = "gfx/interface/icons/situation_log/situation_log_debris.dds" SITUATION_LOG_MODIFICATION_PICTURE_SPRITE = "GFX_situation_log_modification_picture" SITUATION_LOG_MODIFICATION_ICON_FILENAME = "gfx/interface/icons/situation_log/situation_log_modification.dds" SITUATION_LOG_ASTRAL_RIFT_PICTURE_SPRITE = "GFX_evt_astral_rift" SITUATION_LOG_ASTRAL_RIFT_ICON_FILENAME = "gfx/interface/icons/situation_log/situation_log_astral_rift.dds" SITUATION_LOG_ESPIONAGE_PICTURE_SPRITE = "GFX_evt_archaeological_dig" ESPIONAGE_OPERATION_VIEW_TEXTBOX_SMALL = 200 # height of textbox when not showing an event ESPIONAGE_OPERATION_VIEW_TEXTBOX_LARGE = 265 # height of textbox when showing an event ESPIONAGE_OPERATION_VIEW_DEFAULT_MAX_CHAPTERS = 6 # default number of supported chapters in an operation, will be overriden if an operation is scripted to have more GUI_BASELINE_WIDTH = 1280 # Horizontal Resolution that GUI files are scripted for GUI_BASELINE_HEIGHT = 720 # Vertical Resolution that GUI files are scripted for GUI_EXTRA_HEIGHT_MAX = 0 # Experimental: Maximum pixels GUIs are allowed to expand vertically MIN_GUI_SCALE = 0.5 # Minimum UI scale factor ALWAYS_SHOW_NAVBAR = no # if yes then the left side navbar will always be shown NAVBAR_CLOSE_DELAY = 0.5 # how long time in seconds the navbar will stay open after un-mousing it NUM_INDENTATION_SPACES = 4 MINIMUM_TOAST_DURATION = 5.0 # Number of seconds OUTLINER_PLANET_CONSTRUCTION_MAX_ENTRIES = 3 # not enough space in vanilla stellaris for more. priority: starbase, tile, army, pop OUTLINER_STARBASE_SHIPYARD_CONSTRUCTION_MAX_ENTRIES = 6 # The max number of starbase shipyard construction progress bars to show in the outliner, make sure to also update the progress bar sizes OUTLINER_SHIPYARD_CONSTRUCTION_MAX_ENTRIES = 20 OUTLINER_UPDATE_EVERY_N_FRAMES = 7 # Optimization (mainly for late game) SOCIALVIEW_CONTEXT_MENU_MARGIN = 2 # Margin for social view context menu SOCIALVIEW_CONTEXT_MENU_BUTTON_OFFSET = 10 # Offset for context buttons WAROVERVIEW_BATTLE_RESULT_BASE_EXHAUSTION = 0.10 # In order to avoid a very small win with no losses on one side looking like it was "overwhelming" PERSISTENT_CHAT_LINES_DURATION = 60 # in seconds PERSISTENT_CHAT_LINES_FADE = 1 # in sceonds PERSISTENT_CHAT_NUM_LINES = 5 POP_ENTRY_GROUPING_THRESHOLD = 8 # the minimum amount of pops in the planet view jobs ui required before we start grouping them together EXPANSION_VIEW_NUM_DISTRICTS = 3 DEFICIT_MONTH_LEFT_ALERT = 12 #Show alert when less months left NUM_DISTRICT_BOXES_TO_SHOW = 30 # How many district boxes will be shown before we show " 12/20" instead NUM_RARE_DEPOSITS_TO_SHOW = 4 # How many rare deposits will be shown before we switch the gridbox to a summary icon and "x5" instead NUM_DEVASTATION_SEGMENTS = 4 # How many "levels" of devastation there is AUTOMATION_RESOURCE_ALERT_MIN_POOL = 300 # Alert the player if pool is lower than this AND monthly transfer lower than the next entry AUTOMATION_RESOURCE_ALERT_MIN_MONTHLY = 10 # Alert the player if pool is previous entry AND monthly transfer lower than this DIPLO_SCREEN_TEXT_HIDE_COOLDOWN = 10.0 # How many seconds the alien message text in the deplomacy view will be shown DIPLO_SCREEN_BG_NEUTRAL = "GFX_diplomacy_textbox_neutral" DIPLO_SCREEN_BG_AGGRESSIVE = "GFX_diplomacy_textbox_aggressive" DIPLO_SCREEN_BG_POSITIVE = "GFX_diplomacy_textbox_positive" DIPLO_SCREEN_BG_NEGATIVE = "GFX_diplomacy_textbox_negative" CITY_SELECTION_DEFAULT_PLANET_CLASS = "pc_continental" # used for special planet types that don't have different option for each species GC_SENATE_BG_EMPTY = "GFX_0_senate_floor_portrait_bg" GC_SENATE_BG_0 = "GFX_1_senate_floor_portrait_bg" GC_SENATE_BG_25 = "GFX_2_senate_floor_portrait_bg" GC_SENATE_BG_50 = "GFX_3_senate_floor_portrait_bg" GC_SENATE_BG_75 = "GFX_4_senate_floor_portrait_bg" GC_SENATE_BG_100 = "GFX_5_senate_floor_portrait_bg" IMPERIUM_SENATE_BG_EMPTY = "GFX_0_senate_floor_empire_portrait_bg" IMPERIUM_SENATE_BG_0 = "GFX_1_senate_floor_empire_portrait_bg" IMPERIUM_SENATE_BG_25 = "GFX_2_senate_floor_empire_portrait_bg" IMPERIUM_SENATE_BG_50 = "GFX_3_senate_floor_empire_portrait_bg" IMPERIUM_SENATE_BG_75 = "GFX_4_senate_floor_empire_portrait_bg" IMPERIUM_SENATE_BG_100 = "GFX_5_senate_floor_empire_portrait_bg" GC_SENATE_BG_0_MAX = 13 GC_SENATE_BG_25_MAX = 38 GC_SENATE_BG_50_MAX = 63 GC_SENATE_BG_75_MAX = 82 HOLDINGS_TAB_ENERGY_ICON = "GFX_resource_trade_large" HOLDINGS_TAB_LOYALTY_ICON = "GFX_loyalty_icon_large" DAYS_PENDING_FIRST_CONTACT_NOTIFICATIONS = 30 # num of days First Contact notifications are shown DAYS_LEFT_TO_SHOW_NUMBER = 360 # Num of days until vote when this number is shown DAYS_LEFT_TO_COLORIZE_NUMBER = 60 # Num of days until vote when this number is shown and colored OPINION_PROGRESS_SPRITE_EXCELLENT = GFX_diplomacy_opinion_excellent OPINION_PROGRESS_SPRITE_GOOD = GFX_diplomacy_opinion_good OPINION_PROGRESS_SPRITE_NEUTRAL = GFX_diplomacy_opinion_neutral OPINION_PROGRESS_SPRITE_POOR = GFX_diplomacy_opinion_poor OPINION_PROGRESS_SPRITE_TERRIBLE = GFX_diplomacy_opinion_terrible AWARENESS_SPRITE_FULL = GFX_diplomacy_awareness_full AWARENESS_SPRITE_HIGH = GFX_diplomacy_awareness_high AWARENESS_SPRITE_PARTIAL = GFX_diplomacy_awareness_partial AWARENESS_SPRITE_LOW = GFX_diplomacy_awareness_low AWARENESS_SPRITE_UNAWARE = GFX_diplomacy_awareness_unaware SELF_INTEL_ICON_FRAME = 3 OUTLINER_HABITAT_LEVEL_LIMIT = 10 # After which level to stop showing the habitat level in the outliner MEGASTRUCTURE_DEFAULT_PORTRAIT = GFX_megastructure_construction_background GAME_CONCEPT_ICON_DEFAULT = "gfx/interface/icons/concepts/concept.dds" # Default icon for Game Concepts FIRST_CONTACT_RELATION_ICON_UNKNOWN = "GFX_option_icon_unknown" FIRST_CONTACT_RELATION_ICON_ISOLATIONIST = "GFX_option_icon_isolationist" FIRST_CONTACT_RELATION_ICON_FRIENDLY = "GFX_option_icon_friendly" FIRST_CONTACT_RELATION_ICON_HOSTILE = "GFX_option_icon_hostile" RIFT_VIEW_DEFAULT_MAX_CHAPTERS = 12 # default number of supported chapters in a site, will be overriden if a site is scripted to have more RIFT_VIEW_TEXTBOX_SMALL = 200 # height of textbox when not showing an event RIFT_VIEW_TEXTBOX_LARGE = 265 # height of textbox when showing an event RIFT_VIEW_TEXTLIST_OFFSET = -20 # height offset between the texbox and the textlist ARCHAEOLOGY_DIFFICULTY_SPRITE_NAME_ROOT = "GFX_archaeology_difficulty" FIRSTCONTACT_DIFFICULTY_SPRITE_NAME_ROOT = "GFX_firstcontact_difficulty" ESPIONAGE_DIFFICULTY_SPRITE_NAME_ROOT = "GFX_espionage_difficulty" ASTRAL_RIFT_DIFFICULTY_SPRITE_NAME_ROOT = "GFX_astral_rift_difficulty" COLONY_TYPE_DEFAULT_SPRITE = GFX_colony_type_picker # Sprite for the picker button, or if the colony type lacks a sprite MAP_ICON_ITEM_MINIMUM_WIDTH = 10 PRE_FTL_ROOM_BACKGROUND_OVERRIDE = observation_post_room COOP_PRESENCE_ICON_FRAME_EMPTY = 2 # Frame position for empty ASTRAL_ACTION_UNLOCK_NOTIFICATION_DURATION = 30 # Duration in days during which astral action unlocked notification is displayed DAYS_PENDING_ASTRAL_ACTION_ALERT = 60 # Duration in days during which astral actions alert is displayed FLAG_CAPITAL_DECORATION_SCALE = 1.0 # Scale for the tiny stars around map icons FLAG_CAPITAL_DECORATION_SCALE_BIG_FRAME = 1.3 # Scale for the tiny stars around map icons PORTRAIT_GUI_NAME_TOAST = "paragon_portrait_container_toast" PORTRAIT_GUI_NAME_ANOMALY_LEADER_VIEW = "paragon_portrait_container_horizontal_slim" PORTRAIT_GUI_NAME_ANOMALY_CONTROLLER_VIEW = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_ARCHAEOLOGY_VIEW = "paragon_portrait_container_vertical_small" PORTRAIT_GUI_NAME_SITE_LEADER_ENTRY = "paragon_portrait_container_horizontal_slim" PORTRAIT_GUI_NAME_ASSIGNABLE_LEADER_LIST_ENTRY = "paragon_portrait_container_leader_assignment" PORTRAIT_GUI_NAME_ASSIGNABLE_COUNCILOR_LIST_ENTRY = "paragon_portrait_container_assign_councilor" PORTRAIT_GUI_NAME_HIRE_AND_ASSIGN_LIST_ENTRY = "paragon_portrait_container_horizontal_slim" PORTRAIT_GUI_NAME_ASSIGN_TRAIT = "paragon_portrait_container_vertical" PORTRAIT_GUI_NAME_COMBAT_FLEET_VIEW = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_COUNCIL_VIEW_RULER = "paragon_portrait_container_ruler_council" PORTRAIT_GUI_NAME_COUNCIL_POSITION = "paragon_portrait_container_council" PORTRAIT_GUI_NAME_COUNCIL_POSITION_GESTALT = "paragon_portrait_container_council_gestalt" PORTRAIT_GUI_NAME_DEMOCRATIC_ELECTION_CANDIDATE = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_ELECTION_CANDIDATE = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_EMPIRE_VIEW_SECTOR_ENTRY = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_FLEET_MANAGER_VIEW = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_FLEET_VIEW = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_GOVERNMENT_VIEW_RULER = "paragon_portrait_container_ruler_government" PORTRAIT_GUI_NAME_GOVERNMENT_VIEW_HEIR = "paragon_portrait_container_heir" PORTRAIT_GUI_NAME_ATTACKING_GENERAL = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_DEFENDING_GENERAL = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_PLANET_GOVERNOR = "paragon_portrait_container_horizontal_governor" PORTRAIT_GUI_NAME_PLANET_SECTOR_GOVERNOR = "paragon_portrait_container_sector_governor" PORTRAIT_GUI_NAME_PLANET_GENERAL = "paragon_portrait_container_horizontal" PORTRAIT_GUI_NAME_TECH_VIEW = "paragon_portrait_container_research" PORTRAIT_GUI_NAME_EXPANDED_LEADER_PORTRAIT = "paragon_portrait_container_expanded" PORTRAIT_GUI_NAME_LEADER_VIEW_ENTRY = "paragon_portrait_container_horizontal_slim" PORTRAIT_GUI_NAME_EVENT_STORY = "paragon_portrait_container_story_event" PORTRAIT_GUI_NAME_EVENT_RECRUIT = "paragon_portrait_container_recruit_event" PORTRAIT_GUI_NAME_EVENT_CONVERSATION = "paragon_portrait_container_conversation_event" PORTRAIT_GUI_NAME_EVENT_CRISIS_CONVERSATION = "paragon_portrait_container_crisis_conversation_event" DAYS_PENDING_COSMIC_STORM_NOTIFICATIONS = 20 # num of days cosmic storm notifications are shown COSMIC_STORM_VISIBLE_GUI_FRAME_BOTTOM_PADDING = 10 COSMIC_STORM_VISIBLE_GUI_DESC_FRAME_BOTTOM_PADDING = 32 COSMIC_STORM_VISIBLE_GUI_CONFIRM_BUTTON_Y_OFFSET = 5 LEADER_ASSIGN_TRAIT_MIN_WIDTH = 328 SPACE_CRITTER_CAPTURE_NOTIFICATION_DAYS_PENDING = 30 HATCHERY_SHIP_ICON_SCALE = 0.65 GRAND_ARCHIVE_COLLECTION_ACTIVE = GFX_grand_archive_collection_active_bg GRAND_ARCHIVE_COLLECTION_INACTIVE = GFX_grand_archive_collection_inactive_bg MINOR_ARTIFACT_DEFAULT_CLICK_SOUND = "queuing_building" SHIP_DESIGNER_SHIP_VIEW_RENDER_TARGET = "3d_view" CREATURE_DESIGNER_SHIP_VIEW_RENDER_TARGET = "3d_view_creature_designer" CREATURE_DESIGNER_MUTATION_SLOT_ICON = "GFX_creature_designer_mutation_slot" CREATURE_DESIGNER_MUTATION_SLOT_LOCKED_ICON = "GFX_creature_designer_mutation_slot_locked" EVENT_PRESENCE_ICON_OFFSET_RATIO_EFFECT_REWARD = 1.2 # Offset (multiplicative to displayed icon) of the presence icon in event options where an effect icon is displayed CONCEPT_EDICT_ICON = "gfx/interface/icons/concepts/concept_edicts.dds" AUTHORITY_DEFAULT_COLOR = { 0.329 0.518 0.424 1.0 } # RGBA PRESAPIENT_RIGHTS_POLICY = "pre_sapients" # Used to identify which policy to expand when setting rights for the pre-sapients RECOMMENDED_MINIMUM_PRECURSORS = 4 # Minimum number of precursors that is recommeded to select in the precursor selection screen DAYS_NEW_PATRON_CALLING_NOTIFICATIONS = 20 # num of days patron calling notifications are shown DAYS_ACCORD_UNLOCKED_NOTIFICATIONS = 20 # Accord unlocked notification displayed time in days DAYS_ACTIVE_ACCORD_AVAILABLE_NOTIFICATIONS = 20 # Active accord available notification displayed time in days COUNTRY_FOCUS_CARDS_DISPLAY_COUNT = 5 #Limits ammount of focus cards displayed in the UI. Other cards work as normaly in the background and will appear when some other cards get dismissed. COUNTRY_FOCUS_CARDS_FADE_OUT_DELAY = 1 #Time delay in seconds before completed cards start to fade out. COUNTRY_FOCUS_CARDS_FADE_OUT_SPEED = 0.02 #How fast cards fade out - a bigger number means faster fading. SHIP_SELECT_ROLE_MIN_WIDTH = 328 SHIP_SELECT_ROLE_MIN_HEIGHT = 256 SHIP_SELECT_ROLE_HEIGHT_PADDING = 40 CLOAKING_BUTTON_SLOT_NUMBER = 2 # Hero ships UI slot number for cloaking button CALLINGS_PULSE_DELAY = 0.5 # Time delay in seconds before completed callings animation starts to pulse. CALLINGS_FADE_OUT_DELAY = 1.5 # Time delay in seconds before completed callings start to fade out. CALLINGS_FADE_OUT_FREQUENCY = 0.02 # How much time before the next fade out iteration. CALLINGS_FADE_OUT = 0.02 # How much alpha the animation fades out each iteration - a bigger number means faster fading. }