As of now i have a loading screen as a image file hosted from imgur. Problem is that it doesnt fit everybody screen size and im having trouble making it so that it fits on everyone screen perfectly. I know you will need to have a web host but i currently dont have on. Would google sites work? If so how am i able to make it so that the loading url can fit everyones screen?
yes, google sites will work
as for fitting people’s screens, you’d have to adjust your HTML page properties to dynamically scale
I have no idea on how to work the html page thing. xD
<img src="path/to/image.jpg" style="height:100%;width:100%">
Make sure the image keep a good aspect ratio. Such as 16:9 would be good (1920x1080, 1280x720, etc)
So do i just post my imgur ulr into that script? Or…
Forget the fact that its for gmod and just search for html scale image to fit screen
EDIT: Ninja’d but relevant
No, you would want to do this:
<img src="http://i.imgur.com/DisZrCw.jpg" style="height:100%;width:100%">
When i put that in sv_loadingurl it shows up as black loading screen
You must put a link to a html page there. You can’t put html code there.
I am not sure, BUT you might do this: “data:text/html,<img src=“http://i.imgur.com/DisZrCw.jpg” style=“height:100%;width:100%”>”
FP screws up the formatting; it has to be in
Will google sites work for hosting the loading url image?
Btw you might want to make the image 1920x1080 (Or atleast 16:9 aspect ratio)
Thanks i appreciate it