• Having problems importing a 3D player model into Gmod need help from people who know
    8 replies, posted
Hello guys! I need a little help importing a player model into Gmod I've been trying to get a Xenoblade character into Gmod, in order to do that I've been following a tutorial (since I'm NEW to this stuff, a complete noob) this is the tutorial btw (so you can see where I'm having problems) [URL="https://www.youtube.com/watch?v=aOd4aiW-VTk"]https://www.youtube.com/watch?v=aOd4aiW-VTk[/URL] (made by an user btw) [B]THE ACTUAL PROBLEM:[/B] So, I've done everything the tutorial says but once I open Gmod the player model won't even be "chooseable" I mean, not even missing textures or the option showing up and having problems with it, is just that the option won't show up at all [B]I think I messed up something[/B] although I'm sure I've done "exactly" what the tutorial says here are s[B]ome screenshots[/B] so you guys can see how my folders are set up and how both [B]QC and LUA files are written[/B] .QC [URL="http://i.imgur.com/tdwdaGP.png"]http://i.imgur.com/tdwdaGP.png[/URL] .Lua [URL="http://i.imgur.com/0n190rM.png"]http://i.imgur.com/0n190rM.png[/URL] also I'm not having problems with the textures at the moment (I guess since the 3D model won't even work lol) but [B]I'll post these just in case[/B] so you can see how the textures are set up [URL="http://i.imgur.com/fldxruU.png"]http://i.imgur.com/fldxruU.png[/URL] Notice anything strange guys? [B]maybe the 3D model itself was made in the wrong way?[/B] which lead me to this... I know it may be asking a [B]LOT![/B] but can you guys [B]test my 3D model on your machines?[/B] [B][U]THE 3d model [/U][/B](made in 3DS max wich contains the QC file I've used) [url]https://mega.nz/#!wNYAWRII!COM_MpCaJ1SKQdrvYBgIjRyq-CKb40BJ96dXC8ga6R8[/url] and here are [B][U]the textures[/U][/B] I've used in these 3 formats: TGA (original textures) vtf and vmt [url]https://mega.nz/#!VUB0WZqa!HPG1mQFEfxY75v2NLnNeO5Nn1Mxbt6nElmEcm6k wDVk[/url] Here's [B][I]how the model should look like[/I][/B] (an Image from the actual game the 3D model comes from, it being Xenoblade Chronicles ) [URL="http://i.imgur.com/IHpcJ.jpg"]http://i.imgur.com/IHpcJ.jpg[/URL] thanks a lot if you've read this far, [B]I really want this to work so I can move on to make the whole cast playable! and even include a whole map from XENOBLADE![/B] [IMG]http://1.bp.blogspot.com/-EKIX3m9YtCM/ToKnm2pSTBI/AAAAAAAAAT8/LkeTFF-FvDg/s1600/screenshot-07.jpg[/IMG] [B][U]A MAN CAN DREAM![/U][/B] [video=youtube;es47SMRaztc]https://www.youtube.com/watch?v=es47SMRaztc[/video]
please I hate being "that guy" that thinks he's the center of the world but I would like to know your opinions and thoughts so I can start all over as soon as possible if I messed up something important T.T
Delete the : at the end of the 5th line and delete the 6th line and see if that helps.
[QUOTE=SilverBelle;48863594]Delete the : at the end of the 5th line and delete the 6th line and see if that helps.[/QUOTE] Just tried and it still doesn't work Thanks for trying to help :D
Can you post what it looks like in the lua now? It should look exactly like this. player_manager.AddValidModel( "Dunban","models/player/Mios/dunban ver1.mdl" ) that is the [I]only[/I] line you need to load it into the player selection screen. You dont need that "Addon by" thing either. also, personally, I would drop the capital M in Mios in folder and lua. I don't know if that's causing an issue since I don't do that but I do know capitals can cause complications.
[QUOTE=SilverBelle;48864029]Can you post what it looks like in the lua now? It should look exactly like this. player_manager.AddValidModel( "Dunban","models/player/Mios/dunban ver1.mdl" ) that is the [I]only[/I] line you need to load it into the player selection screen. You dont need that "Addon by" thing either. also, personally, I would drop the capital M in Mios in folder and lua. I don't know if that's causing an issue since I don't do that but I do know capitals can cause complications.[/QUOTE] I started all over and made all the folders again now with a lua file written like this: [IMG]http://i.imgur.com/XPGJYL1.png[/IMG] Still doesn't work :S
I added you, name is autismo
[QUOTE=KoenLeung;48867288]I added you, name is autismo[/QUOTE] Oh sorry I didn't notice...thanks! [editline]9th October 2015[/editline] [B]KoenLeung is a god[/B] the problem was that the Lua file had spaces on it's name so I changed it to just "player" like he said and IT WORKED! and OF COURSE ALSO HUGE [B]THANKS TO YOU SilverBelle[/B]
No problem! Happy I could help in anyway. ^^
Sorry, you need to Log In to post a reply to this thread.