estrik ripley

Would you like to react to this message? Create an account in a few clicks or log in to continue.

no longer rp


2 posters

    Does anyone know how to make a sv_loadingurl?

    Sinic
    Sinic
    Esoteric Servers
    Esoteric Servers


    Posts : 530
    Join Date : 2011-12-21
    Age : 26
    Location : Some place where it's cold.
    Character Name : Darnell Jackson

    Does anyone know how to make a sv_loadingurl? Empty Does anyone know how to make a sv_loadingurl?

    Post by Sinic Sun Jun 10, 2012 5:42 am

    You go to a server and you see a cool custom screen, that's pretty fucking awesome and it shows to you that the server is worth to go onto.

    And as you all know, we already have a sv_loadingurl, but of course, Lone and Mitch had the brilliant idea to make a non-diverse loading screen that simply says "THE OUTLANDS", that's it, all we really needed was "Esoteric Roleplay", the website name and maybe some music. We need to change it, and since Mitch isn't here, it's not that easy, since Mitch was the one that did it, we desperately need a new one that would just say a few things.

    - "Esoteric Servers"
    - "www.esotericroleplay.net" or whatever new domain name we get in the future.
    - The random and interesting quotes like "Re-killing Alyx." Here's the code or whatever for it, found it on a post on Facepunch. May help.
    Code:
    keywords =

       [

        "Unwelding Boxes.",

        "Charging Toolgun.",

        "Breaking Addons.",

        "Stuffing Ragdolls.",

        "Unreticulating Splines.",

        "Refuelling Thrusters.",

        "Unknotting ropes.",

        "Painting Barrels.",

        "Feeding Birds.",

        "Bathing Father Grigori.",

        "Decoding Lua's syntax.",

        "Re-killing Alyx.",

        "Calibrating Manhacks.",

        "Cleaning Leafblower.",

        "Reconfiguring Gravity Matrix.",

        "Growing Watermelons.",

        "Mowing Grass.",

        "Plastering Walls.",

        "Inflating Balloons.",

        "Taming Physics.",

        "Calling Sleep( 1000 ); ",

        "Unfreezing The Freeman.",

        "Patching Broken Update.",

        "Styling Mossman's Hair.",

        "Reducing lifespan of Alyx.",

        "Polishing Kliener's Head.",

        "Delaying Episode 3.",

        "Changing Physgun Batteries.",

        "Breaking Source Engine"

       ]
    - An interesting design, probably going more on the eerie side to fit with our apocalyptic-like servers (HL2RP, zombies, etc.)
    - Some pleasing music. Maybe Mad World, or we just have no music at all, depends.

    Possibly Lone could ask Mitch to teach him or just ask him to do another one for us again. Or we can get help from you if any of you know. Here's some tutorials and shit, and some examples.

    Tutorials:
    http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexb59e.html?title=Sv_loadingurl
    https://www.youtube.com/watch?v=TmL70dirOwA (tutorial doesn't show how to make the randomly generating text, but shows how to add in music)

    Examples
    http://www.esotericroleplay.net/h1-loadingurl (our current loading screen)
    http://loading.garrysmod.com/

    If we are to release the Outbreak server, we kinda /need/ a new loading screen, "The Outlands" in every server we have is extremely misleading and obnoxious, and if we were to remove it and replace it with the default OA screen, then nobody will join because we look like an under developed community, when we actually are not.

    Also, here is the entire HTML format for the default GMod loading screen, if you can get the Outlands one and compare them and replace a few values, then maybe someone can easily just make us a background and we'll be on our way.

    Code:
    <html>
    <head>
    </head>
    <body>
    <center>
       <div style='position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 50%; height: 50%; margin: auto; overflow: show;'>
          <img src='loading.png'>
          <div id='loadingtext' style='margin-top: 10px; color: #666; font-family: Arial; font-size: 12px; font-weight: bold;'>Loading Text..</div>
       </div>
    </center>
       <div style='-webkit-box-reflect: below -120px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.1, transparent), to(rgba(255, 255, 255, 1.0))); position: absolute; top: 90%; right: 0; bottom: 0; left: 5%; height: 100px; overflow: show; font-family: Arial; font-size: 24px; font-weight: bold; color: #888' id='files'>

       </div>

    <script type="text/javascript">

       keywords =
       [
        "Unwelding Boxes.",
        "Charging Toolgun.",
        "Breaking Addons.",
        "Stuffing Ragdolls.",
        "Unreticulating Splines.",
        "Refuelling Thrusters.",
        "Unknotting ropes.",
        "Painting Barrels.",
        "Feeding Birds.",
        "Bathing Father Grigori.",
        "Decoding Lua's syntax.",
        "Re-killing Alyx.",
        "Calibrating Manhacks.",
        "Cleaning Leafblower.",
        "Reconfiguring Gravity Matrix.",
        "Growing Watermelons.",
        "Mowing Grass.",
        "Plastering Walls.",
        "Inflating Balloons.",
        "Taming Physics.",
        "Calling Sleep( 1000 ); ",
        "Unfreezing The Freeman.",
        "Patching Broken Update.",
        "Styling Mossman's Hair.",
        "Reducing lifespan of Alyx.",
        "Polishing Kliener's Head.",
        "Delaying Episode 3.",
        "Changing Physgun Batteries.",
        "Breaking Source Engine"
       ]


       var bCanChangeStatus = true;
       function ChangeText ( )   {
          if ( bCanChangeStatus )
          {
             var keyword = keywords[ Math.floor( Math.random() * keywords.length ) ]
             document.getElementById( "loadingtext" ).innerHTML = keyword;
          }
          
          setTimeout( "ChangeText()", 2500 );
       }
       
       ChangeText();
       
       var iFilesNeeded = 0;
       var iFilesTotal = 0;
       var bDownloadingFile = false;
       
       function SetFilesNeeded( iNeeded )
       {
          iFilesNeeded = iNeeded;
          RefreshFileBox();
       }
       
       function SetFilesTotal( iTotal )
       {
          iFilesTotal = iTotal;
          RefreshFileBox();
       }
       
       function DownloadingFile( filename )
       {
          if ( bDownloadingFile )
          {
             iFilesNeeded = iFilesNeeded - 1;
             RefreshFileBox();
          }
          
          document.getElementById( "loadingtext" ).innerHTML = "Downloading " + filename;
          bCanChangeStatus = false;
          setTimeout( "bCanChangeStatus = true;", 1000 );
          
          bDownloadingFile = true;
          
       }
       
       function SetStatusChanged( status )
       {
          if ( bDownloadingFile )
          {
             iFilesNeeded = iFilesNeeded - 1;
             bDownloadingFile = false;
             RefreshFileBox();
          }
          
          document.getElementById( "loadingtext" ).innerHTML = status;
          bCanChangeStatus = false;
          setTimeout( "bCanChangeStatus = true;", 1000 );
       }
       
       function RefreshFileBox()
       {
          document.getElementById( "files" ).innerHTML = "<img src='download.png' style='position: relative; top: 7px;'> " + iFilesNeeded + " downloads remaining";
          
          if ( iFilesTotal > 0 )
             document.getElementById( "files" ).style.visibility = 'visible';
          else
             document.getElementById( "files" ).style.visibility = 'hidden';
       }
       
       RefreshFileBox();
       
    </script>

    </body>
    </html>

    Our current HTML code.

    Code:
    <html>
    <head>
    </head>

    <body background="http://i877.photobucket.com/albums/ab334/M1TCH3LLL/Stripe-1.png">

    <center>
       <div style='position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 50%; height: 50%; margin: auto; overflow: show;'>
          <img src='http://i877.photobucket.com/albums/ab334/M1TCH3LLL/outlands.png'>
          <div id='loadingtext' style='margin-top: 10px; color: #FFFFFF; font-family: skinbones; font-size: 12px; font-weight: bold;'>Loading Text..</div>
       </div>
    </center>
       <div style='-webkit-box-reflect: below -120px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.1, transparent), to(rgba(255, 255, 255, 1.0))); position: absolute; top: 90%; right: 0; bottom: 0; left: 5%; height: 100px; overflow: show; font-family: skinbones; font-size: 24px; font-weight: bold; color: #888' id='files'>
       </div>

    <script type="text/javascript">

       keywords =
       [
        "Running From The Union...",
        "Writing A Book...",
        "Attracting The Weeaboos...",
        "Compensating The Melee Damage...",
        "Eating An Antlion...",
        "Reinforcing Racial Stereotypes...",
        "Metagaming Your Personal Information...",
        "Drinking Canal Water..."
       ]


       var bCanChangeStatus = true;
       function ChangeText ( )   {
          if ( bCanChangeStatus )
          {
             var keyword = keywords[ Math.floor( Math.random() * keywords.length ) ]
             document.getElementById( "loadingtext" ).innerHTML = keyword;
          }
          
          setTimeout( "ChangeText()", 2500 );
       }
       
       ChangeText();
       
       var iFilesNeeded = 0;
       var iFilesTotal = 0;
       var bDownloadingFile = false;
       
       function SetFilesNeeded( iNeeded )
       {
          iFilesNeeded = iNeeded;
          RefreshFileBox();
       }
       
       function SetFilesTotal( iTotal )
       {
          iFilesTotal = iTotal;
          RefreshFileBox();
       }
       
       function DownloadingFile( filename )
       {
          if ( bDownloadingFile )
          {
             iFilesNeeded = iFilesNeeded - 1;
             RefreshFileBox();
          }
          
          document.getElementById( "loadingtext" ).innerHTML = "Downloading " + filename;
          bCanChangeStatus = false;
          setTimeout( "bCanChangeStatus = true;", 1000 );
          
          bDownloadingFile = true;
          
       }
       
       function SetStatusChanged( status )
       {
          if ( bDownloadingFile )
          {
             iFilesNeeded = iFilesNeeded - 1;
             bDownloadingFile = false;
             RefreshFileBox();
          }
          
          document.getElementById( "loadingtext" ).innerHTML = status;
          bCanChangeStatus = false;
          setTimeout( "bCanChangeStatus = true;", 1000 );
       }
       
       function RefreshFileBox()
       {
          document.getElementById( "files" ).innerHTML = "<img src='download.png' style='position: relative; top: 7px;'> " + iFilesNeeded + " downloads remaining";
          
          if ( iFilesTotal > 0 )
             document.getElementById( "files" ).style.visibility = 'visible';
          else
             document.getElementById( "files" ).style.visibility = 'hidden';
       }
       
       RefreshFileBox();
       
    </script>

    </body>
    </html>
    Sinic
    Sinic
    Esoteric Servers
    Esoteric Servers


    Posts : 530
    Join Date : 2011-12-21
    Age : 26
    Location : Some place where it's cold.
    Character Name : Darnell Jackson

    Does anyone know how to make a sv_loadingurl? Empty Re: Does anyone know how to make a sv_loadingurl?

    Post by Sinic Sun Jun 10, 2012 2:22 pm

    Here's some keywords I made that we can use for the new loading screen, I think it's enough (considering I have more than what the default GMod loading screen consists of).

    Code:
    keywords =
       [
        "Cleaning MySQL.",
        "Annoying Lone.",
        "Breaking OpenAura.",
        "Attracting Weaboos.",
        "Banning Mingebags.",
        "Rationing Food Supplies.",
        "Powergaming Every Action.",
        "Refueling Ego.",
        "Reinforcing Racial Stereotypes.",
        "Feeding Zombies.",
        "Metagaming Personal Information.",
        "Requesting Free Items.",
        "Refilling Water Bottle.",
        "Placing Scavengables.",
        "Delaying Server Release.",
        "Compensating Melee Damage."
        "Killing Infected.",
        "Riding Stallion.",
        "Stealing Supplies.",
        "Destroying Barricades.",
        "Mugging Survivors.",
        "Polishing Firearm.",
        "Burning Bridges.",
        "Fitting Gasmask.",
        "Injecting Adrenaline.",
        "Equiping Sledgehammer.",
        "Cauterizing Wound.",
        "Committing Suicide.",
        "Cybering Random Characters.",
        "Trolling Forums.",
        "Curing Infection.",
        "Re-establishing Society.",
        "Applying Tinfoil.",
        "Growing Turnips.",
        "Drinking Booze.",
        "Spawning Zombies.",
        "Loading Magazine.",
        "Dividing By Zero.",
        "Taking Painkillers."
        "Testing Items.",
       ]

    If you have anymore ideas just let me know, honestly, we can make this go on forever, and don't do stuff like "Giving Drescher A Potato" or anything like that, just make it simple, like two-three words.


    Last edited by Sinic on Sun Jun 10, 2012 2:49 pm; edited 2 times in total
    H.Drescher
    H.Drescher


    Posts : 319
    Join Date : 2011-12-24
    Age : 26
    Location : some fucking place with slavic sand
    Character Name : blerygan rynauew

    Does anyone know how to make a sv_loadingurl? Empty Re: Does anyone know how to make a sv_loadingurl?

    Post by H.Drescher Sun Jun 10, 2012 2:36 pm

    Taking Painkillers
    Growing Turnips
    Being a butterfly
    Starving to death
    Adventure!!!

    Some teeny tiny references, nothing special. The turnip one is my favorite.
    Sinic
    Sinic
    Esoteric Servers
    Esoteric Servers


    Posts : 530
    Join Date : 2011-12-21
    Age : 26
    Location : Some place where it's cold.
    Character Name : Darnell Jackson

    Does anyone know how to make a sv_loadingurl? Empty Re: Does anyone know how to make a sv_loadingurl?

    Post by Sinic Sun Jun 10, 2012 2:38 pm

    Added two of those. The turnip one and the painkiller one.
    Sinic
    Sinic
    Esoteric Servers
    Esoteric Servers


    Posts : 530
    Join Date : 2011-12-21
    Age : 26
    Location : Some place where it's cold.
    Character Name : Darnell Jackson

    Does anyone know how to make a sv_loadingurl? Empty Re: Does anyone know how to make a sv_loadingurl?

    Post by Sinic Sun Jun 10, 2012 5:32 pm

    Lone completely ignores mine and is doing it his own way. :fffuuuuu:

    Code:
    keywords =
       [
        "Running from the Union...",
        "Writing a book...",
        "Attracting the weeaboos...",
        "Compensating the melee damage...",
        "Eating an antlion...",
        "Eating a headcrab...",
        "Reinforcing racial stereotypes...",
        "Metagaming your personal information...",
        "Drinking canal water..."
        "Applying tin foil..."
        "Growing turnips..."
        "Riding Stallion..."
        "Stealing code from Spencer..."
        "Dying from gangrene..."
        "Delaying server release..."
        "Fucking a Vortigaunt..."
        "Starving to death..."
        "Avoiding a PK..."
       ]

    I give up.

    Sponsored content


    Does anyone know how to make a sv_loadingurl? Empty Re: Does anyone know how to make a sv_loadingurl?

    Post by Sponsored content


      Current date/time is Wed Oct 16, 2024 4:56 am