Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

There are no mirrors, request one in the comment section below.
File: Shephard PlayerModels Remade
Version: 0
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=101064
Description: This is a remake of Ferdam's Adrian Shephard player models so all credit goes to Romka for porting it and remodeling it from the PS2, Ferdam for making the player model usable on the source engine, and gearbox and valve credit for making the model texture.

Looking through the model files I found remakes of the other player models, then looking through the Lua I found the core reason why people would have errors or only be the combine model, it was because he set his Lua to be if you don't have a valid model it sets you to the Combine Soldier player model by default.So I remade the Lua that was used in the Garry's Mod 9 Player Models so that this doesn't happen and that the models work.

Original: http://www.garrysmod.org/downloads/?a=view&id=4520

Changelog:
<Fixed> Only playable as combine.
<Fixed> Every model is an error.
<Fixed> Every other Garrys Mod model recreation.

Ferdams Lua:


local hook = hook
local player = player
local pairs = pairs
local Msg = Msg

module("player_manager")


// If a player doesn't have a valid model set they will use this one by default
local DefaultPlayerModel = "models/player/combine_soldier.mdl"

// Stores a table of valid player models
local ModelList = {}

/*---------------------------------------------------------
Utility to add models to the acceptable model list
---------------------------------------------------------*/
local function AddValidModel( name, model )
ModelList = model
end


/*---------------------------------------------------------
Translate the simple name of a model
into the full model name
---------------------------------------------------------*/
function TranslatePlayerModel( name )

if ( ModelList != nil ) then
return ModelList
end

return DefaultPlayerModel
end


/*---------------------------------------------------------
Compile a list of valid player models
---------------------------------------------------------*/
AddValidModel( "alyx", "models/player/alyx.mdl" )
AddValidModel( "barney", "models/player/barney.mdl" )
AddValidModel( "breen", "models/player/breen.mdl" )
AddValidModel( "combine", "models/player/combine_soldier.mdl" )
AddValidModel( "prison", "models/player/combine_soldier_prisonguard.mdl" )
AddValidModel( "super", "models/player/combine_super_soldier.mdl" )
AddValidModel( "eli", "models/player/eli.mdl" )
AddValidModel( "gman", "models/player/gman_high.mdl" )
AddValidModel( "kleiner", "models/player/Kleiner.mdl" )
AddValidModel( "scientist", "models/player/Kleiner.mdl" )
AddValidModel( "monk", "models/player/monk.mdl" )
AddValidModel( "mossman", "models/player/mossman.mdl" )
AddValidModel( "gina", "models/player/mossman.mdl" )
AddValidModel( "odessa", "models/player/odessa.mdl" )
AddValidModel( "police", "models/player/police.mdl" )
AddValidModel( "female1", "models/player/female_04.mdl" )
AddValidModel( "female2", "models/player/female_06.mdl" )
AddValidModel( "female3", "models/player/female_07.mdl" )
AddValidModel( "male1", "models/player/male_02.mdl" )
AddValidModel( "male2", "models/player/male_03.mdl" )
AddValidModel( "male3", "models/player/male_08.mdl" )
AddValidModel( "zombie", "models/player/classic.mdl" )
AddValidModel( "burnt", "models/player/charple01.mdl" )
AddValidModel( "corpse", "models/player/corpse1.mdl" )
AddValidModel( "charple", "models/player/charple01.mdl" )
AddValidModel( "ct_gign", "models/player/ct_gign.mdl" )
AddValidModel( "ct_gsg9", "models/player/ct_gsg9.mdl" )
AddValidModel( "ct_sas", "models/player/ct_sas.mdl" )
AddValidModel( "ct_urban", "models/player/ct_urban.mdl" )
AddValidModel( "t_arctic", "models/player/t_arctic.mdl" )
AddValidModel( "t_guerilla", "models/player/t_guerilla.mdl" )
AddValidModel( "t_leet", "models/player/t_leet.mdl" )
AddValidModel( "t_phoenix", "models/player/t_phoenix.mdl" )
AddValidModel( "gordon", "models/player/gordon_classic.mdl" )
AddValidModel( "shephardo", "models/player/hl1adrianshephardfngpos.mdl" )
AddValidModel( "shephardb", "models/player/hl1adrianshephardfngposblue.mdl" )
AddValidModel( "shephardr", "models/player/hl1adrianshephardfngposred.mdl" )

My Lua:

if ( SERVER ) then
player_manager.AddValidModel( "Adrian Shephard", "models/player/hl1adrianshephardfngpos.mdl" );

end

list.Set( "PlayerOptionsModel", "Adrian Shephard", "models/player/hl1adrianshephardfngpos.mdl" );

<Mine separates the models Lua files from each other so it isn't all in one big clump.>

Check out my Neotokyo Sweps wich couldnt be uploaded to GarrysMod.org for mysterious reasons:
Video: http://www.youtube.com/watch?v=fyCoKLoUMu8
Download: http://www.megaupload.com/?d=6Z16T0ZK



Image: Shephard