FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visit View your posts View unanswered posts

[Tutorial] Unused features

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Modding Tutorials
View previous topic :: View next topic  
Author Message
Cukier

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 14 Jan 2014
Posts: 53
Location: Poland
14005 Bank Notes
Items

PostPosted: Thu May 21, 2015 10:30 pm    Post subject: [Tutorial] Unused features Reply with quote

Note: This tutorial is ONLY for Mafia 1.0
Those changes can corrupt your savegames!


Today I will show you how to make things that you're not normally permitted to do Smile
First you need to launch Mafia and minimise it, then download and install Cheat Engine:

http://mirror3.cheatengine.org/download/d1/CheatEngine64.exe

After installing and skipping the tutorials, click on the blinking computer icon in upper-left corner, and open Game.exe process.

Now you need to click on the "Add Address Manually" button.
Then in new window you need to fill the forms by list shown below.
Note: You assign Value in address list after clicking OK.
Note2: Things after the + in an address is called an offset. You need to type them in form over the address form
(for example look at Fast Tutorial image). If an address has more than one offset then you need to add another one by clicking Add Offset
If I specified Pointer: Yes then you need to tick Pointer Square.


After clicking OK in the Add Address Manually window, the address will be shown in address llist. To change Value you need to highlight the address.
Press Enter. Type the value you want, and confirm it with Enter. Or you can change it by double clicking on the Value too.

Fast Tutorial:


Address List:
Quote:

Player Camera
Address: 6F9464 + 5c
Type: Byte
Pointer: Yes
Values:
0 - Camera is stuck in one place
1 - Default Camera
2 - Defaultl Camera with Smooth/Focus effect
3 - First Person View
4 - Camera is stuck in one place
5 - First Person View (from neck) with damn low mouse sensitivity.
6 - Death Cam

Car Camera (you must be in car to change it)
Note: After setting value, you need to press Camera change button to activate
Address: 6F9464 + 60
Type: Byte
Pointer: Yes
Values:
5 - Camera is stuck in one place
6 - Death Cam
15 - GTA1 style camera (from top)

Police siren (you must be in car to change it)
Note: Works only with police cars, and it works like real police siren (cars moving from your way)
Address: 6F9464 + e4 + 98 + 51d
Type: Byte
Pointer: Yes
Values:
0 - Siren OFF
1 - Siren ON

First Person Mode (with invisible player model)
Note: After you set value, click on Active square, elswere it would not work.
Address: 6F9130
Type: Float
Pointer: No
Values:
0 - First Person Mode OFF
1 - First Person Mode ON


P.S if i find any awsome address i will update this post Smile
Back to top
View user's profile Send private message
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 80

185 Bank Notes
Items

PostPosted: Sun May 29, 2016 3:25 pm    Post subject: [Tutorial] Unused features Reply with quote

Are you sure about the police siren offset? 51 (decimal) points into the car actor's rotation vector if I'm not mistaken, and 51 (hexadecimal) does not seem to be correct either... Thinking

EDIT: Silly me. For some reason I parsed the 'd' suffix as indicator for decimal, but the actual offset is 0x51D. It's all working now. Oops!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Modding Tutorials All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.024 | Queries: 19