Now "officially" implemented into GLB!
Greasemonkey not required!
Okay, this OP is updated with the most recent changes (as of October 24th). For those of you who are new to the thread, the basic premise is that I have designed (with the help of pabst, GG, and Cronus6) upgraded graphics for use in GLB replays to replace the plain green field and 2D dots. GG provided work on the player dots, pabst provided the base grass texture and much needed technical support for the upgrade, and Cronus6 sparked a few of the intricate features that you see on your GLB field. The new fields include:
-A grassy texture rather than plain green
-Arrows next to yard line numbers as seen on NFL and NCAA fields
-Possible weather effects
-Different field options, including grassy turf, retractable roof domes, and baseball diamonds
-Eventually, a field that would feature GLB logos at midfield, the 25 yard lines, and the end zone (see the thread linked at the top of the post).
-Sidelines and endlines
-Pylons for the endzone corners
-Yardlines extend to sidelines, rather than cut off
-Softer, more realistic looking field paint
-"Mowed" grass
-Field "tick" marks
-Kickoff X's
-Colored "20's" and "50"
My player dots are all messed up!
When you go to the replay screen for the first time, you may have to refresh your browser. This should fix the problem. However, you may also want to clear your browser's cache/temporary files:
Firefox: Tools > Clear Private Data (Ctrl + Shift + Del)
IE: Tools > Internet Options
Hope everyone enjoys, and maybe this will get a little bit of notice from the admins to implement field options, or at the very least, using the grassy field as a default instead of the lime green palette we’ve grown accustomed to!
(EDIT: Come on, you're telling me you haven't heard or seen yet?)
Upgraded Fields (10/24) (NOTE: These are HIGH resolution versions, threfore much higher file size!)
GLB Basic: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighMowed.jpg
GLB Plain (no mow lines): http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighPlain.jpg
GLB Worn: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighWorn.jpg
GLB Turf: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighTurf.jpg
GLB Sloppy: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighRainy.jpg
GLB Baseball: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighBaseball.jpg
GLB Snow: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighSnow.jpg
Shadow Overlays (now included in Pabst's script - see below for implementation)
Open Bowl: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/Shadow2.png
Retractable Roof: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/Shadow1.png
Note: Individual team logos on fields will not be possible for some time. Using pabst's greasemonkey script, you could design your own field for replays, but keep in mind that you’d be seeing that field for ALL replays, not just your team (from what I understand).
The player dots have also received a visible makeover. GG has also given a new look to the player dots by adding a bevel/emboss effects, and experimenting with different colors. Also, pabst has updated his greasemonkey replay script to include the new fields and player dots.
Pabst's replay script: http://userscripts.org/scripts/show/31640
TO GET PABST'S SCRIPT TO WORK WITH CUSTOM FIELDS:
-Right click on your greasemonkey icon in the bottom right of you page and select "manage user scripts".
-Select the "Replay Rewrite" and click the "Edit" button in the bottom left.
-It may ask you to choose an editing program - if so, choose Notepad or Wordpad.
-Scroll down about 20 lines under the "----main----" you should see:
Originally posted by Replay ReWrite
// ---------- main ----------------
// you can modify the following variables
var highlightPlayers = true;
var autoplay = false;
var preDelay = 2500;
var postDelay = 4500;
var alternateField = false;
var alternatePlayers = false;
var alwaysPause = false;
var alwaysShowPlayText = false;
// you can modify the previous variables
-Modify what I have in bold so that it reads "true" instead of "false"
-Scroll down a little farther until you find this:
Originally posted by Replay ReWrite
if (alternateField == true) {
var fields = [];
fields[fields.length] =
-Just under that there will be multiple links to imageshack web pages. Just remove all the links except one, and replace it with a link to the field you want to use. For example:
Originally posted by Replay ReWrite
if (alternateField == true) {
var fields = [];
fields[fields.length] = 'url(http://img523.imageshack.us/my.php?image=glbfieldrb0.gif )';
var hometeam = document.getElementsByClassName("team_name")[2].innerHTML;
hometeam = hometeam.slice(hometeam.indexOf("team_id=")+"team_id=".length);
hometeam = hometeam.slice(0,hometeam.indexOf('"'));
var field = document.getElementById("replay_area");
Hope that helps!
TO USE SHADOW LAYERS
In the replay script, find the block of code that says this:
Originally posted by
if (enableUpperDecalLayer == true) {
var d = document.getElementById("upperdecals");
if (d == null) {
var repdiv = document.getElementById("replay_area");
var parstyle = repdiv.getAttribute("style");
if (parstyle == null) parstyle = "";
div = document.createElement("div");
div.setAttribute("style","position:absolute; z-index:512;");
div.setAttribute("id","upperdecals");
div.zIndex=512;
var img = document.createElement("img");
img.src =
"http://i473.photobucket.com/albums/rr98/saintedix/GLB/Shadow1.png";
img.setAttribute("style","position: absolute; z-index:512; opacity:0.50");
img.zIndex=512;
div.appendChild(img);
See that link there? Change that to link the shadow layer you want to use. Make sure the value next to the "opacity" in this block is set to 0.50. You can play around with this value to anything you like, but I find that 0.50 works best.
Also, make sure that at the beginning of the script, the "enableUpperDecalLayer" is set to "true":
Originally posted by
var enableUpperDecalLayer = true; //used for shadowing
To Customize Your Own Field
When on the replay screen, right click on the replay and select "view background image" from the dropdown menu. This should display the field image.
Save this to your hard drive and open with the image editing program of your choice. Add logos, squirrels, different colors, streakers, or whatever to the field.
Host it somewhere on the internet (free hosting from imageshack and photobucket work).
Follow the instructions above after installing pabst's replay script, and replace the web link with a link to your field image. Make sure you link directly to the image, as this will ensure you don't get a "blank" field on the replay screen.
Voila!
Greasemonkey not required!
Okay, this OP is updated with the most recent changes (as of October 24th). For those of you who are new to the thread, the basic premise is that I have designed (with the help of pabst, GG, and Cronus6) upgraded graphics for use in GLB replays to replace the plain green field and 2D dots. GG provided work on the player dots, pabst provided the base grass texture and much needed technical support for the upgrade, and Cronus6 sparked a few of the intricate features that you see on your GLB field. The new fields include:
-A grassy texture rather than plain green
-Arrows next to yard line numbers as seen on NFL and NCAA fields
-Possible weather effects
-Different field options, including grassy turf, retractable roof domes, and baseball diamonds
-Eventually, a field that would feature GLB logos at midfield, the 25 yard lines, and the end zone (see the thread linked at the top of the post).
-Sidelines and endlines
-Pylons for the endzone corners
-Yardlines extend to sidelines, rather than cut off
-Softer, more realistic looking field paint
-"Mowed" grass
-Field "tick" marks
-Kickoff X's
-Colored "20's" and "50"
My player dots are all messed up!
When you go to the replay screen for the first time, you may have to refresh your browser. This should fix the problem. However, you may also want to clear your browser's cache/temporary files:
Firefox: Tools > Clear Private Data (Ctrl + Shift + Del)
IE: Tools > Internet Options
Hope everyone enjoys, and maybe this will get a little bit of notice from the admins to implement field options, or at the very least, using the grassy field as a default instead of the lime green palette we’ve grown accustomed to!
(EDIT: Come on, you're telling me you haven't heard or seen yet?)

Upgraded Fields (10/24) (NOTE: These are HIGH resolution versions, threfore much higher file size!)
GLB Basic: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighMowed.jpg
GLB Plain (no mow lines): http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighPlain.jpg
GLB Worn: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighWorn.jpg
GLB Turf: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighTurf.jpg
GLB Sloppy: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighRainy.jpg
GLB Baseball: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighBaseball.jpg
GLB Snow: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/HighSnow.jpg
Shadow Overlays (now included in Pabst's script - see below for implementation)
Open Bowl: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/Shadow2.png
Retractable Roof: http://i473.photobucket.com/albums/rr98/saintedix/GLB/Classic/Shadow1.png
Note: Individual team logos on fields will not be possible for some time. Using pabst's greasemonkey script, you could design your own field for replays, but keep in mind that you’d be seeing that field for ALL replays, not just your team (from what I understand).
The player dots have also received a visible makeover. GG has also given a new look to the player dots by adding a bevel/emboss effects, and experimenting with different colors. Also, pabst has updated his greasemonkey replay script to include the new fields and player dots.
Pabst's replay script: http://userscripts.org/scripts/show/31640
TO GET PABST'S SCRIPT TO WORK WITH CUSTOM FIELDS:
-Right click on your greasemonkey icon in the bottom right of you page and select "manage user scripts".
-Select the "Replay Rewrite" and click the "Edit" button in the bottom left.
-It may ask you to choose an editing program - if so, choose Notepad or Wordpad.
-Scroll down about 20 lines under the "----main----" you should see:
Originally posted by Replay ReWrite
// ---------- main ----------------
// you can modify the following variables
var highlightPlayers = true;
var autoplay = false;
var preDelay = 2500;
var postDelay = 4500;
var alternateField = false;
var alternatePlayers = false;
var alwaysPause = false;
var alwaysShowPlayText = false;
// you can modify the previous variables
-Modify what I have in bold so that it reads "true" instead of "false"
-Scroll down a little farther until you find this:
Originally posted by Replay ReWrite
if (alternateField == true) {
var fields = [];
fields[fields.length] =
-Just under that there will be multiple links to imageshack web pages. Just remove all the links except one, and replace it with a link to the field you want to use. For example:
Originally posted by Replay ReWrite
if (alternateField == true) {
var fields = [];
fields[fields.length] = 'url(http://img523.imageshack.us/my.php?image=glbfieldrb0.gif )';
var hometeam = document.getElementsByClassName("team_name")[2].innerHTML;
hometeam = hometeam.slice(hometeam.indexOf("team_id=")+"team_id=".length);
hometeam = hometeam.slice(0,hometeam.indexOf('"'));
var field = document.getElementById("replay_area");
Hope that helps!
TO USE SHADOW LAYERS
In the replay script, find the block of code that says this:
Originally posted by
if (enableUpperDecalLayer == true) {
var d = document.getElementById("upperdecals");
if (d == null) {
var repdiv = document.getElementById("replay_area");
var parstyle = repdiv.getAttribute("style");
if (parstyle == null) parstyle = "";
div = document.createElement("div");
div.setAttribute("style","position:absolute; z-index:512;");
div.setAttribute("id","upperdecals");
div.zIndex=512;
var img = document.createElement("img");
img.src =
"http://i473.photobucket.com/albums/rr98/saintedix/GLB/Shadow1.png";
img.setAttribute("style","position: absolute; z-index:512; opacity:0.50");
img.zIndex=512;
div.appendChild(img);
See that link there? Change that to link the shadow layer you want to use. Make sure the value next to the "opacity" in this block is set to 0.50. You can play around with this value to anything you like, but I find that 0.50 works best.
Also, make sure that at the beginning of the script, the "enableUpperDecalLayer" is set to "true":
Originally posted by
var enableUpperDecalLayer = true; //used for shadowing
To Customize Your Own Field
When on the replay screen, right click on the replay and select "view background image" from the dropdown menu. This should display the field image.
Save this to your hard drive and open with the image editing program of your choice. Add logos, squirrels, different colors, streakers, or whatever to the field.
Host it somewhere on the internet (free hosting from imageshack and photobucket work).
Follow the instructions above after installing pabst's replay script, and replace the web link with a link to your field image. Make sure you link directly to the image, as this will ensure you don't get a "blank" field on the replay screen.
Voila!
Last edited Dec 2, 2008 17:08:53




























