I've been working on a "display" for the D15 that would show whether the truck was in 4WD or 2WD mode, as well as show the current range. Everything has been done so far, from the normal materials to setting up the emissives. But, whats missing now are the functions to control the glowmaps. I've tried guessing through it, but they don't work Spoiler: glowmap setup "glowMap":{ "pickup_4wdg":{"simpleFunction":{"lowhighbeam":0.6}, "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, //gauge lights "pickup_4wd_hr":{"simpleFunction":"highrange", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, "pickup_4wd_lr":{"simpleFunction":"lowrange", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, "pickup_4wd_4wd":{"simpleFunction":"tansfercase4wd", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, "pickup_4wd_2wd":{"simpleFunction":"tansfercase2wd", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, }, So my question is, are there any "simpleFunction"s for those powertrain features? And if not, is there any way to code them in manually?
I've added two new electrics values for this in the next update (only available if using the stock 4wd controller) Code: electrics.values.modeRangeBox = rangeBox.mode == "low" and 1 or 0 electrics.values.mode4WD = shaft.mode == "connected" and 1 or 0
Outstandingly Awesome! So, what would the function have to look like next update? "pickup_4wd_hr":{"simpleFunction":"low 0", "off":"pickup_4wdg", "on":"pickup_4wdg_on"},?
Essentially you'd do this: Code: "pickup_4wd_hr":{"simpleFunction":"modeRangeBox", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, "pickup_4wd_lr":{"simpleFunction":"modeRangeBox", "off":"pickup_4wdg_on", "on":"pickup_4wdg"}
Oh it works in an even better way than I thought. Thank you for the help, and the update, whenever it comes.
Just tested the glowmaps, they don't seem to work --- Post updated --- Code: "glowMap":{ "pickup_4wdg":{"simpleFunction":{"lowhighbeam":0.6}, "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, //gauge lights "pickup_4wd_hr":{"simpleFunction":"modeRangeBox", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, "pickup_4wd_lr":{"simpleFunction":"modeRangeBox", "off":"pickup_4wdg_on", "on":"pickup_4wdg"}, "pickup_4wd_4wd":{"simpleFunction":"mode4WD", "off":"pickup_4wdg", "on":"pickup_4wdg_on"}, "pickup_4wd_2wd":{"simpleFunction":"mode4WD", "off":"pickup_4wdg_on", "on":"pickup_4wdg"}, }, Based off of the info given here, and some of the luas, I assume this would have been correct
I have been and nothing's happened. This is how it is always. Shouldn't some of the lights be on at spawn? I can still turn it all on via the headlights.
No I literally mean *how* are you toggling the modes? It should work via the shortcuts, but not via the new app (It was added quite a bit after I added the required changes for you, so I never came to my mind that it wouldn't work.) I fixed this for the next update...
Almost. It's so close right now. I don't know what you did, but you fixed half the problem here. The other half is the diagram portion, which also lights up depending on the mode.
I renamed the materials in the dae file.. They were all the same, hence the reason why it activated everything when you switched your lights on. Should the entire diagram light up or only part of it light up?
The diagram is two parts: the rear (left) part is for when its in 2wd mode, and in 4wd mode the front (right) part and the rear (left) part both light up They use the same material names, so its weird it doesnt go on
Been fiddling with it for the past little while and I can't figure it out. I'm not a pro at Blender (or JBeam files) so I can only do so much. Hope you can figure it out, glad I could fix part of the problem!