Sunday, December 23, 2012

Counter Strike Source Mod: Adding a Crosshair to Sniper Rifles

This time I am going to show you how to add a crosshair to your sniper rifles!
I suggest you read my first CSS Mod : Unlimited Ammo / Higher Damage / Faster Shooting Speed
If you have already read my first mod, then you will be able to understand how to edit scripts.

AWP with red crosshair



Instructions:

1. Follow the normal steps to make a txt file of a weapon. For this tutorial I am going to use the Magnum Sniper Rilfe a.k.a. the AWP.

2. Open the weapon_awp.txt on your desktop. It will look like this:

weapon_awp.txt file
3. Okay, next part is easy. 
               Look for                  "WeaponType"      "SniperRifle"
               and change it to       "WeaponType"      "SubMachinegun"
* Just in case when you play the magnum is on the left hand instead of the right hand, then just change "BuiltRightHanded" from 0 to 8 and the hand will return to the right hand.

"SniperRifle" changed to "SubMachinegun"


4. After you have changed that then, save the file again onto your desktop and use the HL2 Scripter program. Press "Open TXT" beside the Counter Strike Source : TXT and locate the weapon_awp.ctx file that you copied to the desktop and then press convert. Wait for 'Decompiled Ctx File'.

5. Copy the new weapon_awp.ctx file that's on your desktop to:

For Valve players:
C:\Program Files\Steam\steamapps\YOUR LOGIN NAME FOR STEAM\counter-strike source\cstrike\scripts\
OR
C:\Program Files (x86)\Steam\steamapps\YOUR LOGIN NAME FOR STEAM\counter-strike source\cstrike\scripts\
For Aviara players:
C:\Program Files\Counter Strike Source  Full Game v_1.0.0.75-=AviaRa=-\cstrike\scripts
OR
C:\Program Files (x86)\Counter Strike Source  Full Game v_1.0.0.75-=AviaRa=-\cstrike\scripts

* If it asks to overwrite, then just overwrite it. Don't worry if something happens or if you want to have the normal weapon back, then just copy the scripts file that's on the HL2 Scripter rar that you've downloaded.

6. Once that's done, you can go play CSS to check out if the new script works. If you have failed then just try again and read the steps carefully.

AWP with Crosshair


AWP 1st zoomed mode


AWP 2nd zoomed mode


Normal AWP 1st zoomed mode


That's it! now have fun playing!

2 comments:

Unknown said...

it doesnt work on multiplayer because of changed cfx file.how to fix this?

Anonymous said...

doesnt work because of patches.

Post a Comment