Skip to content

Latest commit

 

History

History
171 lines (68 loc) · 2.21 KB

GameParameters.md

File metadata and controls

171 lines (68 loc) · 2.21 KB

ADJACENCY

Sets whether to allow diagonals in pathfinding and interactions.

Values: One of two strings: EIGHT_ADJACENCY or FOUR_ADJENCENCY

Default: FOUR_ADJACENCY

AGENTS_MOVE_DISTANCE

Sets the max distance in cells a robot can move in a turn.

Default: 4

AGENTS_PER_PLAYER

Sets the amount of agents each player controls.

Default: 5

AGENT_INTERACT_RADIUS

Sets how far in cells a robot can reach.

Default: 1

AGENT_RESPAWN_TIME

Sets amount of turns until a destroyed robot respawns.

Default: 999

MAP_CLUSTER_SIZE

Sets the size of the area around a gold vein in which to generate additional veins.

Default: 5

MAP_GOLD_COEFF_X

Probability modifier for the X coordinate of gold veins.

1 = normal probability.

0 = always maximum.

Default: 0.55

MAP_HEIGHT

Sets the height in cells of the map.

Default: 15

MAP_WIDTH

Sets the width in cells of the map.

Default: 30

MAP_CLUSTER_DISTRIBUTION_MAX

Maximum percentage of cells that should be the center of a cluster of veins.

Default: 0.064

MAP_CLUSTER_DISTRIBUTION_MIN

Minimum percentage of cells that should be the center of a cluster of veins.

Default: 0.032

MAP_GOLD_IN_CELL_MAX

Maximum amount of gold per vein.

Default: 3

MAP_GOLD_IN_CELL_MIN

Minimum amount of gold per vein.

Default: 1

RADAR_COOLDOWN

Amount of turns until a radar can be requested again.

Default: 5

RADAR_RANGE

The range in which gold is visible around a radar.

Default: 4

EUCLIDEAN_RADAR

Whether the radar should calculate range using the euclidean distance.

Default: false

AGENTS_START_PACKED

Whether pairs of agents should start on the same cell. Otherwise, they spawn next to one another.

Default: true

ROBOTS_CAN_OCCUPY_SAME_CELL

Sets whether robots may occupy the same cell after a MOVE.

Values: true or false

Default: true

TRAP_CHAIN_REACTION

Sets whether traps trigger neighbouring traps.

Values: true or false

Default: true

TRAP_COOLDOWN

Amount of turns until a trap can be requested again.

Default: 5

TRAP_RANGE

How far in cells a triggered trap reaches.

Default: 1