Half-Life 2

Half-Life 2

Railgun/Sniper Script
36 条留言
DoctorpooandtheTURDIS 10 月 12 日 下午 4:40 
It has to do with how weapon scripting works. If you got mods that alter the map in any way, it can break it.
Ralseiiscool_987 9 月 24 日 上午 9:31 
Can anyone tell me how this works because the script just doesnt work for me for some reason....but it will work on other maps. Why is this? I dont understand
♡Eevee♡ 8 月 22 日 下午 4:56 
very good mod just need a fix for inf ammo
birdLover8968 7 月 27 日 下午 4:15 
Does it still do 100 damage?
Shadow1997 2 月 18 日 上午 8:35 
Please add this addon to Entropy zero 2 workshop!
FROZEFIGHTER 2 月 17 日 上午 7:37 
we gonna need normal bullet script... for remighton 700 and mosin nagant and other sniper rifles
Cursed Hawkins 1 月 29 日 下午 6:41 
@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 1 月 28 日 上午 5:22 
bad mod
corrupts your save when you try to uninstall
2.5 Bobux 1 月 22 日 上午 11:21 
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 1 月 4 日 下午 10:31 
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 Sex 2024 年 12 月 30 日 上午 9:45 
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?
ChặtDáiTựSát 2024 年 12 月 27 日 下午 9:12 
mine you can see the tracer but you can still the bolt flying slowly to where you aiming
The watcher 2024 年 12 月 25 日 下午 7:03 
so the script stopped working.... even on community maps the script doesn't work. there is only the crossbow proj, no tracers and no increased speed. if you can fix this or tell me how to fix it i will be very VERY thankful.
0x2480  [作者] 2024 年 12 月 11 日 下午 1:02 
it uses multiple CFGs to spawn in a trigger that encases the entire map
the trigger only detects the crossbow bolt class and runs another CFG when it fires
the cfg teleports the bolt and spawns the tracer effect
Obsidian Plague 2024 年 12 月 9 日 上午 12:52 
how does this work, exactly?
Mo Gigmal 2024 年 12 月 8 日 下午 5:27 
could you port this to gmod? if not that fine
Coomp 2024 年 12 月 6 日 下午 9:51 
I don't know what I'm doing wrong, but all that I keep getting is just a normal crossbow bolt with a misplaced tracer. I have the multiloader at the very top and this underneath, pls help
Elf 2024 年 12 月 5 日 上午 4:30 
peak mod, allows me to hit 360s on metro cops
John Roboeye 2024 年 11 月 29 日 上午 9:05 
it was a save issue it fixed itself after creating a new save
John Roboeye 2024 年 11 月 29 日 上午 7:48 
The new update might have broke the script. I just updated the game placed multiloader and the script at the top, only to find some bolt shooting out instead of lazer
0x2480  [作者] 2024 年 11 月 28 日 下午 12:28 
the script multiloader should be at the very top and this should be somewhere beneath it
Daylight106 2024 年 11 月 28 日 下午 12:19 
is there a specific load-order I should have for this?
It still fires a crossbow bolt, and the tracer is incredibly offset.
I have the multi-loader and I've heard that load-order is important for mods.
0x2480  [作者] 2024 年 11 月 28 日 上午 11:57 
that's weird, it works for me
The watcher 2024 年 11 月 28 日 上午 4:04 
i just realised it doesn't work on ep2. oppsies
Mister Derquisglesworth Longbutt 2024 年 11 月 27 日 上午 11:51 
Is there a version to make it shoot "bullets" rather then a railgun
0x2480  [作者] 2024 年 11 月 25 日 下午 2:53 
what map were you playing on and where at?
The watcher 2024 年 11 月 25 日 下午 2:51 
it still shoots a crossbow bolt and travels in a arc. i tried shooting an enemy from a distance and it took a second or two for the enemy to die before getting hit. the only thing is a tracer that doesn't match with the crossbow bolt
LostSektor 2024 年 11 月 25 日 下午 12:15 
Now sniper is perfect, short clip with SR2 sniper skin and the script: https://youtu.be/hs2HnT0kDoY
Kabob004 2024 年 11 月 25 日 上午 9:22 
So this can script makes the Crossbow into a Rail Driver from Red Faction... Potentially?
L Δ M B D R Σ λ 2024 年 11 月 24 日 下午 11:18 
So it's basically the gauss cannon?
Destruction 2024 年 11 月 24 日 下午 10:10 
alr, good to know
0x2480  [作者] 2024 年 11 月 24 日 下午 10:00 
yes, forgot to mention that
could move that to a separate addon later
Destruction 2024 年 11 月 24 日 下午 9:37 
Does this script affect any sk_ variables? I've started having a 24 crossbow bolt limit when it's enabled, which disappears when it is disabled.
Wolf 2024 年 11 月 24 日 下午 6:02 
10/10
Trizz 2024 年 11 月 24 日 下午 5:43 
Dark and gritty
0x2480  [作者] 2024 年 11 月 24 日 下午 12:47 
I'm not sure how well this will work for other people, but I've had little problems with it so I'm making it public now