Skip to content

Leonard2/OneLife

 
 

Repository files navigation

One Hour One Life+ Github All Releases GitHub release Github Releases GitHub Release Date

A lightly modified client for One Hour One Life, a cross-platform and open-source multiplayer survival game of parenting and civilization building by Jason Rohrer.

Requirements Installation Usage Added Features Credits License


Requirements

  • Requires the base game to already be installed.
  • The full client, modded client, editor, and server are currently only provided for Windows in the "win_full" package.
    • NOTE: The "win_full" package does not automatically grant you access to play on the official servers! However, you can use this package to host your own private server(s) directly on Windows.
    • Use runServer.bat in the server folder to create the necessary symlinks & launch the server.
  • Pre-compiled releases of just the modified client are available for Windows, Linux and macOS 10.5+.

Installation

Download the latest release for your OS and extract all 5 files from the zip file into the folder where your game is installed. There should be 1 executable and 4 text documents. That's it!

Now just launch the game with OneLife+.exe for Windows, OneLife_v###+.app on macOS (where ### is the client version), or OneLife+ on Linux.

Steam Mod Installation Guide by KrissJin:

Steam Mod Installation Guide by KrissJin

Usage

Keybind Description
Left ( ← ) Decreases the FOV zoom scale by 0.5x. Minimum of 1.0x scale.
Right ( → ) Increases the FOV zoom scale by 0.5x. Maximum of 6.0x scale.
Shift + Left ( ← ) Sets the FOV zoom scale to your preferred minimum. Defaults to 1.5x scale.
Shift + Right ( → ) Sets the FOV zoom scale to your preferred maximum. Defaults to 3.0x scale.
Grave Key ( ` ) Toggles HUD scaling. HUD scales with zoom level or locks at 1.0x, separate from the game scene.
Backslash Key ( \ ) Toggles displaying of the Lineage Fertility panel.
Shift + Space Generate a random name.
Shift + a-z Generate a random name that begins with the corresponding letter that you press.
Shift + DEL Sudden Infant Death (/DIE) hotkey. Honors server restrictions for usage.
F1 - F7 ( F-Keys ) Hotkeys for triggering emotions. Ordered the same as your emotionWords.ini settings file.
? (Question Mark) Toggles the zoomed-in magnifier box that moves with your mouse cursor.

Added Features

  • In-Game Adjustable FOV Zoom

    • Adds four new settings that control the FOV "zoom level" of the game, "fovScale", "fovScaleHUD", "fovPreferredMin", and "fovPreferredMax".
    • "fovScale" controls your "zoom factor" and can be any value from 1.0 to 6.0.
    • "fovScaleHUD" toggles locking your HUD at a 1.0x scale, separate from the game's FOV scale.
    • "fovPreferredMin" and "fovPreferredMax" are presets that can you use to quickly switch between a minimum & maximum FOV scale.
    • NOTE: Scales above 2x are likely to have significant amounts of "screen popping" around the edges. This is due to the amount of data that the server sends to the client at any given time and cannot be avoided. If this bothers you, then just don't zoom out that far!

720p - No Zoom 1080p - 1.5x Zoom 1440p - 2x Zoom 4k - 3x Zoom

  • Zoom-IN Magnifier

    • Toggle a small zoomed-in magnifier, borrowed from the game's Editor. Great for seeing tiny objects wherever you move your mouse!
  • Lineage Fertility Panel

    • Shows the fertility status for you and your mother. Statuses are: Incapable (for males), Too Young, Fertile, Too Old, or Dead.
    • Also displays counts of any fertile living female relatives, not including yourself, separated by children and adults.
    • Helpful for knowing if you or your mother can breed/feed, or determining the probability of survival for your family's lineage.

Lineage Fertility Panel

  • Age Display

    • Adds your current character's age to the HUD's bottom information bar.

Age Display

  • Adjustable Lifespan

    • Adds a new setting that can be used to control the overall lifespan for clients & servers, "lifespanMultiplier".
    • NOTE Settings must match on the client & server for it to properly work as expected.
  • Name Generator

    • Automatically generate a name that the server allows, as it uses the same first and last name lists.
    • Auto-populates your chat with "YOU ARE ", or "I AM " if you have not named yourself yet.
    • Can generate names pseudo-randomly, or that begin with a specified letter.
    • NOTE: You can customize the first and last name lists to only pick from your favorites! Remember that names not already included on these lists will not be recognized by the server.
  • Easy Chat

    • Auto-focuses the chat box when you start typing. Never "lose" your chat by forgetting to press Enter first!
    • Includes keybinds for triggering Emotes or Instant Death commands.

Credits

Thanks to Joriom for the detailed guides, Bimble for the VirtualBox image, Drakulon for the original FOV mod concept, and UncleGus for the original lifespan concept.

Special thanks to these awesome people!

License

To the extent possible under law, Jason Rohrer has waived all copyright and related or neighboring rights to this work. Ditto.

About

a multiplayer survival game of parenting and civilization building

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 87.8%
  • C 6.3%
  • PHP 3.5%
  • Shell 2.2%
  • JavaScript 0.1%
  • Gnuplot 0.1%