• Changing TTT player models (Not point shop)
    20 replies, posted
Hey guys, I've installed a workshop add on for a player model. It's said to work with TTT, What file do I need to edit for this to swap the default player model with the new workshop model. Thanks [url]http://steamcommunity.com/sharedfiles/filedetails/?id=110571239&searchtext=ttt+model[/url]
Thank you Matt. Life saver!
If I recall, inside shared.lua is a table of player models it randomly picks from. Change those to the filepath of what you now want
The link to the add on I gave, Does anyone know what model name it is?
That program is good, I found it. hunk_orc.mdl However setting everything to that just makes people errors...
I just extracted all the files from the workshop and added them into the server itself. Then I ran update FASTDL with this : Processing #34/41::Compressing superadmin.vmt....OK..Copying..OK Processing #35/41::Compressing superadmin.vtf....OK..Copying..OK Processing #36/41::Compressing hunk_orc.dx80.vtx....OK..Copying..OK Processing #37/41::Compressing hunk_orc.dx90.vtx....OK..Copying..OK Processing #38/41::Compressing hunk_orc.mdl....OK..Copying..OK Processing #39/41::Compressing hunk_orc.phy....OK..Copying..OK Processing #40/41::Compressing hunk_orc.sw.vtx....OK..Copying..OK Processing #41/41::Compressing hunk_orc.vvd....OK..Copying..OK Etc, Am sure it will work now.
Where is the resource add file at? I've forgot.. [editline]27th December 2013[/editline] Nevermind, Found it. -- resource.AddFile("path/file.ext") resource.AddFile("sound\siege\big_explotion.waw.bz2") resource.AddFile("sound\siege\jihad.waw.bz2") resource.AddFile("models/hunk_orc.mdl") [editline]27th December 2013[/editline] Oh, That slash will be why... [editline]27th December 2013[/editline] Nope, Doing that has done nothing to fix the errors. [editline]27th December 2013[/editline] Model missing: models/player/hunk_orc.mdl Model missing: models/player/hunk_orc.mdl Dropped Techen the Dragon from server (Disconnect by user.) Model missing: models/player/hunk_orc.mdl Model missing: models/player/hunk_orc.mdl [editline]27th December 2013[/editline] Finally got it working, I made a mistake. Deleting the player part in models/player/hunk_orc.mdl fixed the problem. Thank you Matt! [editline]27th December 2013[/editline] Nevermind back to stage one. I can see the models but everyone gets errors still. I've added resource.AddFile("models\hunk_orc.mdl") resource.AddWorkshop( "110571239" ) And still nothing, Any ideas?
Try resource.AddFile("models/hunk_orc.mdl"). You have the file on your FastDL, right?
OHGOD, Code, You epic man. I don't have the files in the fastdl part................ [editline]27th December 2013[/editline] Wait no, There all in there. Nevermind. Back to stage one again. [editline]27th December 2013[/editline] Also the new resource addfile didn't help. [editline]27th December 2013[/editline] *** ERROR: C_ServerRagdoll::InitModel: models/hunk_orc.mdl missing vcollide data *** TTT: Nikolai found the body of Andrew. He was innocent. *** ERROR: C_ServerRagdoll::InitModel: models/hunk_orc.mdl missing vcollide data *** TTT: Barry Burton found the body of Techen the Dragon. He was innocent. *** ERROR: C_ServerRagdoll::InitModel: models/hunk_orc.mdl missing vcollide data ***
Is the model in your server directory too?
Yes sir, Both.
Is the model on your FastDL packed in a .bz2?
Yes sir [editline]27th December 2013[/editline] hunk_orc.mdl.bz2
Can you post your entire resource.AddFile file in [code] tags?
What do you mean Code tags?
[code] at the beginning of your code, [ /code] at the end of your code (without a space).
Sorry, you need to Log In to post a reply to this thread.