diff options
Diffstat (limited to 'join.html')
| -rw-r--r-- | join.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/join.html b/join.html new file mode 100644 index 0000000..720384e --- /dev/null +++ b/join.html @@ -0,0 +1,58 @@ +<html> + <link rel="stylesheet" type="text/css" href="style.css"> + <head> + <h1>Winter Survival 2 <img src="./icon_snowflake.png"> Anarchy</h1> + <id><img src="./icon.png" style="width:256;"></id> + </head> + <script type="text/javascript"> + /* + Called at the start, when the loading screen finishes loading all assets. + + serverName- Server's name. + Convar: hostname + For exmaple: "Garry's Mod Server" + serverURL- URL for the loading screen. + Convar: sv_loadingurl + For example: "http://mywebsite.com/myloadingscreen.html" + mapName- The name of the map the server is playing. + For example: "cs_office" + maxPlayers- Maximum number of players for the server. + Convar: maxplayers + steamID- 64-bit, numeric Steam community ID of the client joining. + For example: 76561198012345678 + gamemode- The gamemode the server is currently playing. + Convar: gamemode + For example: "deathrun" + */ + function GameDetails( servername, serverurl, mapname, maxplayers, steamid, gamemode ) { + document.getElementById("SName").innerHTML = servername; + document.getElementById("SMap").innerHTML = mapname; + document.getElementById("PId").innerHTML = steamid; + document.getElementById("SGame").innerHTML = gamemode; + } + function DownloadingFile( fileName ) { + document.getElementById("FLoad").innerHTML = fileName; + } + function SetFilesNeeded( needed ) { + document.getElementById("FRem").innerHTML = needed + " remaining..."; + } + </script> + <id> + <p id="SName">Server_name</p> + <br/> + <p id="SMap">Server_map</p> + <br/> + <p id="PId">Player_id</p> + <br/> + <p id="SGame">Server_Gamemode</p> + <br/> + <p>Downloading:</p> + <p id="FLoad">File_Loading</p> + <p id="FRem">Files_Remaining</p> + <br/> + </id> + + <audio controls loop="true" autoplay="true"> + <source src="wsintro.wav" type="audio/wav"> + </audio> +</html> |
