Before:
After:
Police Mod is a mod for Grand Theft Auto, created by Dehan. PoliceMod was the first functional Police mod to be released for Grand Theft Auto V on PC. PoliceMod is an alternative to other modifications such as LSPDFR, and offers different and unique features. Attempt to remake the one life season 3 modpack. Based off the one life season 3 smp. Please make sure to tell me any mods I may have missed. PACK DOWNLOAD: MINECRAFT FORUMS. The zoom-out mod was maintained for a long time, not sure it is any more. Jason has said he doesn't really like it, but that is the nature of the game and code he's produced. The only official mod that I'm aware of is a reluctantly-made nudity-removal mod Jason made for those who need it for Youtube or other censorship issues. In order to install, you already need to have the normal version of the game. Then download the binary 'OneLifeAppHwindows' and place it inside your One Hour One Life folder. For steam users this folder is at C: Program Files (86x) Steam steamapps common One Hour One Life Then execute the downloaded binary.
First of all i want to say, jason if you dont like this, feel free to delete this thread, i will not reopen it. Am i stepping over a line by doing this? What are the rules?
------
Two Hours, One Life Windows Game - Mod DB
I make this because i think its more fun to play the game zoomed out and i want to show people how it can be done. It makes it easier to orientate yourself, easier to find food, less likley to run into wild animals, easier to spot killers/griefers from further away and so on..
I will not upload this to github and i will not upload any executables. But i will explain how you can change the source code in order to zoom out.
In order to find the correct line number, copy the code that i did not change and search (ctrl+f) for it inside the correct file.
First download the source code and make sure you can compile it. (more about this at the bottom)
Now to the coding, change 2 variables in /OneLife/gameSource/game.cpp
The zoom factor i am using is 1.5x, so i multiplied 1280*1.5 to get 1920 and 720*1.5 to get 1080.
I put the old values in comments.
If you now compile it and start it, it will look like this:
Already zoomed out! But the borders are messed up and the health panel is not in the right position.
So lets fix the borders first, therefore we need to change several variables inside /OneLife/gameSource/LivingLifePage.cpp
I must admit, i changed them randomly, not sure what the correct values are but this works fine for me.
The first four numbers i changed to 10, then i added 3 to the next four numbers
I put the original values in comments again.
After this change the borders will look nice, and you will be able to see more trees and other objects on the borders. But the panels are still messed up.
So lets fix the panels, this part is a bit messy.
All changes will happen in /OneLife/gameSource/LivingLifePage.cpp
First lets define 2 new constants, you can put them in the first line of the file or next to the other defines.
The reason why 320 and 180 is because (1920-1280)/2 = 320 and (1080-720)/2 = 180
This has to do with the first change we made.
Now we need to change 14 lines:
My strategy for the last 6 variables was to just subtract MOVE_PANEL_Y whenever i see a number thats between 310 and 340.
And thats it! Compile, run and enjoy.
How to compile:
Joriom's tutorial: https://onehouronelife.com/forums/viewtopic.php?id=1438
I think its best to use Ubuntu to compile it. If you dont have Ubuntu you can set up a vm or install a dual boot. (google it)
Here is a nice tutorial from jason: http://onehouronelife.com/compileNotes.php
First create a new folder called whatever.
Then create a new file call it pullAndBuildLatest.
Open the file and copy paste this script into it:
https://raw.githubusercontent.com/jason … uildLatest
Save it. Close it. Right Click it. Properties -> Permission -> Check 'Allow executing file as program'
Now rightclick 'nothing' inside the folder you created and click on 'Open in terminal'.
Copy (ctrl+c) and paste (ctrl+SHIFT+v) this:
sudo apt-get install git g++ imagemagick xclip libsdl1.2-dev libglu1-mesa-dev libgl1-mesa-dev
inside the terminal that opened. This will install libraries.
Than write ./pullAndBuildLatest to execute the script you saved.
This will download the latest version from github and then compile it.
If you then make changes to the code you can run the ./runToBuild script in the terminal to compile it. (/runToBuild 1 for ubuntu)
Bonus: (thanks to sliderule)
https://github.com/jasonrohrer/OneLife/ … .cpp#L1587
Replace the string 'ABCDEFGHIJKLMNOPQRSTUVWXYZ.-,'?! ' with:
This allows you to write numbers and some symbols.
But not all symbols work, some of them doesnt show up when you write them but are visible after you pressed enter and some symbols might also get you killed.
For example if you write # you will get a connection lost error, which might be usefull if you want to quickly commit suicide without restarting the game.
Zoom Out Mod :: One Hour One Life General Discussions
Last edited by Drakulon (2018-05-02 19:08:33)