Script Hook V Enhancement with DWS System 0.12
Script HookDescription
Script Hook V Enhancement with DWS System
This plugin is an extension for GTA 5 ScriptHook V, allowing mod makers to use the Delphi programming language to write scripts. It's based on the Delphi Web Script (DWS) library and the ScriptHook V for Delphi SDK. The project is still in its early stages, so only a limited number of features are currently implemented.Requirements:
- ScriptHook V
Key Features:
- Write scripts using the syntax of the DELPHI / PASCAL language.
- No need for a compiler or development environment, no need to include external libraries.
- Scripts can be written directly in a text editor.
- Scripts are executed in real-time by the Delphi Web Script interpreter.
- Scripts can be written in real-time with the game minimized to the Taskbar.
- Script recompilation is available at the press of the F9 key directly within the game.
- Log maintenance (recording compilation errors to a file, including line number, column, and executed script name).
Disadvantages:
- Large plugin size (~10 MB).
- Lack of a user interface.
- The plugin is in its early stages of development, so its applicability is currently limited.
Installation:
Update ScriptHook V to the latest version. Extract the contents of the archive (dxinput8.dll, ScriptHookV.dll) into the game directory. Place the contents of the archive for this modification in the root directory of the game.Configuration and Usage:
The Data folder contains: a configuration file DelphiWebScript.ini and a Scripts directory with scripts. DelphiWebScript.ini contains two parameters: * ScriptDir - path to the scripts, indicating to the system where to search for script files. * RunScript - name of the main (leading) script file that the system will launch, for example Main.dws. In the Scripts directory (place script files here): * Hashes.dws - constants with hash codes for determining scripting functions in the game (a complete list of constants can be viewed in the original SDK). * Scripting.dws - scripting functions of the game, see the full list of functions in the original SDK. * Test.dws, TurnSignals.dws - example scripts. After editing all the scripts, start the game in single-player mode. If everything is done correctly, you will see the result of script execution in the game, and DelphiWebScript.log will contain information about the state of your scripts. Pressing the F9 key will reload and recompile the main script specified by the RunScript parameter in the DelphiWebScript.ini file. This allows you to edit scripts without exiting the game.Version History:
- 0.12 - Added new sample scripts.
- 0.10 - Initial version, first release.
Acknowledgements:
I would like to express my gratitude to: * Alexander Blade * Brink, Danie (South Africa) * Darling, Jeremy * Egorov, Nikita (Russia) * Fuchs, Manfred (Germany) * Grange, Eric (France) * Hariseno, Jagad (Hungary) * Hernler, Hannes (Austria) * Krenn, Willibald (Austria) * Lind, Martin (Denmark) * Listac, John * Luleich, Andreas (Germany) * Rheinheimer, Danilo Luiz (Brazil) * Riepp, Michael (Germany) * Ronzano, Juan Luis (Portugal) * Tosik * Waldenburg, Martin (Germany) And the Modgames.net team. Thank you very much!First Upload: November 11, 2024 Last Updated: November 11, 2024
0 Comments
Join the conversation! Log In or register for an account to be able to comment.