Sid Meier's Civilization VI

Sid Meier's Civilization VI

Not enough ratings
Forced Trees
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod: Gameplay, UI
File Size
Posted
Updated
38.239 KB
10 May, 2023 @ 2:07pm
11 May, 2023 @ 8:39am
2 Change Notes ( view )

Subscribe to download
Forced Trees

Description
This mod will make the game always open the Tech Tree and Civics Tree when you need to choose the next option or upgrade, instead of the slide-out Tech or Civic "Tray" that would normally appear on the left side of the screen.

Forced Trees will not work properly without Repeat Future , and it has been marked as a required mod. This is because Future Tech and Future Civic cannot be re-selected from within the trees.

====================

As of May 11, 2023, the following changes have been made to the following files:

"...steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Choosers\CivicsChooser.lua"
Vanilla
Mod
function OnOpenPanel() LuaEvents.ResearchChooser_ForceHideWorldTracker(); UI.PlaySound("Tech_Tray_Slide_Open"); m_isExpanded = true; m_kSlideAnimator.Show(); end -- ======================================== function OnClosePanel() m_kSlideAnimator.Hide(); end
function OnOpenPanel() --LuaEvents.ResearchChooser_ForceHideWorldTracker(); --UI.PlaySound("Tech_Tray_Slide_Open"); --m_isExpanded = true; --m_kSlideAnimator.Show(); LuaEvents.LaunchBar_RaiseCivicsTree(); -- raises civics tree end -- ======================================== function OnClosePanel() --m_kSlideAnimator.Hide(); end

...steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\Choosers\ResearchChooser.lua
Vanilla
Mod
function OnOpenPanel() LuaEvents.ResearchChooser_ForceHideWorldTracker(); UI.PlaySound("Tech_Tray_Slide_Open"); m_isExpanded = true; m_kSlideAnimator.Show(); end -- ======================================== function OnClosePanel() m_kSlideAnimator.Hide(); end
function OnOpenPanel() --LuaEvents.ResearchChooser_ForceHideWorldTracker(); --UI.PlaySound("Tech_Tray_Slide_Open"); --m_isExpanded = true; --m_kSlideAnimator.Show(); LuaEvents.LaunchBar_RaiseTechTree(); -- raises tech tree end -- ======================================== function OnClosePanel() --m_kSlideAnimator.Hide(); end

The above code was edited and formatted for better visual comparability.