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 standalone commands before the first section #30

Open
deltaidea opened this issue Jul 22, 2017 · 0 comments
Open

Allow standalone commands before the first section #30

deltaidea opened this issue Jul 22, 2017 · 0 comments

Comments

@deltaidea
Copy link
Member

deltaidea commented Jul 22, 2017

Here's a command that goes before the first section:

ai_info_map_type TYPE /* aoc */
ai_info_map_type TYPE N N N /* dlc and userpatch */

Docs: Optional command at the start of a script to tell the AI (computer player) the type of map.

The three numbers after TYPE are all 0 or 1: whether it's a nomad map (start without a TC), whether it's a michi map (teams are separated by forest), and an extra value that can be used by custom AI to detect your map.

If the map is not very similar to any of these maps, don't use ai_info_map_type.

Example: ai_info_map_type ARABIA means the map is like Arabia
In DLC/UserPatch: ai_info_map_type BLACK_FOREST 1 0 0 means it's Black Forest with nomad start.

Possible values of TYPE:

  • ARABIA
  • ARCHIPELIGO
  • ARENA
  • BALTIC
  • BLACK_FOREST
  • COASTAL
  • CONTINENTAL
  • CRATER_LAKE
  • FORTRESS
  • GHOST_LAKE
  • GOLD_RUSH
  • HIGHLAND
  • ISLANDS
  • MEDITERRANEAN
  • MIGRATION
  • MONGOLIA
  • NOMAD
  • OASIS
  • REAL_WORLD_[NAME]
  • RIVERS
  • SALT_MARSH
  • SCANDINAVIA
  • SCENARIO
  • YUCATAN

New values in DLC/UserPatch:

  • STEPPE
  • BUDAPEST
  • VALLEY
  • ATLANTIC
  • LAND_OF_LAKES
  • LAND_NOMAD
  • CENOTES
  • GOLDEN_HILL
  • MEGARANDOM
  • MICHI
  • AMBUSH
  • CUSTOM
  • NILE_DELTA
  • MOUNTAIN_PASS
  • SERENGETI
  • SOCOTRA
  • KILIMANJARO
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

No branches or pull requests

1 participant