• Purple and Black F4 menu
    10 replies, posted
Hello, I recently have been working on a custom F4 menu... I also edited the DarkRPSkin.png in Photoshop. I have my edited png file in "gamemodes/darkrp/content/materials/darkrp" and I have edited my "gamemodes/darkrp/gamemode/client/DRPDermaSkin.lua" to look like this: [lua] SKIN.GwenTexture = Material("DarkRP/sp.png") [/lua] I also have the sp.png located in "materials/darkrp" along with te hresorceAddFile. The png just dose NOT download and shows up as checkers.... I have no idea what the problem is.
Did you add the file to your FastDL? Also, you said you did the resource.AddFile; does it look something like this? [CODE]resource.AddFile("materials/darkrp/sp.png")[/CODE]
Sometimes capitalized folders can cause issues with Fast DL. Make sure the DarkRP folder is the same case on both the HTTP and the game server.
This what I have: I have sp.png in this path [lua] materials/darkrp/sp.png [/lua] My FastDL looks like this: [lua] resource.AddFile( "materials/darkrp/sp.png" ) [/lua] and my DRPDermaSkin.lua has this in it: [lua] SKIN.GwenTexture = Material("darkrp/sp.png") [/lua] As you can see, there should be NO problem... But there is.
[url]https://github.com/FPtje/DarkRP/blob/master/gamemode/config.lua#L240[/url] ^ that would be easy prolly idk just figured I would show you its there.
[QUOTE=J.R.;41631876][url]https://github.com/FPtje/DarkRP/blob/master/gamemode/config.lua#L240[/url] ^ that would be easy prolly idk just figured I would show you its there.[/QUOTE] I don't think that is the problem, because it worked fine in single player... It just dose not want to FastDL.
Make sure you have your server.cfg set up with fastDL properly. ie; sv_downloadurl sv_allowdownload sv_allowupload Also, you must change the skin in your config, inside your darkRP gamemode.
[QUOTE=Koolaidmini;41632404]Make sure you have your server.cfg set up with fastDL properly. ie; sv_downloadurl sv_allowdownload sv_allowupload Also, you must change the skin in your config, inside your darkRP gamemode.[/QUOTE] This is set sv_downloadurl sv_allowdownload sv_allowupload My FastDL works and Downloads all other files, just not the sp.png. Also ,what do you mean by change your skin in the config? Because as I said before, it works fine in single player.
"DarkRP/gamemode/config.lua" Line 240: [code] GM.Config.DarkRPSkin = "DarkRP" [/code]
I thought Garry still hasn't implemented being able to change the default gwen textures?
Just try it;;
Sorry, you need to Log In to post a reply to this thread.