Conquest of Elysium 3 is an old school fantasy strategy game. You explore your surroundings conquer locations that provides the resources you need. Resources needed vary much depending on what character you are, e.g. the high priestess need places where she can gather human sacrifices, the baron needs places where tax can be collected and where iron can be mined. These resources can then be used for magic rituals and troop recruitments. The main differentiator for this game is the amount of features and special abilities that can be used. The game can be played on Windows, Linux (x86 and raspberry pi) and Mac OSX (intel and powerpc).

Forum Thread
  Posts  
CoE3 Singleplayer Linux Script (Games : Conquest of Elysium 3 : Forum : Tutorials : CoE3 Singleplayer Linux Script) Locked
Thread Options
vladikus
vladikus The Lazy One
Feb 24 2012 Anchor

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

Mar 17 2012 Anchor

Thankee very much!

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.