why do you change them at all? i thought it just wires stuff up
why do you change them at all? i thought it just wires stuff up
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
It's a visual system so that it's easier to see if you are aiming at the correct entity and that you have the correct input/output name like the data transferrer. Mostly it's just for aesthetics though.
EDIT: Also, I'm updating the EyePod (I'm still testing it though) so that it updates at regular wire speeds, accepts pitch/yaw view lock angles, and lags a lot less.
Jeremydeath's Wire Addons - Try Them... NOW!
Well I'm changing colours for it so that I don't have a big fat white beam sticking out of it when I'm not using it. Just trying to change the alpha doesn't work.
Ok, it's done. It will now completely save the alpha you set it to, and if you change the color of it in any state, it will change its default color (normally white) to the color you set it to.
Jeremydeath's Wire Addons - Try Them... NOW!
ok next question: why does it change its color/alpha in a think hook?
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
It changes its color in the think hook because this is where it also does it's trace, and the color change is dependent on what data the trace turns up. Also, it actually changes it in the ENT:TriggerInput(iname, value) hook, which is called by think so that its color gets updated without having to change any input.
Jeremydeath's Wire Addons - Try Them... NOW!
why does it trace in a think hook?
why doesnt it just only trace when needed?
all of these things cost CPU time on the server
the color changes even cost bandwidth on both server and client.
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
For the same reason that the Data Transferrer does traces in the think hook. If you move the wirer without changing the inputs, it will not be able change color or update.
Jeremydeath's Wire Addons - Try Them... NOW!
the reason data transferrer needs a think hook is that it actually needs to know when something moves out of its beam.
wired wirer only needs to know that when it's triggered.
what is the color for? cant you just make an overlay that updates once every 0.5 seconds or something?
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
I do see what you mean, and it would be easy to implement, but it would also reduce some of the functionality not only in the coloring of the wirer, but other features such as the target assist feature and the outputs that tell you the inputs/outputs of the device you are currently aiming at, which is very useful for things such as Lyinginbedmon's Cronus bot. If this was made this way, it would require that any time you wanted to get or update the inputs/outputs you would need to update the inputs of the wirer. I'll go ahead and post up a revised version, but it might be more difficult to work with.
Jeremydeath's Wire Addons - Try Them... NOW!
Bookmarks