Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mafia mods => Topic started by: Arachnoid on December 30, 2011, 03:07:07 PM

Title: Just a few facts about public transport settings
Post by: Arachnoid on December 30, 2011, 03:07:07 PM
I have decided to write this manual for anyone who wants to mess with public transport in Lost Heaven.


 




-All settings of trams and elevated trains, such as speed, acceleration, tilting rate and such are controlled by the SCENE2.BIN - so for each part of game, you have to change its scene2.bin to see the changes.


 




-The useful thing for editing scene2.bin is hexadecimal editor, like Hex Workshop or similar.


 




-BACKUP, BACKUP, BACKUP! - that is the most important part.


 




Basics:




First, you have to find the part, that you want to edit, in hexadecimal code.




It looks like:







<pre class="ipsCode">73616C696E6132 - this means "salina2"



0022 - "just spacing"



AE0A0000000800000024AE1F - "nothing useful"



000000 - "zeros"



00 <b>- "this number controls the number of attached cars - 01 for 1, 02 for 2 ..."</b>



00000000 - "zeros"



00008841 <b>- "distance between cars (default value is 17) - edit if you want to use different traincars"</b>

00000041 - "DO NOT CHANGE THIS!"



398E1B41 - "this changes the speed (default value is 9.27777 for tram and 12.5 for elevated railway)"



0000803F - "this might be tilting, but I am not sure about it yet."



00401C4621AE3D00000023AE0E000000 - "and this we don't need in this tutorial"</pre>






 




Don't forget to keep the copy of your original scene2.BIN file.
Title: Just a few facts about public transport settings
Post by: crazypreacher on December 30, 2011, 03:51:00 PM
I'm sure it will usefull to someone, thank-you verry much or sharing it  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Just a few facts about public transport settings
Post by: Mike Bruski on December 30, 2011, 04:24:16 PM
Looks very interesting, if I knew how to code, I would be on it immediately because I would love nothing more than to see the trains ride Empire Bay once again, thank you for sharing.
Title: Just a few facts about public transport settings
Post by: vapno92 on April 23, 2012, 04:15:35 PM
Please help me! I really don't know how to edit something. I wanted to edit the speed of trams.