Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow players to play their favorite tribe in scripted maps #6390

Open
3 tasks
frankystone opened this issue Mar 1, 2024 · 2 comments
Open
3 tasks

Allow players to play their favorite tribe in scripted maps #6390

frankystone opened this issue Mar 1, 2024 · 2 comments
Labels
campaigns & scenarios Scenario scripting enhancement New feature or request under discussion There is no consensus about a critical point yet

Comments

@frankystone
Copy link
Contributor

I thought this has been a feature request already but i couldn't find it…

Currently as soon an init.lua is inside the scripting-folder of a map the map is handled as a scenario. This has the disadvantage that the tribe can't be chosen by a player because the default tribe from the map is used (also random tribe).

It would be nice to allow choosing a tribe for some scripted maps. E.g. for the mp scenario Smugglers i don't see a reason why this can't be played with a players favorite tribe (except for smuggling tribe specific wares, but gold has every tribe). Another example is the mp game "Trident of Fire" which has no tribe specific scripting, afaik.

Other use cases would be to enhance a map with special things, e.g. create a "warp" field ( if a ship arrives here it get warped onto another field of the map and vice versa). Or create special areas where the height of fields are randomly increased and lowered. Or an area where felled trees get magically renewed. Something like that which doesn't need to be tribe specific, but will be fun for players.

Describe the solution you'd like
Similar to allow_diplomacy there should be a game-setting allow_tribes or similar. If set to true a player is allowed to choose his tribe for this map.
Don't know if such maps can be named "scenario" then.

Describe alternatives you've considered
None

Implementation steps

  • ...
  • ...
  • ...
@frankystone frankystone added enhancement New feature or request campaigns & scenarios Scenario scripting under discussion There is no consensus about a critical point yet labels Mar 1, 2024
@bunnybot
Copy link

bunnybot commented Mar 1, 2024

Mirrored on Codeberg as #CB4752.

@bunnybot
Copy link

bunnybot commented Mar 1, 2024

NordfrieseMirrored from Codeberg
On Fri Mar 01 19:20:42 CET 2024, Benedikt Straub (Nordfriese) wrote:


Currently the map's player_names file defines one tribe for each player (or empty for random). I suppose we could add an "allowed_tribes" or "forbid_tribes" optional property for scenarios for each player controlled by a human, so the designer can, if he wishes, define either a whitelist or a blacklist of tribes that each player can choose from (also with an "all" option).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
campaigns & scenarios Scenario scripting enhancement New feature or request under discussion There is no consensus about a critical point yet
Projects
None yet
Development

No branches or pull requests

2 participants