Closed DeputyLOL closed 9 years ago
Could have a small lable or texture on the front
i need more info about "small label or texture" ?
Circuit brakers have a small number on the front of them and a label either above or below to indicate what they do.
Ideally, the front of the circuit braker could have different textures. The labels can be done with a separate circuit braker panel prop.
Circuit braker should also be colourable
Very much like the ones you have in the ALCOR mod, but can act as a switch.
:-) I mean what kind of texture YOU want. One letter or number? 3-5 symbols? icons? etc.
How many different lables you need?
It will probably just be numbers (fuse ratings). Like the ones currently on ALCOR mod. I'm not entirely sure yet, that's why I wanted textures, so I could add or change them if needed.
16 different textures will be enough?
yup
they should default to 1 btw. Which would be the 'in' position.
green circle on the top - transform with switchable texture
Looks awesome
do you need to change a colour of this green mesh?
Yes please. The base and cylinder part can just be grey and a slightly lighter grey
ok
"ON"
OFF
exactly
ok. I need about a 1 hour
ok
progress report
preview:
you get 20 'cells' for different labels
Brilliant!
thank you. testing now
let me know if all ok
not sure if the texture shift is working as intended. When I try and select a black colour, unity shows me that the rest of the switch turns red. I think its because the texture for the red top is moving where the switch textures used to be.
i think there needs to be a separate texture for the switch texture
for customizing labels you need to use 'JSIPropTextureShift' module in config. In Unity all that props look exactly same but in game all be fine.
for example, if i need a label "20" on black bg, a config will looks like:
MODULE
{
name = JSIPropTextureShift
transformToShift = CB_TopObj
x = 0.40
y = 0.80
layerToShift = _MainTex
}
each square 0.2 x 0.2, zero in the left bottom corner.
if i need a label "10" on red bg, a config will looks like:
MODULE
{
name = JSIPropTextureShift
transformToShift = CB_TopObj
x = 0.20
y = 0.40
layerToShift = _MainTex
}
Unity moves (offset) texture on the ALL meshes, 'JSIPropTextureShift' module move texture only on specified mesh (transformToShift)
https://github.com/Mihara/RasterPropMonitor/wiki/Prop-modules#jsiproptextureshift
Never mind. I finally got a chance to test it in KSP and it looks ok. Works perfectly. Thank you.
i'm glad to help. and now time for the next requested prop
A pull switch that looks like it isn't meant for regular use. When its out, its off. When its in, its on.