Log in to reply
 

Removing lights from map



  • Hey guys.

    I've removed some streetlights using CodeWalker but the light on the street itself is still visible. Where and how can I remove this light object?

    Lamp removed but light still exists


  • Banned

    I have a post a few weeks ago about removing orange glow from street lights. The game has two different lights, one from the objects and the other from a general street glow. I have mine set to white but could just as easily turn it off. With this turned off, ENB to remove spot glow, and your mod to remove street light posts, the only light at night would be coming from the buildings and moon making a very dark city.

    Interested why you want light posts gone from the game?



  • @InfiniteQuestion said in Removing lights from map:

    I have a post a few weeks ago about removing orange glow from street lights. The game has two different lights, one from the objects and the other from a general street glow. I have mine set to white but could just as easily turn it off. With this turned off, ENB to remove spot glow, and your mod to remove street light posts, the only light at night would be coming from the buildings and moon making a very dark city.

    I'm making a post apocalyptic mod for me and my friends but the SetBlackOut option in GTA natives makes everything too dark. So our solution was to remove lights selectively. So if I undertstand correctly, can the orange glows can only be changed globally as one settings?


  • Banned

    The actual light post props provide light, but very very little and it doesn't reflect. An apocalypse mod would be incredible having all the lights gone. Using ENB you can get rid of the orange glow left over putting the Spot values all to zero.

    As for the orange light that the game uses for light posts, this is just an extra glow to illuminate the streets. If you make the light intensity to zero for both Global and Urban artificial light values in the timecycle files, it should turn all lights off on the streets.

    I don't know what this will do, but I have my light fall off value set at 3 making all the buildings glow neon. If you change that to zero, that might turn off building lights as well. Remove traffic and I think the only source of light remaining would be the moon, depending on how cloudy and the moon intensity.



  • I appreciate sharing your knowledge with me.
    The only problem with changing time cycles files is that one day we’re hoping to open the server to the public. Meaning we’d have to either

    1. Find a way to stream the time cycles files(which I don’t think is possible..) or
    2. Remove the lights from ymap
    3. Find a way to do it with scripting

    Nevertheless, we have been stuck on this for quite a while now, but now we have a lead! All thanks to you.



  • @sangyookim You don't need to mess with anything in a timecycle or a script to get rid of that glow on the ground. I'll make a quick video tutorial of how to get rid of that for each individual light you want to remove and not have that glow remaining. Give me a few hours before you go messing with anything.



  • @sangyookim It is going to take 2 hours to finish uploading the video I made. If you want to try without the video, here is basically what you need to do.

    1. Go to the area in CodeWalker.

    2. Go to the Selection Tab in CW, then select the Distant LOD Lights in the mode selection.

    3. Find the box that covers the area you want to remove the LOD's from. In this case, it will be named distlodlights_medium001.ymap ... there will also be other variants of that ymap you need to edit like the vw_, hei_, and apa_ ones.

    4. Click on the "Markers" tab in CW.

    5. Position the camera so the "camera position" in that tab is pretty much in the center of where the glow on the ground will be while in game. Unfortunately CW doesn't show the individual LOD light. The LOD position will be somewhat close to the entity's position, but not exactly the same. Only concern yourself with the X and Y position, not the Z.

    6. Search the ymaps in OpenIV for something in the same, or close to, the position in the markers tab where you have the camera aimed. This part may take a little trial and error if there are multiple LOD's in the same area. While testing by deleting the two lights closer to the statue, I accidentally deleted a LOD from the small light on the post, but it was in a different ymap altogether. Once you find it in the first ymap location, remember the X coordinate to make finding the same LOD in the remaining ymaps easier.

    7. Delete the info for the coordinates and save the ymaps.

    Here's a quick results pic, my internet sucks total a$$ so here is the link if you want to see it.
    https://imgur.com/a/Z93bsez



  • @sangyookim The video tutorial. I don't speak in it, I still have to reset up my computer and mic and stuff. The first few minutes I'm just going through the process to delete the actual entity before removing the LOD stuff, it's still a pretty quick video. You'll see in the results that I've also already removed the two lights near the statue and their LOD's during my testing before making the video.



  • @chonkie

    Checking it out rn Im so excited!!



  • @chonkie Hey man!! Is it possible if you could share the file you worked on? I'm having a bit of a problem trying to get it to work but I'm not sure if this is a compatibility issues with fivem or if I'm doing it wrong. I want to test that part out :D I would greatly appreciate it!



  • @sangyookim Sure, I sent you a chat. Will be quicker to send through email than to upload those modded files here. I wouldn't have any clue as to how to get it to work with FiveM, wish I did.



  • @sangyookim said in Removing lights from map:

    I'm making a post apocalyptic mod for me and my friends but the SetBlackOut option in GTA natives makes everything too dark. So our solution was to remove lights selectively. So if I undertstand correctly, can the orange glows can only be changed globally as one settings?

    I made a blackout mod 3 yrs ago for a friend. You can use this file if you want. It should remove all the distant lod lights if I recall correctly. Link: https://www.sendspace.com/file/mcqs62

    You have to replace the rpf in "update\update.rpf\x64\levels\gta5"

    In the timecycle you can change all values for "light_falloff_mult" to 0.000 to kill off spotlights.

    Hope this helps.



  • @Razed Hey there, man. Could you please explain a little bit more what did u meaned by "In the timecycle you can change all values for "light_falloff_mult" to 0.000 to kill"? I'm bit new to this kind of editing, so, could you please provide a screenshot or quotation, how should it look like after, when I want to kill the lights?

    Thank you so much. <3


  • Banned

    @MikolasCZE In each timecycle file there are 2 light fall off lines. One for city, one for country.

    <light_falloff_mult> 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000</light_falloff_mult>

    The line will look like this. Change each 1.0000 to 0.0000



  • @InfiniteQuestion Damn, but I don't have any "timecycle file" in my FiveM server. Where it should be located? :O


  • Banned

    @MikolasCZE Sorry, I don't know anything about FiveM. I can only help on single player.



  • Hi all
    Thank you to those who are interested in this subject I have been looking for several months myself for a solution to remove the lights from the card thanks to the file given by "Rasé" lodlights.rpf which I replaced then I have not including the timecycle there are a lot of files in the folder and the line: <light_falloff_mult> it is found in all the files w_xmas.xml w_thunder.xml w_snowlight.xml w_snow.xml w_smog.xml ... which I also have to modify half of the lights have been removed but not all of this is what's left

    alt text

    Does anyone have a solution to remove all of them it will help me a lot for my mods project THANK YOU


  • Banned

    @touma50 I'd like to help, but I have read that 5 times over and I can't make sense of what you are saying or asking. Please proof read before you post, and use proper grammer and punctuation.



  • Thank you for answering.
    I would like to remove the lights, which are displayed on the map as in my photo.
    Sorry for the spelling of my English I use google translation



  • hi sorry to be an assistant but I'm still looking for the solution to turn off the lights of the maps you don't have the solution please


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.