Half-Life 2

Half-Life 2

Not enough ratings
Yet Another Pickupable Stunstick Patch [YAPSP]
   
Award
Favorite
Favorited
Unfavorite
type: assets
contains: maps
weapons: shotgun
File Size
Posted
Updated
710.130 MB
5 Oct @ 9:38pm
9 Oct @ 9:31am
2 Change Notes ( view )

Subscribe to download
Yet Another Pickupable Stunstick Patch [YAPSP]

Description
Pickupable Stunstick

!THE ALL-HATED STUNSTICK CRASH IS FINALLY GONE!

The Combine finally removed restricted access to stunsticks, should've gotten one long while ago!

ALWAYS Gives Stunstick from dead metropolice in Route Canals (d1_canals_01)

THE MAP TRANSITION CRASH IN VEHICLES IS FIXED
Yeah,you heard that right. Finally... the crash is no more.. however it comes with it's own drawbacks (and they can be not really concerning for you though)

1 - Any map mod that changes the next maps is INCOMPATIBLE:
d1_canals_01
d1_canals_05-12
d1_eli_01
d2_coast_01-d2_coast_10
d3_citadel_01

2 - Mod Size... duh... I had to edit maps through VIDE to implement the band-aid "fix".

3 - Every single time,when you leave your vehicle you'll have stunstick selected

4 - EVEN if you didn't have the stunstick in your inventory,you'll still get it when you exit the vehicle

The crash was caused by having stunstick in player inventory and while in a vehicle transitioning to the next map
So the fix was weird and may be not optimal,with a few minor issues i listed above, yet it is still effective!

====THIS IS FOR MODDERS====

We create point_servercommand,and name it for example "stunstick_fixer"
Then in prop_vehicle_**** (any vehicle) we add next outputs:

PlayerOn - stunstick_fixer - command - ent_remove_all weapon_stunstick_player = This removes the stunstick from player inventory,when player enters the vehicle PREVENTING THE CRASH

PlayerOff - stunstick_fixer - command - give weapon_stunstick_player = This gives player the stunstick BACK,when player exits the vehicle

====THIS IS FOR MODDERS====


Made SPECIFICALLY for X0SH'S STUNSTICK RE-ANIMATION | But it will work just fine on it's own,and should work with other stunstick animations as well

Thank you all for information on the vehicle map transition crash!
17 Comments
x0shimy  [author] 10 Oct @ 8:21pm 
Not yet,but i think i'll add it soon
justdeltaxd 10 Oct @ 7:28pm 
Can stunstick be found during the lowlife chapter in EP1 and im not sure for EP2...maybe barn advisor place?
Cursed Hawkins 10 Oct @ 1:01pm 
@Delta
The slam was cut from HL2 and reused for HL2DM in fact the model used in HL2DM for the slam was an entirely different model (though the wiki for the slam shows both pre-release and retail) doesn't exactly show all that much different.
justdeltaxd 10 Oct @ 12:08pm 
Damn that sucks
x0shimy  [author] 10 Oct @ 11:29am 
Unfortunately no,the stunstick player uses at least coded in HL2,but SLAM doesn't even have an entity...:missing:
justdeltaxd 10 Oct @ 7:15am 
Question, are usable SLAMs possible to add to the workshop? I know HL2DM is different but is there something that could make it compatible with HL2
Cursed Hawkins 9 Oct @ 1:48pm 
@Delta
It would have been slightly to strong in HL2DM (remember that was a thing for a while back in the day) and was exclusive to the combine faction of that game.
justdeltaxd 9 Oct @ 11:31am 
I wish stunsticks were not just another crowbar and had a gimmick
x0shimy  [author] 9 Oct @ 9:08am 
UPD:

It's working guys,update is coming in the next 2 hours
x0shimy  [author] 9 Oct @ 8:52am 
@Cursed Hawkins
I've got an idea on the fix,but it won't work with map mods which edit the vehicle maps