• Custom loadinscreen help me
    8 replies, posted
i made a custom loadinscreen its the correct size for some people, but for others its not, help me what size should i use so its the same for everybody?
Most people's gmod is at a default of 1024 x 600. I would make it that size so most people will see most of it. Most people do not change the default screen res of gmod.
well what I have done with mine is made it so that it adjusts according to client resolution
Don't use images as loadingscreen.
Add this to your page's style; [code] body { background-image:url("YOUR IMAGE URL HERE"); background-repeat:no-repeat; background-attachment: fixed; background-position: center; /* background-size: cover; */ /*This scales properly, might overflow on different resolutions */ background-size: 100% 100%; /*This stretches it to fill */ } [/code]
Were do i add this? Because with my server hosters i goto my command run, and theirs a line in there were i have it, This is the one im currently using i.imgur.com/sg4KzB5.jpg
Create a html file then put this in it; [code] <html> <head> <title>My Servers Name</title> <style type="text/css"> html, body { height:100%; margin:0; padding:0; } body { background-image:url("http://i.imgur.com/sg4KzB5.jpg"); background-repeat:no-repeat; background-attachment: fixed; background-position: center; /* background-size: cover; */ /*This scales properly, might overflow on different resolutions */ background-size: 100% 100%; /*This stretches it to fill */ } </style> </head> <body> <!-- empty, it just has a background image --> </body> </html> [/code] [editline]17th August 2013[/editline] Then set your loading url to the html file on your webhost
oh so i dont use my server companys commands line for loadinurl? were do i put this code u showed me? i make a html file, then were do i save it to?
Upload the html file to your webhost, of if you do not have a webhost, upload it to Dropbox. Go to garrysmod/cfg/ then open up server.cfg, then add or change this sv_loadingurl "YOUR URL HERE"
Sorry, you need to Log In to post a reply to this thread.