BROKE PROTOCOL

BROKE PROTOCOL

评价数不足
ColorSystem
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
10.752 KB
2023 年 7 月 24 日 上午 6:50
7 月 26 日 上午 5:26
3 项改动说明 ( 查看 )

订阅以下载
ColorSystem

描述
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 条留言
MA828 7 月 27 日 上午 6:16 
Very useful, thanks !