Skip to content

hetuw/OneLife

Repository files navigation

OneLife

This is a modified version of OneLife https://github.com/jasonrohrer/OneLife
Check out this forum thread to see what it can do and how to use it: https://onehouronelife.com/forums/viewtopic.php?pid=53465#p53465

Table of Contents
- Installation
- Changes
- Compiling
- Other Mods

Installation:

you can download the executable here: https://github.com/hetuw/OneLife/releases
for windows this would be "OneLifeApp_H_windows.exe"
place this file inside your ohol folder and then start it.

Changes:

Help page

press H in game to show all the hotkeys and commands

Zoom

press -> (right-arrow-key) to zoom out
press <- (left-arrow-key) to zoom in

Age

current age will be displayed on the bottom panel

Coordinates

coordinates will be displayed in the top left corner, they are relative to your birth location

Food-Value indicator

when you are holding a food item in your hand, it will show you how much food you will gain by eating it

Show player names

all player names will be written above the players, the color depends on your relationship with that person.
your mother is green, your cousins are blue or purple, unrelated people are white.
you can show only first names / full names or no names at all, press N to change it.

Death messages

if someone in your area dies you wll see a death message on your screen.
telling you the name of the person that died, their age and gender.

Players in range panel

in the top right corner you can see how many people are in your range
and how many of them are females under the age of 40.

Emotions

you can press 0-9 to make emotions
you can also write an emotion in chat, than it will last permantly, you can stop it by pressing 0-9

Keyboard Control

E

press E to eat what you are holding in hand

Q

press Q to put something in your backpack or take something out

SHIFT+Q

switch the item in your hand with an item inside your backpack

C

press C to pick up or drop a baby

WASD

you can use wasd to go up/left/down/right
this makes it easier to avoid dangerous animals and it will open doors automatically

SHIFT+WASD

similar to left click, will pick up an item in the choosen direction

CTRL+WASD

similar to right click, for example: CTRL+W can be used to pick up an item from a basket that is 1 tile above you

SPACE

similar to left click, can be used to pick up items from the tile you are standing on

CTRL+SPACE

similar to right click on the tile you are standing on

F

press F to stop the camera from moving, with the default client you have to keep holding SPACE to achieve this effect

Compiling:

The following instructions are for compiling this mod with linux.

You will need to install the following:
sudo apt-get install git g++ make imagemagick xclip libsdl1.2-dev libglu1-mesa-dev libgl1-mesa-dev
Then download this script: hetuwPullLatest.sh
Put it inside an empty folder and open a terminal inside this folder.

First set the executeable bit by writing:
chmod +x hetuwPullLatest.sh
Then execute the script in order to download the latest version:
./hetuwPullLatest.sh linux 1
You can also download it for windows, like this:
./hetuwPullLatest.sh windows 3
In order to compile you can type:
./hetuwCompileAll.sh
To start it type:
cd linux
./OneLifeApp

more information about how to compile ohol:
http://onehouronelife.com/compileNotes.php?nocounter=1
https://onehouronelife.com/forums/viewtopic.php?id=1438
https://onehouronelife.com/forums/viewtopic.php?id=423


other mods:
https://github.com/Awbz/OneLife
https://github.com/JustinLove/onelife-client-patches
https://gitlab.com/_zed_/OneLife/
https://github.com/PXshadow/OpenLife