Mafia 3 Modding (Mega Thread)
- September 7, 2017 at 11:33 pm #164523JoshParticipant164520 wrote:
Finally I did it that spawning vehicles without awful upgrades and painting.
Currently the biggest problem is we can’t spawn all vehicles by “bindkey” command because this game has over 70 vehicles.
Hopefully if someone tell me the way to store two digits number by pressing two numeric keys in lua script.
Nice! Did you figure out what the parameters were for game.traffic:SpawnCar?September 9, 2017 at 12:35 am #164524vob775Participant164523 wrote:
Nice! Did you figure out what the parameters were for game.traffic:SpawnCar?
“game.traffic:SpawnCar” can’t be used after all. I tried to open “game_structure_console.lua” and disabled “DBGVehicleUpgrade” “SetColor” “InstallTuningItems” “SetPainting”.
Unfortunately all scripts are binarized so I had to open Hex editor and substitute invalid values in so many trials and errors. I’m going to upload test version this weekend.
1 user thanked author for this post.September 9, 2017 at 2:39 am #164530vob775ParticipantSeptember 14, 2017 at 7:40 am #164542
How can I extract the sounds of weapons? When I enter edit_retail / weapons and select some sds file, I can only extract BNK files (.bnk).September 14, 2017 at 5:03 pm #164543sliderv2Participant
Is there any way to load cutscene interiors via .lua script? Because I would like to explore interesting interiors. I managed to load interiors in previous game, but that script from Mafia 2 doesn’t work here. I only know .sds files of the interiors.
Donovan’s van – “bc_loc_fmv_donovans_van_general”
Olivia hospital – “bc_loc_fmv_hospital_general”
Maguire documentary interior – “bc_loc_fmv_maguire_basement_general”
Marcano’s office – “bc_loc_fmv_marcanos_office_general”
Senator interview room – “bc_loc_fmv_senate_hearing_room_general”September 16, 2017 at 5:17 pm #164544KentekParticipantSeptember 21, 2017 at 9:56 am #164558KrakTankkillParticipant
How to mod cars?
I just want to make them more powerfull, not a big thing, but don’t know how toOctober 3, 2017 at 9:22 am #164586October 4, 2017 at 4:58 pm #164601
It’s what I’ve been waiting for for months. Please, can you add the option of street fights with pedestrians or add gangster as in Mafia 2? I still dream that Mafia 3 has the good of Mafia 2.October 4, 2017 at 4:59 pm #164602164586 wrote:
<noscript><img src="https://i.redd.it/umwq09881lpz.jpg" alt="" /></noscript>Vito Scaletta!
Can you add the option of street fights with pedestrians or add gangster as in Mafia 2?October 4, 2017 at 7:06 pm #164603164544 wrote:
How can I extract the sounds of weapons? When I enter edit_retail / weapons and select some sds file, I can only extract BNK files (.bnk).
Extract BNK wwise sound bank Ravioli Game Tools
I want to make a mod of realistic gun sounds for Mafia 3. I could already extract from BNK to Wav, but now I do not know how to convert from Wav to BNK. When extracting the BNK in WAV, several Wav files are created that I can easily edit them; but I have no idea how to turn them back into BNK. In Mafia 2 you could with the FSB FMOD Converter.October 4, 2017 at 9:09 pm #164606Modded GamesParticipantOctober 12, 2017 at 7:13 pm #164623sliderv2Participant
How can I edit “spawnprofiles.sds” to swap characters? For example I want to swap Sal Marcano with Leo Galante. I have already seen some “spawnprofiles.sds” mods.November 26, 2017 at 9:54 pm #164710discohouse57Participant
Just made a military skin for racing jacket “Pro-Am”
1 user thanked author for this post.December 20, 2017 at 11:55 am #164835discohouse57Participant
I want to spawn Vito near the player.
In Mafia 2, you could do this:
Vito = game.entitywrapper:GetEntityByName("Vito") Vito:SetPos(game.game:GetActivePlayer():GetPos())
In M3, this does not work, although function GetEntityByName is present: mafia3scripting.wikia.com/wiki/Game_Library
Is there any idea how this can be done?
P.S. Error description in ScriptHook.log:
Error loading Lua code into buffer. Error -100
test:2: attempt to index a nil value
test:2: in function ‘(main chunk)’
Trying to execute: Vito = game.entitywrapper:GetEntityByName(“Vito”)
- You must be logged in to reply to this topic.