Difference between revisions of "MDE ScriptHook: Instructions"

From Nomad DB
Line 23: Line 23:
 
[[File:MDE ScriptHook WebUI-Demo.jpg|thumb]]
 
[[File:MDE ScriptHook WebUI-Demo.jpg|thumb]]
 
'''This download is optional.'''
 
'''This download is optional.'''
 +
{{Warning|This is an experimental feature and can lead to random crashes, reduced framerate and other issues.}}
  
 
Using "WebUI" you can create web frames in Mafia DE. This allows you to open and display websites ingame, either on the (2D-)screen or somewhere in the 3D world. We are currently looking for beta-testers of this feature.  
 
Using "WebUI" you can create web frames in Mafia DE. This allows you to open and display websites ingame, either on the (2D-)screen or somewhere in the 3D world. We are currently looking for beta-testers of this feature.  
  
 
'''You can download a ZIP-archive with the required files [https://cdn.nomad-group.net/nomadapps/mplus/build_depot/prod/addon/cef-experimental.zip here].''' Extract the contents into your ''bin'' folder and you're good to go. The trainer script has examples on how to integrate them into existing scripts.
 
'''You can download a ZIP-archive with the required files [https://cdn.nomad-group.net/nomadapps/mplus/build_depot/prod/addon/cef-experimental.zip here].''' Extract the contents into your ''bin'' folder and you're good to go. The trainer script has examples on how to integrate them into existing scripts.
 
 
{{Warning|This is an experimental feature and can lead to random crashes, reduced framerate and other issues.}}
 
  
 
====Configuration====
 
====Configuration====

Revision as of 19:51, 25 September 2021

ScriptHook is now compatible with Mafia: DE version 1.3 (released 24th September)

Installation

Please make sure you game has launched at least once (until the main menu is open) before installing ScriptHook.
Current Version: 1.1.2 (Build r96, 08.10.2021) - See our Changelog

Installer

  1. Download Installer
  2. Run the installer, Windows SmartScreen will show up - we do not have a signing certificate yet. Confirm running the executable.
  3. Click Next, please check and make sure that you select the correct platform (Steam or Epic Games) and check the path on the next page
  4. Confirm the license agreement.
  5. Done

ZIP-Archive

  1. Download ZIP archive
  2. Extract the contents into Mafia Definitive Edition/
  3. Make sure that you have VC Redistributable 2015-2019 (x64) installed, you can download it here

Experimental "WebUI" Integration

MDE ScriptHook WebUI-Demo.jpg

This download is optional.

This is an experimental feature and can lead to random crashes, reduced framerate and other issues.

Using "WebUI" you can create web frames in Mafia DE. This allows you to open and display websites ingame, either on the (2D-)screen or somewhere in the 3D world. We are currently looking for beta-testers of this feature.

You can download a ZIP-archive with the required files here. Extract the contents into your bin folder and you're good to go. The trainer script has examples on how to integrate them into existing scripts.

Configuration

Check out this guide to find out how you can configure ScriptHook.

Uninstall

Inside your game folder:

Mafia Definitive Edition/uninstall-scripthook.exe

Supported Platforms & Versions

Supported Version Matrix
Game Version / Platform Steam Epic Games Store Cracked Version
1.0 Supported Supported Unsupported
1.1 Supported (ScriptHook 1.0.2+) Supported (ScriptHook 1.0.3+)
1.2 Supported (ScriptHook 1.0.4+) Supported (ScriptHook 1.0.4+)
1.3 Supported (ScriptHook 1.1)

Usage

The game can be started directly from Steam or Epic Games. While ingame, you can use the following keys:

Menu Controls

Up/Down Arrows Navigation
Numpad 8(Up), Numpad 9 (Down)
Enter Confirm Option
Numpad 5
Delete Key, Numpad 0 Return back to previous menu
ESC Close the menu

Ingame Console

The Console is mostly targeted for developers and modders. Most of the functionality from the Trainer menu is also existing in the console. For a list of commands, type ‘help’.

Help

If you need any help, please do not hesitate to contact us and our community on our Discord.