-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Before continuing, I know there's support for Expression2 and Starfall, but I think it would be nice to have some sort of basic controller manipulation via Wiremod gates.
This could be done by having the chip have wire inputs & output of the controllers as wire's entity type, so that players could use for example the Color gate and wire to that to get it's current color. Opposite then is to use a Set Color gate to then set a particular controller's color.
Though I'm not sure how easy or possible this may be as I don't know the differences between wire entities vs the mesh entities/controller type from a p2m chip; so another way I propose if the previous way fails would be to expose the controller's values directly in wire as separate wires/types like:
Controller1 Position Offset [VECTOR]
Controller1 Angle Offset [ANGLE]
Controller1 Scale [VECTOR]
Controller1 Material [STRING]
Controller1 Color [VECTOR]
Controller1 Texture Map Size [NUMBER]
Controller1 Bumbmap [NUMBER]
Controller2 Position Offset [VECTOR]
Controller2 Angle Offset [ANGLE]
Controller2 Scale [VECTOR]
Controller2 Material [STRING]
Controller2 Color [VECTOR]
Controller2 Texture Map Size [NUMBER]
Controller2 Bumbmap [NUMBER]
etc...
(example options I typed as seen in the edit menu)
The only downside to that, is that it would get messy real quick if there's a lot of controllers. That's why I would aim for the entities or perhaps an array of those entities, or arrays of arrays with the data.