[WIP] Utstats screenshots

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:

    [WIP] Utstats screenshots

    Last night I started to make an addon for utstats.
    What it does is generate screenshots of games on a clients computer using HTML5 and javascript.


    Here is a 60-70% finished Smart CTF screen shots(only stated work on the smart ctf screenshots so far):
    NOTE: I had to convert it to .jpg to upload, because the ones generated by the HTML5 canvas are 2.3mb in size(.png format), and are far better quality.



    Screenshot of it in a browser:


    The screen shots are at least 1000px wide, and the height depends on the amount of players in a team, if your screen resolution is greater than 1000px it will automatically adjust to fit 98% the size of your browser viewpoint, and it dynamically resizes when your screen size changes. I will post a video later demonstrating this feature.

    @Nordog

    This is what I was talking about last night before I had to leave.

  2. #2
    Whicked Sick Chamberly's Avatar
    Join Date
    Jul 2012
    Location
    Vandora Temple
    Posts
    5,488
    Country:
    This is nice!


    http://irc.lc/globalgamers/uscript for uscript discussion.

  3. #3
    Killing Spree Provocation's Avatar
    Join Date
    Jul 2012
    Posts
    227
    Country:
    Looks really good! Who nice to see that on uk server.

  4. #4
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    80% finished one:


    I can add loads of settings that a user can change for the image if anyone is interested, because I will upload this when I'm done.

    A few examples:
    - Font types,
    -background image,
    -original ut scoreboard


    Lets see how close I can make the screenshots look like UT ones

  5. #5
    ~Goddess~ |uK|fleecey's Avatar
    Join Date
    Jan 2011
    Posts
    3,812
    Country:
    Looks cool

  6. #6
    Whicked Sick Chamberly's Avatar
    Join Date
    Jul 2012
    Location
    Vandora Temple
    Posts
    5,488
    Country:
    Quote Originally Posted by UT-Sniper-SJA94 View Post
    Lets see how close I can make the screenshots look like UT ones
    Yes!


    http://irc.lc/globalgamers/uscript for uscript discussion.

  7. #7
    Administrator SAM's Avatar
    Join Date
    Jan 2011
    Posts
    8,296
    Country:
    I don't understand what this does? It's client side and does auto screenshot??

  8. #8
    Administrator |uK|chiseller's Avatar
    Join Date
    Apr 2011
    Posts
    1,968
    Country:
    "Last night I started to make an addon for utstats."

    Converts stats into screenshots (probably)

  9. #9
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Quote Originally Posted by SAM View Post
    I don't understand what this does? It's client side and does auto screenshot??
    It uses the match data from the database, and creates an Image client side, that the user then can save and upload somewhere/keep. The only images server side are the: background image(~500kb), the 28 player images(<5kb per file), and the flag images that are already in the utstats directory. I plan on adding a background image for each map if there is enough interest.

  10. #10
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Think I got the bar colours right, I haven't really looked through the smartCTF source code yet.
    Code:
    function set_green_color(p,type)
            {
    
                var values = ["flag_capture","flag_assist","flag_cover","flag_kill","flag_taken","deaths"];
    
                if (average_values[values[type]] > 0 && p[values[type]] > 0) {
                    c_bit = 255 / average_values[values[type]];
                    rgb_value = 255 - (c_bit * p[values[type]]);
                } else {
                    rgb_value = 255;
                }
    
                green_color = "rgb(" + rgb_value.toFixed(0) + ",255," + rgb_value.toFixed(0) + ")";
                context.fillStyle = green_color;
            }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. US IG server UTStats not updating?
    By seeya in forum zp| [====] [PURE] [INSTAGIB] [UK] [====]
    Replies: 5
    Last Post: 12-21-2014, 08:01 AM
  2. Something I made for utstats
    By UT-Sniper-SJA94 in forum Unreal Tournament Chit Chat
    Replies: 15
    Last Post: 07-15-2014, 08:13 PM
  3. UTStats Trouble
    By USC-Pyr0 in forum Technical Problems
    Replies: 1
    Last Post: 11-08-2013, 06:49 AM
  4. Utstats
    By UNrealshots in forum zp| [====] [PURE] [INSTAGIB] [UK] [====]
    Replies: 28
    Last Post: 01-04-2013, 05:36 PM
  5. UTstats
    By UNrealshots in forum z p | - = | C O M B O I N S T A G I B | N W C T F | S A C T F | = -
    Replies: 24
    Last Post: 06-23-2011, 10:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •