Any model that shares a directory with another model will not work.
IE: I added the MK-Noob item to my server, its location is as follows: models/player/bobert/mknoob.mdl . This item runs correctly, it’s fastdl is setup properly, and the author of this addon is the same as the one I am having issues with.
This has also happened with a couple of other models that were in models/player .
I am trying to add the Injustice Joker model, and the same setup that was used for the mknoob model was used for this one as well. At first the joker player model was in the models/player/bobert folder. When it became apparent after 10 or 12 restarts that it would not work, I double, triple, quadruple checked the files, and I still came up empty. It was after this that I changed the model to the models/player/bobert/joker/ folder to try to get that to work, it would not.
So here are my file setups currently
player_manager.AddValidModel( “Joker”, “models/player/bobert/joker/joker.mdl” )
list.Set( “PlayerOptionsModel”, “Joker”, “models/player/bobert/joker/joker.mdl” )
resource.AddFile( "materials/joker_accessory_diff.vmt" ) resource.AddFile( "materials/joker_accessory_diff.vtf" ) resource.AddFile( "materials/joker_diff.vmt" ) resource.AddFile( "materials/joker_diff.vtf" ) resource.AddFile( "materials/models/joker/joker_accessory_diff.vmt" ) resource.AddFile( "materials/models/joker/joker_accessory_diff.vtf" ) resource.AddFile( "materials/models/joker/joker_diff.vmt" ) resource.AddFile( "materials/models/joker/joker_diff.vtf" ) resource.AddFile( "models/player/bobert/joker/joker.mdl" )
ITEM.Name = ‘Joker’
ITEM.Price = 0
ITEM.Model = ‘models/player/bobert/joker/joker.mdl’
function ITEM:OnEquip(ply, modifications)
if not ply._OldModel then
ply._OldModel = ply:GetModel()
timer.Simple(1, function() ply:SetModel(self.Model) end)
if ply._OldModel then
Is there something i’m missing here?
[editline]9th August 2015[/editline]