Mafia 3 Modding (Mega Thread)

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

Viewing 15 posts - 106 through 120 (of 191 total)
  • Author
    Posts
  • #163347
    Cole8055
    Participant

    Hey slad! any update on the difficulty mod?!? I’ve been checking mafiamods every day since you made this post watching out for it, I can’t wait!

    #163361
    SladernimoSladernimo
    Participant

    @Cole8055

    Hey, I’ve got some good news for you. I just uploaded first version of my Hardcore Difficulty Mod. It increases damage player takes from enemies by 5x.

    https://mafiamods.com/mods/hardcore-difficulty/

    2 users thanked author for this post.
    #163362
    Cole8055
    Participant

    You. are. the. fucking. man.

     

    Thank you soooooooooooooooooooooooooo much!

    #163396
    fireking117
    Participant

    @Sladernimo

    Hello sir, nice to meet you, you are a great man for help.

    I am really like your All Weapons Mod, but unfortunately, it can not be used for new version.

    And I don’t know how to fix it, even I want to know how.

    If it does not bother, please update it, Offer the highest gratitude.

    fireking117

     

    #163407
    SladernimoSladernimo
    Participant

    @dirtydanisreal

    If you want to start mafia3 + ScriptHook  together (similar to gta5) you can use my new tool: https://mafiamods.com/mods/mafia3-extended-configurator/

     



    @fireking117

    I had no trouble using the mod so far. Will test it in the next days with new game version.

     



    @Deewarz

    Great update on the scripting wiki! How did you find out functions of the new classes (game.police …) ?

    3 users thanked author for this post.
    #163408
    Deewarz
    Participant

    @dirtydanisreal If you want to start mafia3 + ScriptHook together (similar to gta5) you can use my new tool: https://mafiamods.com/mods/mafia3-extended-configurator/ @fireking117 I had no trouble using the mod so far. Will test it in the next days with new game version. @deewarz Great update on the scripting wiki! How did you find out functions of the new classes (game.police …) ?



    @Sladernimo
    Damn thanks you for your tool!

    Here’s how I found these new features: ==> Zip in attachment

      1. Create a new folder called libs in your scripts directory
      2. Create a file called inspect.lua
      3. Copy/paste this script : https://raw.githubusercontent.com/kikito/inspect.lua/master/inspect.lua
      4. In your scripts directoy, create a new lua file and add this :


      local inspect = require 'scripts.lib.inspect'

      function printObject(object)
      if tostring(type(object)) == "userdata" then
      object = inspect(getmetatable(object))
      else
      object = inspect(object)
      end

      printToLog("object.log", "---------------------------")
      printToLog("object.log", os.date("-- %d/%m/%Y - %X --"))
      printToLog("object.log", "---------------------------")
      printToLog("object.log", object)
      printToLog("object.log", "---------------------------")
      end

      printObject(game) -- will log all Game libraries

       

      Now, use printObject() for any object (game, ai, game.game, etc.)

      I search in the compiled scripts for some keywords to test.

      enums seems very interesting!

       

      Attachments:
      You must be logged in to view attached files.
      2 users thanked author for this post.
      #163410
      fireking117
      Participant

      @sladernimo

      Thanks for check, and please keep on.

      I am not sure what I do is right or not.

      I always crash when I want switch in the game.

      And I just try and try, but still don’t know what wrong is it.

      Or, have other request for switch ?

      #163411
      Cole8055
      Participant

      first, delete your scripthook log file, next take all your scripts you have downloaded and drag and drop them into the recycle bin. Now drag and drop them back into your scripts folder and it should work, at least it does for me

      #163450
      fireking117
      Participant

      @Cole8055

      It still doesn’t work.

      I don’t know what I do wrong with me.

      I delete script hook log file first, drag dev.lua and mbs_AllWeapons.lua out and into the scripts folder.

      But crash when I press K or L to switch weapon.

      #163519
      fireking117
      Participant

      I already reload my game.

      Finally do not crash again, but maybe worst, scripthooklauncher.exe did not work.

      I check the eventvwr.exe and ScriptHook.log first.

      And I found problem is from the mafia3.exe,  ScriptHook.log tell me

      “LuaFunctions Game is not ready, script engine not initialized, retry”

      Maybe it can not find the game or got some lost ? I don’t know, please help.

      #163525
      monkeybrain
      Participant

      Yep, same thing here. mafia scripthook doesn’t work for me on the latest version of the game.

      #163539
      fireking117
      Participant

      @Barzakh  @sladernimo  @cole8055

      Thanks a lot, guys.

      I got solved, I reload and check the game via Steam function.

      Although I do not know what it doing, maybe steam let game file process and pass.

      Anyway, I do not have so much crash with ScriptHook and mod.

      But sometimes, still happen.

      And you just need to delete ScriptHook.log.

      Remember, press F1 when you start ScriptHook after the game.

      And do not press the keyboard too fast.

      #163543
      monkeybrain
      Participant

      I tried using the minimal hud mod. says press I to toggle hud. but when I press I, my vehicle starts flying super fast, and I crash and die 😀

       

      tried again, with togglehud mod, same thing. if I press letter I in my keyboard, car starts flying super fast and I die. but no mod works, hud is still there, when I press f1 nothing happens.

       

      can someone please help, here is my log file.

       

       

      EDIT: was able to get minmal hud working. i opened the lua file with word, and change keybind references from “1” to “p”. and now when I press P, the mod works. when it was set to “1”, pressing 1 in game would simply pull out my 1st weapon.

       

      Attachments:
      You must be logged in to view attached files.
      #163689
      cryx
      Participant

      Thanks!

      #163741
      PhenomIIFX
      Participant

      The script hook does not seem to work with latest version (1.04) of the game. After I launch the script hook the game just crashes.

    Viewing 15 posts - 106 through 120 (of 191 total)
    • You must be logged in to reply to this topic.