BROKE PROTOCOL

BROKE PROTOCOL

Not enough ratings
ColorSystem
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
10.752 KB
24 Jul, 2023 @ 6:50am
26 Jul @ 5:26am
3 Change Notes ( view )

Subscribe to download
ColorSystem

Description
ColorSystem

ColorSystem is a library that gives the possibility to modders and developpers to create entities with variable primary and secondary colors.
You can see an example of plugin on GitHub[github.com].

How to use?
Plugins:
  1. Reference the ColorSystem library
  2. Add the
    using ColorSystem
    instruction
  3. Use
    entity.SetColor1((byte) red, (byte) green, (byte) blue)
    entity.SetColor2((byte) red, (byte) green, (byte) blue)
    entity.SetColor3((byte) red, (byte) green, (byte) blue)
    entity.SetColor4((byte) red, (byte) green, (byte) blue)
    to set the entity colors

Mods:
3D modeling (Blender / Maya / Cinema 4D / etc.):
  • Your 3D model must have one main parent mesh.
  • Assign a material with a texture to the main mesh. The texture can have up to 4 replaceable colors.

Unity:
  1. Before starting, make sure you have a working Unity project for BP Modding.
  2. Import the example package[drive.google.com].
  3. Add an Animator component to your main GameObject and set its Controller to RGBColor V2.
  4. In the ShEntity properties, tick the Sync Animator box.
  5. If everything works correctly, testing your entity in Unity Play Mode should turn its editable colors to black.

You can join my Discord server to suggest mods, report bugs, or just talking: TheUnishark's Mods[discord.gg]
1 Comments
MA828 27 Jul @ 6:16am 
Very useful, thanks !