 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
quitscreen How do I cheat?
Reputation: 0
Joined: 30 Jan 2014 Posts: 5
|
Posted: Fri Jan 31, 2014 12:21 am Post subject: Hitman: Blood Money and adding FOV address |
|
|
I hope you don't mind me mucking up the forum a bit... I'm fairly new to Cheat Engine.
I've been looking into using Cheat Engine to find and alter the FOV for various games that have no other way to do it, and I started off with Hitman: Blood Money.
Using the memory viewer, I did a search for "FOV" in referenced strings and got a very good start; there's a referenced string explicitly saying "float CameraFOV = 67.4;", but I am not sure what to do past finding this result. A scan for the float 67.4 in memory didn't yield anything with the scanner, and I can't seem to add the memory address containing the referenced string. Do you fine folks have a tip?
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri Jan 31, 2014 1:13 am Post subject: |
|
|
Disclaimer: I don't have the game.
Looking at this gave me a wild idea: what happens if you put "CameraFOV 90" in your HitmanBloodMoney.ini?
If this doesn't work you can try "CameraFOV=90", "ConsoleCmd CameraFOV 90", "ConsoleCmd CameraFOV=90". Also try them in the cheat menu.
Otherwise, try to replace that "float CameraFOV = 67.4;" by "float CameraFOV = 90.0;" in memory (try before and after loading a level) and see what it does.
quitscreen wrote: | I can't seem to add the memory address containing the referenced string | Use the scanner on the main menu, with value type=string.
One more this you could try is to get a tool to search for text within a directory (like grepwin or inforapid s&r, there are tons of those on the net...) and search for CameraFOV across all files in your hitman blood money directory. If a file contains "float CameraFOV = 67.4;" that where you should start modding.
Lastly, modding tutors say that there are zip files in the Scenes\M** folder, extract one or two and see if there is a fov reference in there, incase fov would be redefined at each level (after all it seems they redefine guns on every level).
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
quitscreen How do I cheat?
Reputation: 0
Joined: 30 Jan 2014 Posts: 5
|
Posted: Fri Jan 31, 2014 1:24 am Post subject: |
|
|
Your reply has a lot of good leads. Thanks for taking the time to write that out! I'm running through some of your suggestions now.
Looking further into referenced strings brings up ToggleFreeCam, a command that can be added and mapped to a key within a custom .cfg file.
In HitmanBloodMoney.ini I have to write:
ConfigFile=[insert config name].cfg
And create [insert config name].cfg in the same place. Then to that file I add:
ZWINDOWSKEYS_1 =
{
ToggleFreeCam=tap(kb,k);
}
SO now I am guessing at how to alter the FOV using the config file. So far I have tried:
CameraFOV = 90; outside of the ZWINDOWKEYS
CameraFOV 90 outside of ZWINDOWKEYS
CameraFOV 90 = tap(kb,j); inside ZWINDOWKEYS
"CameraFOV = 90" = tap(kb,j); inside ZWINDOWKEYS
No luck so far, but I think I am close.
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri Jan 31, 2014 3:08 am Post subject: |
|
|
quitscreen wrote: | Your reply has a lot of good leads. Thanks for taking the time to write that out! | Actually, I forgot the most reliable way. You see, afaik zooming in video games is done by reducing the FOV, so search for a float between 50 and 100, zoom, filter with decreased value, unzoom, increased value,then value between 50 and 100...
If non-sniper guns have a small zoom effect when you aim down the sight, I recommend using those, otherwise use a sniper. The risk with the sniper is that the game might kill the camera attached to the player and create a new one attached to the gun.
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
quitscreen How do I cheat?
Reputation: 0
Joined: 30 Jan 2014 Posts: 5
|
Posted: Fri Jan 31, 2014 8:41 am Post subject: |
|
|
Gniarf wrote: | search for a float between 50 and 100, zoom, filter with decreased value, unzoom, increased value,then value between 50 and 100...
. |
I don't think this one is gonna work,sadly. Pressing F1 switches to first person view in the game, which has a noticeably higher FOV. I tried switching between first and third person, but no floats that made any specific sense seemed to come up. I may try with the sniper rifle,however. Thanks again.
In fact, your statement about killing the camera attached to the player may be correct... switching between first and third person produces a camera, and no weapons in the game have any form of ADS other than unique scopes, whose FOV change is direct and not gradual.
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri Jan 31, 2014 1:10 pm Post subject: |
|
|
quitscreen wrote: | I tried switching between first and third person, but no floats that made any specific sense seemed to come up. | Also try the double data type, maybe they write "float" in their scripts but their engine actually handles those variable as double precision floats.
I doubt they store FOV as an integer, but check that anyway.
Other that that, any chance they store FOV in radians instead of degrees?
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|