Comments (1)
Not very familiar with Scenarios, though I did one once - ah yes to see the new icon on the main menu button...
Wiki: https://yairm210.github.io/Unciv/Modders/Scenarios/
Doesn't say much about who will be playing as who... But UncivFiles.loadScenario does: The Spectator the wiki mentions (all if >1) is removed, if there's no humans the first civ is made human, then the first human starts play and any other humans are hotseat. So.... Select the intended player first when creating, that's all.
Simplest of my ideas: Define that hotseat scenarios are not supported. Then, in loadScenario - or maybe where PlayerReadyScreen is shown - offer the choice, if moreThanOnePlayer && isSingleplayer && isScenario
. The latter has the advantage that killing the process and reloading an autosave will re-pop the question until resolved, but would need another persisted flag. Both variants don't need an extra async preview.
As for Info: Adding "included nations" info to the load scenario screen may be attractive - could be treated 100% independently from the idea above. Or maybe no such info - Scenario creator should choose a name divulging as much as they want about who is in there??? Or - define "add a png file with the same name and/or a txt with the same name to have the load scenario screen show them when your scenario is selected".
OR... Define a meta-Unique "Show before scenario load"
, UniqueTarget.Event, or as metamodifier to go on the trigger event unique, create a IHasUniques container on the GameInfo granularity, load these with a "Preview" class, and you have a rich presentation tool for the load scenario screen.
Then... A "turn 0" Event could use EventChoices for converting surplus hotseat players to AI - would still need a game- not mod- specific global Unique container. Also allows pretty rich decorations.
from unciv.
Related Issues (20)
- Map editor crash placing any improvement HOT 1
- Possible typo: rigg HOT 3
- At turn ends, theres a bug to kick me out the game HOT 1
- Some typos HOT 1
- "Hidden from users" not hiding promotion uniques when displayed in Civilopedia or Nation picker screen HOT 1
- SOLVED: Crashes when putting tile improvement in map editor HOT 3
- NullPointerException on getDiplomacyManager() HOT 3
- Feature request: Add background music or onomatopoeia HOT 6
- "Suppress warning" modifier showing up on uniques in Civilopedia
- Cannot load save HOT 14
- Build lists on city screen load extremely slow HOT 2
- Gold duplication bug by disbanding already disbanded units HOT 1
- Destroyed civ can use espionage HOT 2
- "Removes removable features when built" doesn't remove terrain fetures when used in non-Great Improvement HOT 1
- Improvements for the map editor HOT 4
- River occuring in coast tiles HOT 4
- AI can declare war that was seemingly impossible to declare HOT 3
- Stuck and crushing on building items HOT 1
- "pick now" allows scheduling improvements without required techs HOT 6
- when war declared, units present on the rival territory due to open border trade should be pushed back HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unciv.