After posting multiple threads trying to figure this out, I eventually got somewhere! Very much work in progress with lots of fine tuning involved. Once I've got a decent formula I may expand this to other cars, depending on how much effort it requires. For now, you may have this wip shot
Doesn't look like much but I completely re-did the positioning of the lights. Attempted to make the breakgroups work so they'd turn off if the bumpers were damaged but it doesn't seem to be responding. Not sure what I'm missing
Getting there slowly. Still haven't figured out the deform groups though, need to have a look a the signal JBEAMs to see what I might be missing. Next I want to see if I can make the rgb values change via the tuning slider for full customizability.
So I've completely redone the way I'm drawing the light now based off of CarKillers neons on the new kashira. One thing I would like to know, is there a universal set of 'origin' nodes that is the same on every vehicle? Would make future work a lot easier if every car has a standard set of nodes that are always in the same position relative to the vehicle.
Looking much better now I'm tempted to reposition them to sit slightly wider on the car, though that does knock them out of alighnment if the non-widebody bumpers are used. Next step is to see if I can put variables in the RGB Values that can be edited via the vehicle tuning tab.
Getting some NFS Underground vibes and I like it. Good work. Can't wait for this to show up on the Rep
Well that was a lot easier than I expected! The brightness looks a little off, I may need to tweak the alpha values possibly, or just lower the brightness, going to experiment and see what happens. I do need to thank @Car_Killer for his help with the neons, gave some very useful insight
Well I've at least confirmed it works with all the mods I have installed! It does clash with any mods that alter the headlight beam pattern, but otherwise its all good. Much happier with the colour now after having a play, next hurdle is the efficiency of it, my FPS drops from 35 down to 15 on max settings with the mod enabled.
Combination of mods, Air ride, slamhard, cambergang etc... all come together to build that. I'm currently running something like 180 mods at the moment
So I've tried doing what I can and I go from 60FPS average to around 45FPS average. I've got the JBeam below for anyone that may be able to assist, and the full mod file attached if anyone that wants to play with it. I appreciate the sheer number of glowmaps wont be helping, but if I have any less then the neons look spotty and terrible. If anyone can advise parts of the code that is unnecessary and may help speed things up then I'm all ears. Once I've got this nailed it should just be a case of copying the JBeam to the other vehicle folders with new node references and offsets, unless someone can name nodes that are common on all vehicles that bound the outer edges? Spoiler: Click here for JBeam Code Code: { "coupe_neon": { "information":{ "authors":"ItsJustCurtis", "name":"Neons", "value":500, } "variables": [ ["name", "type", "unit", "category", "default", "min", "max", "title", "description"] ["$neon_red", "range", "Brightness", "Neon Colour", 255, 0, 255, "Red", "RGB Red value"] ["$neon_green", "range", "Brightness", "Neon Colour", 255, 0, 255, "Green", "RGB Green Value"] ["$neon_blue", "range", "Brightness", "Neon Colour", 255, 0, 255, "Blue", "RGB Blue Value"] ], "slotType" : "coupe_towhitch", "props": [ ["func" , "mesh" , "idRef:", "idX:", "idY:" , "baseRotation" , "rotation" , "translation" , "min", "max", "offset", "multiplier"] { "lightInnerAngle":0 "lightOuterAngle":125 "lightBrightness":0.95 "lightRange": 0.05 "lightColor":{"r":"$neon_red", "g":"$neon_green", "b":"$neon_blue", "a":128} "lightAttenuation":{"x":1, "y":1, "z":1} "lightCastShadows":false "texSize":512 "shadowSoftness":1 } //Front //centre ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.04, "y":0, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //mid-centre ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.039, "y":0.25, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.039, "y":-0.25, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //middle ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.035, "y":0.5, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.035, "y":-0.5, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //mid-outer ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.03, "y":0.75, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.03, "y":-0.75, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //mid-outer 2 ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.025, "y":1, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.025, "y":-1, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //outer ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.015, "y":1.25, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":-0.015, "y":-1.25, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //corner ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.015, "y":1.45, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.015, "y":-1.45, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //Rear //centre ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":1, "y":0, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //mid-centre ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":1, "y":0.25, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":1, "y":-0.25, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //middle ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.998, "y":0.5, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.998, "y":-0.5, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //mid-outer ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.992, "y":0.75, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.992, "y":-0.75, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //mid-outer 2 ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.987, "y":0.98, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.987, "y":-0.98, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //outer ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.98, "y":1.2, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.98, "y":-1.2, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //inner corner ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.95, "y":1.4, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.95, "y":-1.4, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //far corner ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.92, "y":1.5, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.92, "y":-1.5, "z":-0},"lightRange":180,"lightBrightness":1,"flareScale":0}], //Sides ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.3, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.34, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.34, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.38, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.38, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.42, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.42, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.46, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.46, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.50, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.50, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.54, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.54, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0.2, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.58, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.58, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.62, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.62, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0.2, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.66, "y":1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ["running" , "SPOTLIGHT" , "f11", "r4", "f11rr", {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0} , {"x":0, "y":0, "z":0}, 0, 0, 0, 1, {"baseTranslation":{"x":0.66, "y":-1.5, "z":-0.05},"lightRange":180,"lightBrightness":1,"flareScale":0}], ] } }
Just the 200BX For now. I want to get it working efficiently on that then I can start porting it over to other cars