Jump to content

2 Screenshots

tlCZR4p.png


RedHook LUA is a plugin extension for RedHook that aim to drastically simplify making scripts mods for Red Dead Redemption. Not everyone is used to C/C++ development so developing a RED/ASI plugin can be annoying and not beginner friendly.

This LUA implementation aim to completely avoid this, no more C++, no more compilation, RedHook LUA provide the whole game functions API to the LUA programming language ! You want to make a script ? No problem, just create a new LUA file inside Red Dead Redemption folder (or inside scripts subfolder) let's name it for example myscript.lua, open the file with any file editor of your choice and start coding your script !

I suggest to take a look at the examplescript.lua that is already provided to get an idea on how to make a proper LUA script.

Keybinds
[F9] Unload all LUA scripts
[F10] Reload all LUA scripts

Documentation
A proper LUA documentation is planned, right now I didn't got the time to finish it, so I recommend you to join my discord (link below) if you have any questions regarding the API.

Make sure to update RedHook to the latest version when using this plugin:
https://www.nexusmods.com/reddeadredemption/mods/192

If you want to suggest something or need help, here is my discord:
Discord: https://discord.gg/8b7NVWnthY
IGQ7RgF.png

Support me on Patreon: 
https://www.patreon.com/K3rhos
4i0Z8e3.png

What's New in Version 0.2   See changelog

Released

- Native `redhook.is_key_down`, `redhook.is_key_pressed` & `redhook.is_key_released` are now supporting keycode name aswell (instead of just keycode id)
- Fixed wrong native definition for `object.create_actor_in_layout`
- Fixed wrong native definition for `object.create_player_actor_in_layout`
- Fixed wrong native definition for `object.respawn_player_actor_in_layout`
- Fixed wrong native definition for `object.create_prop_in_layout`
- Fixed wrong native definition for `object.set_object_position`
- Fixed wrong native definition for `object.set_object_position_on_ground`
- Fixed wrong native definition for `object.set_object_orientation`
- Added a new example script `horsequickspawn.lua`

User Feedback

Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...