Module: Openra
- Defined in:
- lib/openra/cli.rb,
lib/openra/types.rb,
lib/openra/struct.rb,
lib/openra/version.rb,
lib/openra/constants.rb,
lib/openra/mini_yaml.rb,
lib/openra/replays/file.rb,
lib/openra/replays/order.rb,
lib/openra/struct/client.rb,
lib/openra/struct/player.rb,
lib/openra/cli/formatters.rb,
lib/openra/commands/utils.rb,
lib/openra/replays/packet.rb,
lib/openra/replays/replay.rb,
lib/openra/struct/metadata.rb,
lib/openra/replays/metadata.rb,
lib/openra/struct/functions.rb,
lib/openra/struct/sync_info.rb,
lib/openra/replays/order_list.rb,
lib/openra/struct/game_options.rb,
lib/openra/cli/command_registry.rb,
lib/openra/cli/commands/version.rb,
lib/openra/struct/pre_processor.rb,
lib/openra/struct/global_settings.rb,
lib/openra/replays/metadata_marker.rb,
lib/openra/replays/order_decorator.rb,
lib/openra/cli/commands/replay_data.rb,
lib/openra/struct/sync_lobby_clients.rb,
lib/openra/cli/commands/replay_metadata.rb,
lib/openra/commands/replays/extract_data.rb,
lib/openra/commands/replays/extract_metadata.rb,
lib/openra/struct/game_options/string_option.rb,
lib/openra/struct/game_options/boolean_option.rb,
lib/openra/struct/game_options/integer_option.rb
Defined Under Namespace
Modules: Commands, Replays, Types Classes: CLI, MiniYAML, Struct
Constant Summary collapse
- VERSION =
'5.0.0'.freeze
- FIRST_PLAYER_INDEX =
# github.com/OpenRA/OpenRA/blob/23b3c237b7071fd308c4664b0b6c5d719c0f3c74/OpenRA.Game/Map/MapPlayers.cs The player index is stored in the subject_id on orders to indicate which player issued the order, this is used because bot orders are issued by the host client I think the indices are as follows, but may differ for scripted maps: 0 => World 1 => Neutral 2 => Creeps 3 => Players@0 4 => Players@1 5 => …
3
- SUPPORT_POWERS =
{ 'ra' => { 'SovietSpyPlane' => :spy_plane, 'SovietParatroopers' => :paratroopers, 'UkraineParabombs' => :parabombs, 'Chronoshift' => :chronoshift, 'AdvancedChronoshift' => :chronoshift, 'NukePowerInfoOrder' => :nuke, 'GrantExternalConditionPowerInfoOrder' => :iron_curtain }, 'cnc' => { 'AirstrikePowerInfoOrder' => :airstrike, 'IonCannonPowerInfoOrder' => :ion_cannon, 'NukePowerInfoOrder' => :nuke } }.freeze