Vehicle Tire Water Spray - Reduce brightness of effect when headlights are shone on it?
-
Ideally I would like to leave the effect in but just reduce the brightness/glare when car headlights are shone on it? (see pic here: https://ibb.co/mXKk45).
Alternatively, I would have to remove the effect (not ideal) & I would then like to know where the textures for it are located?
Really any info on ANYTHING to do with this effect would be greatly appreciated as it would give me the best chance of finding some sort of work around. Thanks in advance
-
@JonaQ textures are located in vehshare.ytd
-
@FoxtrotDelta
Are you sure? I've had a good look & nothing like tire water spray in any of the vehshare.ytd's. Just textures for the cars themselves.
-
@JonaQ its called vehicle_generic_tyrewall spec or something like that
-
I think JonaQ is talking about the actual water splashes that come from the tires when driving on wet surfaces.
So not the spec in vehshare.
-
Dang it i read it all wrong. @JonaQ sorry man i mis-understood.
@ReNNie thanks for explaning it to me
-
Correct. Thanks
-
UPDATE:
I have discovered that:
Grand Theft Auto V\mods\common.rpf\data\effects\wheelfx.dat
contains references to these files:
wheel_decal_puddle
wheel_decal_puddle_Bike
wheel_decal_water
wheel_decal_water_Bike
wheel_decal_water_Tank
wheel_decal_water_deep
wheel_decal_water_Bike_Deep
wheel_spin_water
wheel_spin_water_deepI suspect these decal files are hidden away in a yet to be decrypted file somewhere.
However using the 'wheelfx.dat' file that I do have access to it is possible to alter/swap the effects with others (example: snow decal spray appearing behind wheels on wet roads instead of water spray etc).
Thus I at least know the names of the files I am looking for & am now able to 'remove' the effect for all the various surfaces/material groups in the game by replacing the info with certain parts of the lines from the dry surfaces section.
Not ideal, but one step closer.
-
@JonaQ I recall those were just .ytds... (texture dictionary.)
-
UPDATE 2:
By a spot of luck I found what I was looking for embedded in 'core.ypt'. I thought I'd come back & document what I found.
'core.ypt' can be found in these locations:
Grand Theft Auto V\mods\update\update.rpf\x64\patch\data\effects\ptfx.rpf\core.ypt
Grand Theft Auto V\mods\update\update.rpf\x64\patch\data\effects\ptfx_hi.rpf\core.ypt
Grand Theft Auto V\mods\update\update.rpf\x64\patch\data\effects\ptfx_lo.rpf\core.yptIn the end the files were called:
ptfx_water_splash_kick.dds
ptfx_water_splashes_sheet.dds
ptfx_water_splashes_sheet_b.dds
ptfx_water_splashes_sheet_c.ddsI used OpenIV to export the embedded textures from core.ypt (bottom right in OpenIV Model Viewer). I then had to use Texture Toolkit to import the files back into the 'core.ypt'.
Note: Texture Toolkit crashed a lot on import until I figured out that the Nvidia DDS plugin for Photoshop was messing up some files & saving them as 0k.
I then tried 'Intel® Texture Works Plugin for Photoshop* by GameTechDev' (install either the win32 or x64 version of 'IntelTextureWorks.8bi' to plugin folder in Photoshop) , ticked the 'Load Transparency as Alpha Channel' tickbox when the file opens in Photoshop, altered the file & then chose:
Texture Type: Color + Alpha
Compression: none 32bpp
Mip Maps: Auto GenerateNote: All other save options in the 'Intel® Texture Works Plugin' where either unaccepted formats for Texture Toolkit or gave me low quality files.
& then hit 'Ok' to save the .dds.
It was then just a matter of importing them to 'core.ypt' using Texture Toolkit, saving the 'core.ypt' & then dragging & dropping it back to it's original location/s using OpenIV
DOWNLOADS:
Texture Toolkit https://www.gta5-mods.com/tools/texture-toolkit
Nvidia DDS plugin (part of NVIDIA Texture Tools for Adobe Photoshop)
Available here: https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshopIntel® Texture Works Plugin for Photoshop* by GameTechDev
Available here: https://github-production-release-asset-2e65be.s3.amazonaws.com/43581977/98958198-e6bc-11e5-867c-729c588605d6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20170830%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20170830T025712Z&X-Amz-Expires=300&X-Amz-Signature=fb06ac3f416bfe984f940d3a4cefcda5a257e1f4e361e82d73c31dea7670ca70&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3DIntelTextureWorks_1.0.4.zip&response-content-type=application%2Foctet-stream