Skip to content

Control other civs feature 4239120734495028161#19

Open
JP3402 wants to merge 3 commits intosparrow8332:masterfrom
JP3402:control-other-civs-feature-4239120734495028161
Open

Control other civs feature 4239120734495028161#19
JP3402 wants to merge 3 commits intosparrow8332:masterfrom
JP3402:control-other-civs-feature-4239120734495028161

Conversation

@JP3402
Copy link

@JP3402 JP3402 commented Jan 29, 2026

No description provided.

sparrow8332 and others added 3 commits April 22, 2020 15:42
This update significantly expands the Advanced Cheat Menu to allow
direct control over other civilizations and added several forced actions.

Key additions:
- Control Other Civs Mode: A toggle that redirects almost all cheats
  (Gold, Faith, Production, Science, etc.) to the owner of the currently
  selected unit or city.
- Kill Selected Unit: Instantly delete any selected unit from the map.
- Restore Movement: Give any unit full movement points (+100).
- Make Free City: Force any city to immediately become a Free City.
- Force Diplomacy: Instantly add +100 Diplomatic Favor to the target.

Technical improvements:
- Implemented robust cross-context state sharing for selected player/city.
- Expanded UI panel to accommodate new features with clean separators.
- Added full English localization for all new functionalities.
- Ensured all existing cheats now respect the "Control Other Civs" toggle.
- Fixed UI visibility issues for the new expanded panel sections.

Co-authored-by: JP3402 <220734450+JP3402@users.noreply.github.com>
This major update empowers the player to fully control and manipulate
other civilizations during the game.

New Features:
- Force War: Force any player (including AI) to declare war on another.
- Force Peace: Force any two players to immediately make peace.
- Target Player ID: Added a new input field to specify the target of
  diplomatic actions.
- Cede City: Instantly transfer any selected city to your civilization.
- Kill Unit: Instantly delete any selected unit.
- Restore Movement: Give any unit 100 movement points.
- Make Free City: Force any city to become a Free City.

Improvements:
- Full "Control Other Civs Mode": When active, general cheats (Gold,
  Faith, Production, Science, etc.) apply to the owner of the selected
  unit or city.
- UI Expansion: Added two new rows of buttons and optimized the panel
  resizing logic for a perfect fit.
- Localization: Complete English text for all new features and tooltips.
- Bug Fixes: Corrected an issue where certain new features were not
  properly exposed to the UI context.
- cross-context state: Shared selection data across UI and Gameplay
  contexts to ensure accurate targeting.

Co-authored-by: JP3402 <220734450+JP3402@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants