This is a singleplayer linux script. Hopefully when more scenarios and maps are made, it will allow for quick loading up of maps/scenarios with specific options. For a multiplayer version of this script, see Indiedb.com
Last updated: Feb. 24th, 9:40 PM
The only thing you will have to change before running the script is the variable COE3_EXE: this variable should be the path to your CoE3 executable (e.g. I use COE3_EXE='/usr/games/coe3_x86')
Features are as follows:
- Gamelogs and autosaves are prefixed with the year, month, day, and time
- Files are well organized and correspond with one another
- The command to run the CoE3 executable is followed by quick reference for changing singleplayer settings
- Allows for commenting and uncommenting different executable configurations so you can quickly set up a certain type of game
#!/bin/bash
# This script is by vladikus and is intended for single player game settings for Conquest of Elysium 3.
# Just as with the multiplayer script, it keeps organized records of gamelogs and their corresponding
# autosaves.
# Features are as follows:
# Gamelogs and autosaves are prefixed with the year, month, day, and time
# Files are well organized and correspond with one another
# The command to run the CoE3 executable is followed by quick reference for changing singleplayer settings
# Allows for commenting and uncommenting different executable configurations so you can quickly set up a certain type of game
# IMPORTANT:
# The following variable should point to your COE3 executable, which is currently set to my own default.
# This script will be useless until you put in the correct path.
COE3_EXE='/usr/games/coe3_x86'
# Check to see if there is a directory for gamelogs in the user's CoE3 home folder (keep things organized)
# Gamelogs are best kept in their own directory. This script suggests ~/.coe3/gamelogs/
if [ ! -d ~/.coe3/gamelogs ]; then
echo -e "\nDirectory ~/.coe3/gamelogs not found. Shall I create it?"
echo "Please enter Y/N: "
read ans
if [ "$ans" == "y" -o "$ans" == "Y" ]; then
echo "Creating a gamelog directory..."
mkdir ~/.coe3/gamelogs
GAMELOG_DIR="/home/$USER/.coe3/gamelogs"
echo "Gamelogs are now located in ~/.coe3/gamelogs"
else
echo "Putting gamelog in ~/.coe3 directory"
GAMELOG_DIR="/home/$USER/.coe3"
fi
else
GAMELOG_DIR="/home/$USER/.coe3/gamelogs"
echo -e "\nPutting gamelog in ~/.coe3/gamelog directory"
fi
# Prefix autosaves and gamelogs with the year, month, day, and time
AUTOSAVE_DATE=$(date +"%Y-%m-%d_%R")_autosave_sp
GAMELOG_DATE=$(date +"%Y-%m-%d_%R")_gamelog_sp
cd $GAMELOG_DIR
# By default, this runs a singleplayer game with the following settings:
# small random map, renaming, fullscreen, and all northern terrain
$COE3_EXE --autosave=$AUTOSAVE_DATE --gamelog=$GAMELOG_DATE --randommap -u --rename --mapw=40 --maph=28 --society=0 --northpart=100
# For a 3 v 3 singleplayer game where you plan to ally with two of the AI:
# small random map, renaming, fullscreen, cluster start
# $COE3_EXE --autosave=$AUTOSAVE_DATE --gamelog=$GAMELOG_DATE --randommap -u --rename --mapw=40 --maph=28 --society=0 --clusterstart
# Below are some additional settings for quick reference
# Map size
# Tiny 30 x 20 (e.g. --mapw=30 --maph=20)
# Small 40 x 28
# Large 50 x 36
# Huge 60 x 44
# Enormous 70 x 52
# List of common multiplayer switches followed by explanations
# -b Doesn't show battles, but creates reports
# -r Use random map for new game
# -u Fullscreen mode
# -w Window mode
# --loadgame=FILE Replace FILE with a path to the autosave or saved game you want to use (.coe3/saves/)
# --loadmap=FILE Replace FILE with a path to a map for the game (.coe3/maps/)
# --society=NBR Replace NBR with (0 - Random; 1 - Dark Ages; 2 - Agricultural; 3 - Empire; 4- Fallen Empire; 5 - Monarchy; 6 - Dawn of a New Empire)
# --northpart=NBR Percent of map for northern type terrain (80 is default)
# --clusterstart Allies/teams start in same area of the map
# --commoncause A player only loses if the entire team loses
The most recent version of this script can be downloaded from here: coe3_sp.sh
Edited by: vladikus