Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Editing => Mafia II mods => Topic started by: Shogun on July 03, 2012, 07:12:13 PM

Title: How to mod Mafia II?
Post by: Shogun on July 03, 2012, 07:12:13 PM
I want to make a mod, but I simply don't know how. I understand I have to use Rick's Tools as this opens SDS files (I'm not entirely sure what an SDS file is, but it seems like a compression of files) and the SDS files contain textures, scripts, tables etc. However, I do not know what files to edit or how to edit them.


 




The mod I would like to make would allow players to purchase cars from the Diamond Motors shop. I do not initially intend on anything complex or finely detailed. Here is a bit of pseudo code to further explain this idea:


 




Player is within AREA -> Show message("Press E to purchase a car") -> If Player presses E, show MENU -> Player selects a car -> if player has enough money -> money is decreased, car is spawned




-> if player does not have enough money -> show message ("You do not have enough money.")


 




Key:




AREA = Close proximity of Diamond Motors building entrance




MENU = A list of all the cars available for purchase and their price next to them. W and S keys to scroll up and down, E to purchase


 


 




So yeah, any tutorials, tips or advice would be greatly appreciated. By the way, I do not have any experience in modding besides a couple of tweaks in Oblivion.
Title: How to mod Mafia II?
Post by: jaca37 on July 03, 2012, 09:01:33 PM
Wow. You have plans for something big. I think that a simple "tutorial" won't be enough. Why don't you start with some simple stuff to learn how to use tools? Like modifying freeride script or tables.sds
Title: How to mod Mafia II?
Post by: Shogun on July 03, 2012, 09:06:35 PM
Oh ok thanks, I did not realise the scale of this task. I'm not quite sure what you mean by "freeride script or tables.sds", so can I ask that you set me a specific task and if necessary tell me where to begin? Thanks for the reply


 




EDIT: My bad, I found the tables.sds. Having a look at it now...
Title: How to mod Mafia II?
Post by: Kirov-MG on July 04, 2012, 07:02:27 AM
One does not simply modify Mafia II  :cool:
Title: How to mod Mafia II?
Post by: jaca37 on July 04, 2012, 08:40:34 AM
Use Rick's Tools for exploring and editing tables.sds and ingame.sds
Title: How to mod Mafia II?
Post by: Kirov-MG on July 04, 2012, 11:09:27 AM
Tosyk wrote a tutorial about extracting models from Mafia II. Here (http://cgig.ru/en/2011/01/converting-3d-model-from-mafia-2-en/:7y0yblx0).
Title: How to mod Mafia II?
Post by: eXistenZ34 on July 04, 2012, 01:57:44 PM
Shogun




I have many things to say, but I do not speak English. I use a translator and then I do not really have time.


 




test buying car 07-22-2011 or cigarettes, apartment, newspaper, lunch in a bar.


 









<div></div>  




Script Car Entity




http]


 




but the big problem is the file size limit "freeraid_main.sds" or "dlc_freeraid_main.sds"




it's not that we lack ideas, but of the place in the script to write.





in FR JA v3.0 I only have it  0.4Ko of free on 16.1ko, FR M2 of zahaar has reached its limit 19Ko





After, game crash when you start.



 




[hr:35rwcbrg][/hr:35rwcbrg]


 




Hi Kirov-MG


 




only problem, only works in one direction : sds to dae but not dae to sds


 




but for fun I thought it was good except I do not sai how to add the texture.




view Forklift & M14 : 5 months ago




[url=/forum/44-mafia-general-discussion/3614-forklift-m14-found-by-gemb#3642]http]




[url=/forum/44-mafia-general-discussion/3555-scaletta-s-pizzeria-found-by-gemb]http]


 




in first link i post dae exemple




[url=http://www.mediafire.com/?layczurha52zeck]www.mediafire.com/?layczurha52zeck (//forum/22-existenz34-s-mods/9370-script-car-entity)




you know how to add textures, I like to know
Title: How to mod Mafia II?
Post by: Shogun on July 04, 2012, 05:12:18 PM
Thank you for the feedback.


 




eXisten, it seems you have already beat me to it, and I do not quite understand what to do with the "Script Car Entity". Are those the commands I would use to edit and manipulate cars? It is also a shame that you do not share everything it is that you have to say  <img src="/wp-content/uploads/invision_emoticons/tongue.png" alt="(//tongue.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">


 




Kirov, thank you for the link but I am not so interested in textures, it's the coding that interests me. However I will definitely try this when the time arises.


 




Jaca, I will get straight onto it  <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="(//bigsmile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">
Title: How to mod Mafia II?
Post by: Blest on July 07, 2012, 09:25:53 PM
Thanks  <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="(//bigsmile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">