Game patches (0.9.13)
Hi guys.
While playing shoppa with a lot of barrels and mines, I noticed that it's not easy to control the rope while there are explosion, because the camera loses the focus on the hog and makes you see the fire.
I didn't like this behavior, so I added a new keyboard shortcut key ('f') that makes the camera always focus on the hog. So every time you press 'f' the camera focuses the hog, and when you press it again, the camera works as usual (the key can be changed in the preferences).
Some people asked me to post this so here is the patch to add this feature (for version 0.9.13). The patch doesn't follow the rules of the hedgewars source code because I had no time for that, but... it just works.
So here are the instructions for Linux/MacOSX:
1) download the source code from mercurial repository
for 0.9.13 you need revision 0973c5af51, so use this:
hg clone --rev=0973c5af51 https://hedgewars.googlecode.com/hg/ hedgewars
2) patch the sources
cp hogfocus.patch hedgewars/
patch -p0 < hogfocus.patch
3) compile (follow the instructions you will find on the forum)
Download the patch at: http://rapidshare.com/files/426435854/hogfocus.patch.zip
Um, the patcg you instsalled is already in the game, press H to focus the screen on the Hog.
The H key doesn't work the same, maybe i've not explained myself correctly.
When you press H while doing nothing the camera focuses the hog, ok.
But if, for example, you have your hog on the upper right side of the screen, and there are barrels that explode on the bottom left of the screen, you are forced to see the barrels explode and the fire that goes down, even while pressing H repeatedly: this way I can't control my hog, and I'm forced to wait until the camera focuses the hog again. If instead, you apply the patch and press 'F', the camera will just focus on the hog and nothing else.
This is a really common problem when you play shoppa with a lot of barrels, mines and 300% damage. Such a mode is kinda unplayable without this patch.
Hope I explained better
Oh, i see, this will be fixed in the next release anyway.
Good Job agoom.
peace,
wolfmarc
what's with these pathes for windows ??
I can't seem to find a precise and accurate answer on how to apply them in windows!
It's really frustrating, especially because win platform is the most used one, and there isn't any easy-to-do patch, or atleast a clean how-to tutorial...
every single post about using patches in win is really confusing
you have to apply it to the source and then compile the source which is apparently really complicated to do on windows. Better to go download Ubuntu. it's much easier to compile on linux.
Style is spelled style not stile.
Use Dropbox to backup your important goodies!
compiling on windows is ridiculously hard, but it's M$'s fault.
My favorite sport: nerd sniping.
Applying a patch to a cloned repository is actually pretty simple. Using TortoiseSVN for example, you just need to right click the versioned folder, go through the Tortoise context menu and click on apply diff patch. Compiling in Windows is another history, a lot more troublesome actually, specially because the game itself has been developed in some *nix distro. When something is developed under windows compiling on both *nix and windows plataforms is a trivial process, although the same doesn't apply for *nix development.
Hope it helps!
Life is too good to care about that! Gotta take a ride to the moon...
-Fernando da Cunha Sterea