Jump to content

[Guide] Installing TXD Hack for vehicle lightbars


Recommended Posts

Well it seems that some people are struggling with how to install the TXD Hack or are installing the one with gta_sa.exe file which is more than pointless as that's for SA-MP therefore if you're not planning to play SA-MP I'd strongly advise you not to do that as it'll just give you a warning that you have custom ".asi" mods which are not supported by MTA:SA whenever you were to start MTA:SA (yeah, that's right, I'm saving 5 seconds of your time, maybe 10 if you have a toaster for PC like I do).


What is TXD Hack?

In general, the TXD Hack is called a hack because it works in a way that it edits gta_sa.exe to allow SA-MP to load custom vehicle.txd. Technically, since MTA:SA only requires an image change I guess you can't even call that a "hack" and in general for SA-MP as well it's also not counted as a hack as it does not give any advantage to players whatsoever.


TXD Hack is pretty much used for police vehicle mods to improve the looks of your lightbars. In general it changes the design of GTA:SA's original vehicle lights to suit the lightbar lights, such as these:




Normally, without the TXD Hack they'd most likely appear as white, such as in Master After's image:




Or the ugly round circles at lightbars:




How to install by editing vehicles.txd?

NOTE: If you wish to install this mod via SAPD:FR Mods folder, please read below.


First of all download the TXD Workshop which you're going to use to replace the images in the vehicles.txd file.

Once you've downloaded TXD Workshop, download Nick's TXD Hack image files by right clicking on the images and pressing "save image as..."

Rename upper image to vehiclelights128 and the lower image to vehiclelightson128.

After placing the images start up the TXD Workshop as an Administrator (if you don't run it as admin you're just going to get an error) and press "open TXD". Navigate to your GTA: San Andreas installation folder and go to "models" - "generic" and open the vehicle.txd that's inside there.

Once you open the vehicle.txd press the "import" button and import the images you have downloaded previously, they should automatically replace the existing images if they've been properly named as stated in the previous steps. After that, press save TXD and that's about it, you should be done.

Note: If you want to test if the trick worked quicky without entering your game and also have GGMM installed, open up GGMM and search for your police vehicle mod and see if the lightbars have changed, if not, re do the last steps (I had to do it twice for some reason before it worked).


How to install TXD Hack via SAPD:FR Online mod folder? (Easier method)


Installing the TXD Hack via SAPD:FR Online mod folder is as easy as counting to three. All you have to do is get the TXD hack images and make sure they're in the .png format (either pull them out with TXD Workshop as explained above or use the links I provided below) and put them into the SAPD:FR Mods txdhack folder for which the default directory is:

Program Files (x86) - MTA San Andreas 1.5 - Mods - deathmatch - resources - SAPDFRMods - files - txdhack

Once you place the images into the said folder just press numpad_1 while in game and the TXD Hack should work.

TXD Hack files:

Wolfschultz's TXD Hack - Makes the lightbars look more like actual LED lights

Nick's TXD Hack (recommended)

Doomer's TXD Hack (only use if you're using Doomer's car mods)


Update 5/16/2018: Updated Imgur link to my current TXD Hack, supporting the newer Whelen Edge I use. - Nick


Link to comment
Share on other sites

(yeah, that's right, I'm saving 5 seconds of your time, maybe 10 if you have a toaster for PC like I do).


Record is 15 seconds on my pc :P Ye ik its crap.

Nice animated arjent lightbar btw.


Not mine, pulled it out of google as it was the closest I could find to a small image of a lightbar lol.

Link to comment
Share on other sites

Updated the link to my vehiclelights128(on) image files as there was a minor change affecting some lighting I did (notably the Code 3 Defender on the London, ON Vic and any mods of mine using Feinex light sticks).
Link to comment
Share on other sites

  • 9 months later...

Update January 30 2018:

- Added explanation on how to install it with SAPD:FR Mod Installer's new txdhack feature as well as uploaded Nick's and Doomer's TXD hacks in .png file formats (it's litteraly copy & paste now and some guys also had issues in figuring out which files to rename)

Link to comment
Share on other sites

  • 5 months later...
  • 8 months later...
  • 9 months later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...