Alternative ragdoll model for Combine Sniper (HL2+)
I simply changed the default ragdoll generated by npc_sniper when the npc die by a other one (in that case the combine medic from hl2 survivor)
This was made for my Half-Life 2 mod.
Moddb (most of the info are outdated): https://www.moddb.com/mods/half-life-2-hl2-plus
Discord server: https://discord.gg/t2bYYMY9A5
How to do that:
First know that this isn't made in hammer, the way that the ragdoll is managed with npc_sniper (or proto_sniper) is different than all the other npcs (excepted a few one). it can't be done in hammer.
(I will assume that you know how to make and code a source 2013 mod, if not than go here: https://youtube.com/playlist?list=PL8tDEPB6h7Lk0YtRtt4k1h_Thgj1ZA2dX&si=CzGn5l8O2ARvt9bq)
First, in the server side open proto_sniper.cpp, than in "CProtoSniper::Precache" replace "PrecacheModel("models/combine_soldier.mdl");" with "PrecacheModel("models/modelyouwanttouse.mdl");"
In "CProtoSniper::Spawn" replace "SetModel( "models/combine_soldier.mdl" );" with "SetModel("models/modelyouwanttouse.mdl");"
Last thing in "CProtoSniper::Event_Killed" just do like the other thing, find "models/combine_soldier.mdl" and replace it with yours, if you have any questions you can dm me on discord: https://discord.gg/t2bYYMY9A5
Have fun :3
Other Videos By Mazdo
Other Statistics
Half-Life 2 Statistics For Mazdo
At present, Mazdo has 43,683 views spread across 37 videos for Half-Life 2, and about an hours worth of Half-Life 2 videos were uploaded to his channel. This is 55.00% of the total watchable video on Mazdo's YouTube channel.


