# Evolution specs file
# Note that field names are case-sensitive. Supplied values are the defaults.
# call it a standoff if both the nearest friends and the nearest enemies are more than 3 (can improve performance)
allowStandoffs=false
# limit to the total number of animals (only applies during spawning)
animalLimit=2147483647
# path to the background image to use, in ResourceBundle format (leave blank for no background)
backgroundFile=bg.jpg
# starting life for initial set of animals
baseLife=300
# starting life for all plants
basePlantLife=100
# Seed to use for random number generator (can also be set by adding an int as the third commandline switch)
gameSeed=1
# limit to the rate that plants can grow or die
growthLimit=5
# path to the file defining the hazards to be loaded; only loaded if no value is supplied for initialHazardsLoad
hazardsFile=hazards.ini
# whether the app should run in headless mode (can also be set by adding "headless" as a commandline switch)
headless=false
# initial height of the window frame, not including the titlebar (window is resizable)
height=480
# initial type and number of hazards to load (hazards will use the default values)
# having a value implies that hazardsFile will be ignored
# eg: initialHazardsLoad=Fire:10
initialHazardsLoad=
# initial number of plants to spawn
initialPlants=40
# initial type and number of animals to load
initialSpeciesLoad=rabbit:80,chicken:80,slug:80,wolf:80
# distance at which animals can kill each other
killRange=5
# whether kills are calculated based on the enemy life versus the friend + self life
killRulesLifeBased=false
# the life threshold (enemyLife - (friendLife + selfLife)) that must be met or passed before a Life-based kill is granted
killRulesLifeThreshold=500
# cost of living through one cycle
livingCost=1.0
# cost of moving one pixel
movingCost=0.5
# number of plants spawned per cycle
plantSpawnRate=8
# number of cycles between report statistics
reportCycles=100
# image compression ratio for screenshots
screenshotCompressionRatio=0.25
# directory for screenshots (note that "/" will be converted to the system correct separator)
screenshotDirectory=screenshots
# interval between automatic screenshots (values above zero will result in screenshots taken automatically)
screenshotInterval=0
# type of image for screenshots
screenshotType=jpg
# limit on the sight of range of animals, in pixels (not applied at initial spawn)
sightLimit=100
# time to sleep between cycles, in milliseconds (0 provides fastest execution, but will spike your CPU)
sleepTime=0
# limit on the number of children that can be spawned per cycle (not applied at initial spawn)
spawnChildrenLimit=20
# path to species definitions, using ResourceBundle naming (ie: "species\hunters\canines\" would be "species.hunters.canines.")
speciesPath=species.
# limit on the speed of animals, in pixels (not applied at initial spawn)
speedLimit=20
# Game title
title=Evolution
# Tournament Mode, terminate after this many cycles (-1 means no limit)
tournamentCycles=-1
# Tournament Mode, whether a final screenshot should be taken
tournamentFinalScreenshot=false
# Whether the game should run in Tournament Mode, which simply adds termination conditions (usually used with headless mode)
tournamentMode=false
# Tournament Mode, terminate when only one species remains
tournamentOneWinner=false
# Tournament Mode, terminate after this amount of time, in milliseconds
tournamentTimeout=-1
# initial width of the window frame (window is resizable)
width=640