User rootcause made a great script for “rage multiplayer mod” for light control, is it possible to do the same thing on FiveM?
images
like here:
User rootcause made a great script for “rage multiplayer mod” for light control, is it possible to do the same thing on FiveM?
images
like here:
I am following this loan application and I am very interested in this too. I hope someone has the solution
As far as I know, this resource uses a custom lights API implemented only by ■■■■■■. FiveM offers the native SET_ARTIFICIAL_LIGHTS_STATE, used in the Humane Lab Heist, which doesn’t allow for individual control. I haven’t been able to find a way to recreate this in FiveM, sadly.
in another place user a63nt-5m1th suggested me what is written below. (is this feasible on fiveM?)
Blockquote
Using ‘.ytyp’ emissive files it’s entirely possible to choose whatever hour you want individual building lights to turn ON/OFF (CineREALISM mod has a 24/7 building lights always ON optional installer for example). For a script, it would just be about having to find the correct values in memory & changing them for the different parts of the city in sequence etc. I don’t code, so you’d have to ask someone else about creating it.
Well, if the .ytyp of a prop allows for that configuration, the simplest (read most dumb?) but very labor intensive approach would be to stream modified .ytyp files of those props. I’m not sure about there being a way to manipulate the configuration of those props at runtime. I’ll look into it.
Edit: As a sidenote: I’ve found something about visualsettings.dat, which supposedly has these configurations:
# Emissive night values
emissive.night.start.time 20
emissive.night.end.time 20
It’s worth a try messing with those and streaming the newly configured visualsettings.dat.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.