Phew! I just spent several hours trying to work out why the hell I couldn't draw my taser inside the game. No matter what I tried, I kept hitting the key and nothing happened. I kept checking everything and trying new ways around this and in the end I located the final problem. I then thought I might as well make a little check-list for other people who can't get the taser to work. So, if you also have problems getting the taser to work, please go through this check-list carefully.
In the following checklist, [GTA4] refers to the root game folder. Example: I run the game through Steam, so my root folder is E:GamesSteamsteamappscommonGrand Theft Auto IVGTAIV. You can recognise your game's root folder by
Install LCPDFR using the automatic installer.
Select everything inside [GTA4] and right-click it. Make sure the "Read only" is unchecked and click "OK". In the next window, make sure it applies to all subfolders and files. This ensures that you can overwrite any files you want.
Download the manual installer and install LCPDFR again - overwriting all files. This is to make sure you have all the latest data files.
Run the game diagnostic tool: [GTA4]LCPDFRLCPDFR Diagnostics Tool.exe. Inside the tool, run the "Check your installation" (I usually have to check the checkbox at the bottom before running this in order to point out where the game folder is). If the diagnostic tool doesn't fill up entirely with green bars, something is missing. Clicking an empty bar will provide a solution to your problem. By the way: I run a 64-bit Windows 7, but I still had to use the 32-bit C++ package, so if you need to install this required bit, don't download the file named "x64" but use the file named "x86" instead.
If you are using the native trainer (if you have no idea what this is, ignore this bit :-)), enter the [GTA4]trainer.ini file and set the KeyBindingsDisabled=1. This is to ensure that the trainer doesn't "steal" the function of your taser key.
Download the attached ZIP file. The two folders inside this archive have to be extracted into [GTA4]. Make sure you extract the two folders to this exact location, otherwise it won't work. Also make sure that you overwrite all existing files (you will want to back these files up first, so look below for a list of the files that will be replaced). This ensures that all the correct weapon files necessary for the taser to work are in place.
The files that are replaced by the last step are listed below and these should be backed up before you overwrite them:
Inside [GTA4]commondata:
default.dat
gta.dat
images.txt
Inside [GTA4]pclcpdfr:
models.img
definitions.ide
WeaponInfo.xml
Inside [GTA4]pcmodelscdimages:
weapons.img
That is a total of 7 files.
The first three files are the files that make sure that the game starts linking weapon information to the files in [GTA4]pclcpdfr (the next three files) rather than the default weapon files.
The three files in [GTA4]pclcpdfr are the files that adds the taser to the game and determines its behaviour.
The last file is the binary file containing the weapon library. It is the game's original weapons.img with the two taser files (lcpdfr_taser.wdr and lcpdfr_taser.wtd) added to it by using the OpenIV editor.
If your taser still doesn't work after all this, I am out of ideas. Sorry, mate.
Anyway, I hope this solves taser problems for everyone. :-)
DISCLAIMER: I am not liable for any damage to your GTA IV game or to your PC by performing the things described in this post.