Skip to content

A bunch of useful things for MoonLoader

License

Notifications You must be signed in to change notification settings

Kronavarb/MoonAdditions

 
 

Repository files navigation

Originally was made for CLEO by DK22Pac under the name NewOpcodes, so copyrights primarily belong to him. This project is a complete rewrite of NewOpcodes for MoonLoader with new features.

MoonAdditions

MoonAdditions is a Lua module for MoonLoader that adds bunch of useful scripting functions and gives new capabilities for mods developers.
API Includes:

  • Vector, Quaternion and Matrix classes, including direct manipulation in game's memory
  • Drawing text directly and via textdraws
  • Drawing textures
  • Drawing primitive 2D shapes
  • Getting information of character bones
  • Interaction with vehicle components, recoloring and retexturing
  • Loading TXDs from a file and working with ones loaded by game
  • Many other functions: drawing lighting, shadows, coronas, spotlights, changing entities transparency, getting sun color, size and position, getting all existing characters, vehicles and objects, creating projectiles, interaction with the entity's matrix, etc

For documentation check out the Wiki and examples for usage.

Installation

Download MoonAdditions.dll from the latest release and copy it in your moonloader/lib folder.

Authors

DK22Pac - NewOpcodes
FYP - MoonAdditions

Contribution

Contributions are greatly appreciated. Please fork the repository and open a pull request.

Packages

No packages published

Languages

  • C++ 100.0%