IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

The Mod Showroom is only for posting previews/downloads of completed or near finished mods.
All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials

  Reply to this topicStart new topicStart Poll

 [WIP] New Projector headlights cutoff

 changes a texture "lights_occluders.wtd"
 
JzztBlazze  
Posted: Tuesday, Apr 10 2012, 01:32
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 5, 2012

XXXXX



Hello all, I am new to this forum but I have been working recently on a mod to change the light output of cars in the game to something more realistic.

This is still a WIP and can be most noticed in the center of the cutoff line where it shifts upwards, it is still a little pixelized, will be fixed. When one of the headlights is broken the texture goes away and you are left with the old circle-like texture, I am looking around as how to fix this.

This will replace the file lights_occluders.wtd and modify visualSettings.dat values.

Install instructions.
1. Make a backup somewhere on your pc of the original files going to be replaced/modified..
2. Download .rar file and place "lights_occluders.wtd" in "Grand Theft Auto IV\pc\textures" folder
3. Go to "Grand Theft Auto IV\common\data" and open "visualSettings.dat" with notepad.
4. Scroll down to find #config values for vehice settings.
5. Replace with the one provided in readme (found below).

car.headlight.angle -0.20
# car.headlight.color 1.00 1.00 1.00
car.headlight.color.red 1.00
car.headlight.color.green 1.00
car.headlight.color.blue 1.00
car.headlight.intensity 5.00
car.headlight.falloffMax 50.00
car.headlight.innerConeAngle 20.00
car.headlight.outerConeAngle 60.00
car.headlight.emissive.on 5.00
car.headlight.emissive.off 0.10

Save changes and close.

Start game, enjoy your more realistic headlights.


Note: This is something I have been working on in my spare time because I love lights. So if you have any opinions/criticism tell me.

RESULTS MAY VARY DEPENDING ON YOUR GRAPHICS/ENB SETTINGS!!!!!

Here is how to modify the visualSettings.dat values to make this work better for you depending on what you want.

I have googled but have found other people who explain things differently, this is the way I see these values.

car.headlight.angle -0.20 - Angle of the lightbeam pointing down from origin (ex. car headlight) -0.20=-20degrees, KEEP NEGATIVE, positive values will raise the beam up.
# car.headlight.color 1.00 1.00 1.00 - headlight color in RGB spectrum (Red, Green Blue)
car.headlight.color.red 1.00 - Put here the first value of the # car.headlight.color
car.headlight.color.green 1.00 - Put here the second value of the # car.headlight.color
car.headlight.color.blue 1.00 - Put here the third value of the # car.headlight.color
car.headlight.intensity 5.00 - How bright the headlights are (ex. Lumens) the brighter the more lit up surfaces/roads will be.
car.headlight.falloffMax 50.00 - How far the headlight beam will travel, in other words light intensity(ex. candela)
car.headlight.innerConeAngle 20.00 - How wide the beam will be just as it is starting in front of the car (right in front of car headlights)
car.headlight.outerConeAngle 60.00 - How wide the beam will be at the end of the light output (see example below)
car.headlight.emissive.on 5.00 - How bright the coronas.wtd file is when the high beams (default key "H") are enabled.
car.headlight.emissive.off 0.10 How bright the coronas.wtd file is when the low beams are enabled (lights that turn on automatically when you get in car at night) and AI driver's headlights coronas too.


example for car.headlight.falloffMax

       \    /
        \  /
         \/
        |  | <- small falloffMax value

     \        /
      \      /
       \    /
        \  /
         \/
        |  | <- large falloffMax value


example for
car.headlight.innerConeAngle 20.00
car.headlight.outerConeAngle 60.00


     \        / <- the length of this value here is the .outerConeAngle (light will fade to black)
      \      /
       \    /
        \  /
         \/ <- the length of this value here is the innerConeAngle
        |  | <- car


For both cases, the bigger the number the wider

example! if numbers were raised

     \            /
      \          /
       \        /
        \      /
         \__/
          |  | <- car

DOWNLOAD Pictures Below
For now I am putting the file here through dropbox until I find out where else to upload it to.
If you want it uploaded somewhere else tell me and I will do so.

Link to download (WIPv1.0): http://dl.dropbox.com/u/42729015/Projector...0mod%20v1.0.zip

Link to download (WIPv1.1): http://dl.dropbox.com/u/42729015/Projector...0mod%20v1.1.zip
*centered texture better, smoothed out some details.

Link to download (RELv1.0): http://dl.dropbox.com/u/42729015/%5BREL%5D...0mod%20v1.0.zip
*finished readme file

Link to download (RELv1.0): via GTAGarage
http://www.gtagarage.com/mods/show.php?id=20200



user posted imageuser posted image user posted imageuser posted image user posted image user posted image user posted image user posted image user posted image user posted image user posted image user posted image user posted image user posted image


First time posting a mod so dont know how well I followed the rules when it comes to posting.
Please tell me if you liked/not etc. Thanks, dont share without my permission.

This post has been edited by JzztBlazze on Tuesday, Apr 10 2012, 17:45

O This mod is hosted at GTAGarage.com

Screenshots:
GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot GTAGarage screenshot

Downloads:
Download Projector headlights mod v1.0 - 0.293MB, uploaded on Apr 10 2012, downloaded 175 times

Click here to view the mod at GTAGarage

PM
  Top
 

 
JzztBlazze  
Posted: Saturday, Apr 14 2012, 19:01
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 5, 2012

XXXXX



its been almost a week since I hosted the file at gta garage, anyone know why the file is still not up?
PM
  Top
 

 
TheD94  
Posted: Saturday, Apr 14 2012, 19:05
Quote Post


Dehumanized
Group Icon
Group: Members
Joined: Dec 20, 2011

XXXXX



Admins are too slow here to approve the mods on GTAGarage because they have other things to do here (or in their lifes), you know? If the file isnt online after you uploaded it like 2 weeks, then I would contact any admin and inform him about that.
Users WebsitePM
  Top
 

 
Maxx97  
Posted: Saturday, Nov 10 2012, 10:38
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Nov 10, 2012

XXXXX



Is this mod to GTA SA? Reply my at my twitter @maxlatimore or email me thanks biggrin.gif
PM
  Top
 

 
methodunderg  
Posted: Saturday, Nov 10 2012, 11:01
Quote Post


Grandpa
Group Icon
Group: Members
Joined: May 23, 2008

nz.gif

XXXXX



^^^ GTA:SA doesn't have WTD files .. Also read the 'Installation Instructions' .. it mentions GTA:IV ..
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG