Mafia 3 Modding (Mega Thread)

Download Mods for the Mafia Games Forums Mod Creation Mafia 3 Modding (Mega Thread)

This topic contains 127 replies, has 46 voices, and was last updated by  Vladimir Shittin 3 weeks ago.

Viewing 8 posts - 121 through 128 (of 128 total)
  • Author
    Posts
  • #163771

    vrock_wave
    Participant

    in all mods not working check keystrokes I have the latest version of the game from steam

    Only functions work without bindKey
    bindKey(“i”, “game.game:GetActivePlayer():GetOwner():SetSpeed(90)”); not work
    game.game:GetActivePlayer():GetOwner():SetSpeed(90) work
    how to fix it without it do not work all the mods
    #163803

    Lucas Bertone
    Participant

    In latest game version game crash as soon ScriptHook is loaded. Anyone thinks MAfia 3 Multiplayer should be done?

    #163865
    Modded Games
    Modded Games
    Participant

    The new update messed up scripthook. I tried using some scripts today & game keeps crashing if I load them. Scripthook needs to be updated.

     

    edit: Set for launcher.exe, M3ScriptHookLauncher.exe and mafia3.exe compability mode for Windows 7 and set checkbox to run it as administrator, & scripthook will work.

    • This reply was modified 2 months, 1 week ago by Modded Games Modded Games.
    • This reply was modified 2 months, 1 week ago by Modded Games Modded Games.
    • This reply was modified 2 months, 1 week ago by Modded Games Modded Games.
    #163884
    Modded Games
    Modded Games
    Participant

    Hey guys I made a “Repair Car Engine” mod for Mafia 3 https://mafiamods.com/mods/repair-car-engine/

    To those having trouble with scripthook:

    • To make scripthook work: Right-click>properties>compatibility on “launcher.exe”, “M3ScriptHookLauncher.exe” , “mafia3.exe” and set compatibility mode for Windows 7 + run it as administrator (you can “change settings for all users” just in case)
    • This reply was modified 2 months, 1 week ago by Modded Games Modded Games.
    #163908

    vrock_wave
    Participant

    Эй, ребята, я сделал “ремонт двигателя автомобиля” мод для мафии 3 https://mafiamods.com/mods/repair-car-engine/ Для тех, кто имеет проблемы с scripthook:

    • Чтобы сделать scripthook работы: правой кнопкой мыши>свойства>Совместимость “launcher.exe”, “M3ScriptHookLauncher.exe” , “mafia3.exe” и установите режим совместимости с Windows 7 + запустить его от имени администратора (вы можете “изменить параметры для всех пользователей” на всякий случай)

    for me only works well xD

    game.game:GetActivePlayer():GetOwner():SetMotorDamage(0)


    it can come in handy

    veh = game.game:GetActivePlayer (): GetOwner (); vachislit auto player

    veh: SetDirty (0); dirt level
    veh: SetRust (0);
    veh: SetActualFuel (100); Fuel level
    veh: SetSPZText ( “Vrock”, true); sign change rooms

    veh: SetColor (1, 40); cars color change
    veh: SetMotorDamage (0); engine damage level
    veh: SetCarDamage (1) the level of car body damage
    veh: SetDespawnImmunity (true); immunity

    veh: Explode (); blow wheelbarrow
    game.game:GetActivePlayer():GetOwner():SetSpeed(150) set the speed for the type of nitro cars splash
    veh: SetSearchlightOn (true, true); on off the headlamp in Musar
    veh: SetBeaconLightOn (true, true); on off flasher at Musar
    veh: SetEngineOn (true, true); ON OFF Engine
    veh: SetLightState (true, true); lights on off
    veh: SetHornOn (true); the horn
    game.hud: OpenCustomizeCarMenu (true) On the menu customization cars
    hud: RadarShow (false) on off radar
    hud: SpeedometerShow (false) on off Speedometer
    hud: InfoAreaShow (false) names on off areas
    hud: BackMirrorShow (false) on off the rear-view mirror
    hud: MoneyShow (false) on off money panel
    hud: ObjectiveShow (false) on off hints tags
    hud: ActionButtonsShow (false) display on off button
    hud: MessageAreaShow (false) on off tips

    game.game:GetActivePlayer (): InventoryAddMoney (5454) to add money
    game.game:ModifyGameTime(0.25, 2); slow down time
    game.game:ModifyGameTime(1.0, 1); normal flow of time
    game.game:GetActivePlayer():ActivateRagdoll(false) regdoll for Player
    Human = game.game:GetActivePlayer () to assign a variable Player
    Human: SetMaxHealth (1000) give the Player count in life or cure
    game.game:GetActivePlayer():ShowModel(false) on off models Player display
    dayTime = game.gfx: GetTime (); set the variable weather
    game.gfx: SetTime (dayTime + 1, 0.0); change the weather for one hour +
    game.gfx: SetTimeFlowSpeed ​​(1.0) transience of time of day

    game.game:GetActivePlayer():InventorySetUnlimitedAmmo(true) infinite ammo on off
    game.game:GetActivePlayer().invulnerability = true god mode on off

    • This reply was modified 2 months, 1 week ago by  vrock_wave.
    #164110

    psrkallez06
    Participant

    I would really like to use this.. But my game closes without error when i launch it.. please help

    #164116

    Perkele6666
    Participant

    It seems like some of the files from Faster Baby DLC are already in game files.

     

    Attachments:
    You must be logged in to view attached files.
    #164122

    Vladimir Shittin
    Participant

    Is there a possibility to get this update to work in Mafia 3? Roll Down Windows (Lua Script)

    Thanks a lot!

    I’ve tried experimenting a bit with the functions from the LUA dump, but couldn’t get it to work, unless I’m doing something wrong.
    If this helps, the windows are rolled in car customization when going changing the Interior color.

    Edit: Out of my own intuition, I got this to work flawlessly with Mafia 3. Just remember to update your scripthook (See: https://mega.nz/#F!PslyVbbS!oumw1WDlaHrOvzY_R0AF1Q)

    Thanks again! 🙂

    Regards

    • This reply was modified 3 weeks ago by  Vladimir Shittin. Reason: https://mafiamods.com/mods/roll-down-windows-script/
Viewing 8 posts - 121 through 128 (of 128 total)

You must be logged in to reply to this topic.