Half-Life 2

Half-Life 2

151 ratings
Railgun/Sniper Script
   
Award
Favorite
Favorited
Unfavorite
type: assets
File Size
Posted
5.852 KB
24 Nov, 2024 @ 12:36pm
1 Change Note ( view )

Subscribe to download
Railgun/Sniper Script

Description
Changes the behavior of the crossbow to act partially like a hitscan weapon and adds a tracer effect whenever you fire.

A byproduct of how this works is that you can sometimes shoot through thin walls, hence the 'Railgun' in the title.

I recommend using this Overwatch SR2 Sniper Rifle skin alongside this script
34 Comments
♡Eevee♡ 22 Aug @ 4:56pm 
very good mod just need a fix for inf ammo
birdLover8968 27 Jul @ 4:15pm 
Does it still do 100 damage?
Shadow1997 18 Feb @ 8:35am 
Please add this addon to Entropy zero 2 workshop!
FROZEFIGHTER 17 Feb @ 7:37am 
we gonna need normal bullet script... for remighton 700 and mosin nagant and other sniper rifles
Cursed Hawkins 29 Jan @ 6:41pm 
@Level-Headed
Really? It's almost as if it says that "it's a script" thus is REQUIRED to function properly so it missing is going to break saves it was used in prior!
Level-Headed Gamer 28 Jan @ 5:22am 
bad mod
corrupts your save when you try to uninstall
2.5 Bobux 22 Jan @ 11:21am 
Hello, this is a very good mod. My only complaint is that this overwrites the ammo and damage for the crossbow regardless of your load order, and that the trail — although very well-done — seems to render too close to the player, which does not look very good if not using the scope, though this is a very minor issue.

Could the line of code for sk_ammo_crossbow_max and sk_plr_dmg_crossbow be removed from the custom scripts to increase compatibility with other mods?

Also, I agree with @John on this one. It would be ultra awesome to have this.

That's all, excellent work, I did not even know this was possible to do.
John 4 Jan @ 10:31pm 
Ever thought about doing this for the AR2 ALT-Fire? I just wanna replace it with something similar to the grenade launcher on the SMG1. Mainly so I can use it rather seamlessly with the M4 w/M203 mod.
Dr Headley 30 Dec, 2024 @ 9:45am 
Everytime i fire the thing it thinks i don't have anymore ammo when i already do.. i have Infinite ammo on and it still won't fire, just shows up as red, what's the deal with that?
khánh 27 Dec, 2024 @ 9:12pm 
mine you can see the tracer but you can still the bolt flying slowly to where you aiming