• Making gamemode extending "base" !
    12 replies, posted
So, i decided at the end to make a new Roleplay Gamemode ! Indead, i tried everything i could to make DarkRP realy real, but it seams to be impossible without need of remaking the complete gamemode. So, because i did not want any spawn menu, i did want something realy blank i need nothing at base, so i decided to take the "base" gamemode as the first base of mine ! It's working, i have a little begin of it, and i get some problems with an addon i've included to see legs in first person view. The problem is that it seams that my player model is completely not animated, it's displayed correctly : no errors, but it won't animate... Is that issue due to gamemode or due to my player model addon ? I'm using this one : [url]http://www.garrysmod.org/downloads/?a=view&id=84826[/url]
[img]http://puu.sh/9MbIw/50b3971d62.png[/img] No questions asked. Also RP gamemode? How original :v:
WTF !? I say my problem and you just say No questions asked !!!! Please answer me !!!! [b][b][b]Is that issue due to gamemode or due to my player model addon ?[/b][/b][/b] No question asked ? Are you sure !!! Read carfully my post before saying that...
[QUOTE=Yuri6037;45227255]WTF !? I say my problem and you just say No questions asked !!!! Please answer me !!!! [b][b][b]Is that issue due to gamemode or due to my player model addon ?[/b][/b][/b] No question asked ? Are you sure !!! Read carfully my post before saying that...[/QUOTE] Erm ... over reaction? Also, using '[b][b][b] ... ' doesn't make the text go any bolder.....
[QUOTE=Yuri6037;45227255]WTF !? I say my problem and you just say No questions asked !!!! Please answer me !!!! [b][b][b]Is that issue due to gamemode or due to my player model addon ?[/b][/b][/b] No question asked ? Are you sure !!! Read carfully my post before saying that...[/QUOTE] By 'no questions asked' I meant that I don't have to ask you questions to know what's the issue. You are using a very, very, very, very, very old script that has been uploaded over 4 years ago, which is wayyyyyy before GM13 update and change in functions.
[QUOTE=Netheous;45227280]By 'no questions asked' I meant that I don't have to ask you questions to know what's the issue. You are using a very, very, very, very, very old script that has been uploaded over 4 years ago, which is wayyyyyy before GM13 update and change in functions.[/QUOTE] There are no scripts in the addon. Just models.
[QUOTE=dingusnin;45227288]There are no scripts in the addon. Just models.[/QUOTE] Damn it, I am an idiot. I instantly assumed it's the legs mod and I have images disabled. In that case, you should make sure you are setting players model to playermodel and not a ragdoll, as the addon states 'I made them into proper models. These are player models as well.'. Also, show us the code where you apply playermodels.
Ok, so if i understand correctly i need to use another model. No problem. I could use HL2 ones, but i don't know what are the .MDL path... So i can't use CSS models HL2 models and every other games models because i can't find any path for these models... EDIT : I just got another problem... I can't find any hook on gmod wiki any function that disable default gmod health render....
[QUOTE=Yuri6037;45227412]EDIT : I just got another problem... I can't find any hook on gmod wiki any function that disable default gmod health render....[/QUOTE] The health HUD? [CODE]hook.Add( "HUDShouldDraw", "DisableHealthHUD", function( hud ) if ( hud == "CHudHealth" ) then return false end end )[/CODE]
[url]http://wiki.garrysmod.com/page/GM/HUDShouldDraw[/url]
Thank you for your indo, now i have completely disabled Gmod base hud ! Actualy, the gamemode has basic functions such as make transaction and change job, i'm now working the Overlay Rendering... I will prepare for door names rendering. After, i would ask you a last question, is there any way to make the server saving player money, player RP nicks ? Becaus i'm running windows and the only way of getting a mysql database is by using Linux...
[QUOTE=Yuri6037;45227690]Thank you for your indo, now i have completely disabled Gmod base hud ! Actualy, the gamemode has basic functions such as make transaction and change job, i'm now working the Overlay Rendering... I will prepare for door names rendering. After, i would ask you a last question, is there any way to make the server saving player money, player RP nicks ? Becaus i'm running windows and the only way of getting a mysql database is by using Linux...[/QUOTE] GMod uses a built in SQLite database, just call PLAYER:SetPData and PLAYER:GetPData
Ok thank you.
Sorry, you need to Log In to post a reply to this thread.