i downloaded the deathrun gamemode from Mr. Gash on github and it came with the folders and files for the grim model and sythe but my deaths dont spawn as grim or with a sythe, any help is great!
~EMP
[highlight](User was banned for this post ("Didn't read the sticky" - Craptasket))[/highlight]
They don't come with the gamemode by default. You have to get custom model for them, as well as make a scythe SWEP that models the crowbar.
Once you get the model, just set the TEAM_DEATH model to whatever you want.
[QUOTE=code_gs;44515107]They don't come with the gamemode by default. You have to get custom model for them, as well as make a scythe SWEP that models the crowbar.[/QUOTE]
so how would i code them? (if you know)
[IMG]http://i.imgur.com/cRPXyWE.gif[/IMG]
Gash provided examples in hook_examples.lua. Replace ply:IsUserGroup("vip") with ply:Team("TEAM_DEATH") in the code.
[lua] hook.Add( "ChangePlayerModel", "Overwrite Player Model Example", function( ply )
if ply:IsUserGroup( "vip" ) then -- If the player is in the "vip" group
return "models/player/leet.mdl" -- Set their model to the CS:S leet model.
end
end )
return -- Stop the server from going any further.
end
-- Because we stopped the server from going any further, anything past this is clientside![/lua]
[QUOTE=code_gs;44516545]Gash provided examples in hook_examples.lua. Replace ply:IsUserGroup("vip") with ply:Team("TEAM_DEATH") in the code.
[lua] hook.Add( "ChangePlayerModel", "Overwrite Player Model Example", function( ply )
if ply:IsUserGroup( "vip" ) then -- If the player is in the "vip" group
return "models/player/leet.mdl" -- Set their model to the CS:S leet model.
end
end )
return -- Stop the server from going any further.
end
-- Because we stopped the server from going any further, anything past this is clientside![/lua][/QUOTE]
thank you for your help!
[URL="http://facepunch.com/showthread.php?t=1250276"]ahem[/URL]
[highlight](User was banned for this post ("Backseat modding" - Craptasket))[/highlight]
[QUOTE=Pygmy;44518681][URL="http://facepunch.com/showthread.php?t=1250276"]ahem[/URL][/QUOTE]
12 posts, joined July 2013. I don't think you get to tell people what to do.
[QUOTE=dingusnin;44518954]12 posts, joined July 2013. I don't think you get to tell people what to do.[/QUOTE]
ok so I haven't been around for a while, rules still have to be followed.
and i'm on here often, just a lurker.
[QUOTE=Pygmy;44520995]ok so I haven't been around for a while, rules still have to be followed.
and i'm on here often, just a lurker.[/QUOTE]
That's a mod's job. Just report the post instead of correcting them yourself.
Sorry, you need to Log In to post a reply to this thread.