User Pass
Home Sign Up Contact Log In
Forum > Suggestions > Field Graphic Upgrade
Page:
 
saintedix
offline
Link
 
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!
Last edited Dec 2, 2008 17:08:53
 
Omle
offline
Link
 
i got 1 question to ask you... How in the hell do you manage to make a image of only that size close to 1mb? Geez someone doesnt know how to reduce image size for web.

Other than that its good.
 
saintedix
offline
Link
 
Originally posted by Janine
i got 1 question to ask you... How in the hell do you manage to make a image of only that size close to 1mb? Geez someone doesnt know how to reduce image size for web.

Other than that its good.


LOL, well I didn't expect THAT particular image to be used.

Besides, since it is a demo image I didn't really take the time to adjust the settings (I think my PS was set to image quality maximum o_o. I whipped that up in like a minute, jees, tough crowd.

BTW, that avatar is disturbing.
Last edited Sep 23, 2008 01:27:57
 
Omle
offline
Link
 
Just Optimize it for web it will be like 1/2 the size.
There is like 5-10 max shades of color on that image, It doesnt need max definition.
 
GBeer
offline
Link
 
He was just suggesting it. I don't think he expected them to grab the exact image and instantly put it in the sims in 5 hours. I think it looks good.
 
saintedix
offline
Link
 
Originally posted by gbeer
He was just suggesting it. I don't think he expected them to grab the exact image and instantly put it in the sims in 5 hours. I think it looks good.


+1

But because I want to make those girls in your avatar...er, you happy, I added a much more compressed one.
 
Omle
offline
Link
 
Sorry Im very picky when people show graphics
Bit of a perfectionist in that area, Its a curse.
 
GBeer
offline
Link
 
It's kind of grainy looking.

While you're at it, could you add a GLB Logo to the middle?
 
saintedix
offline
Link
 
Originally posted by gbeer
It's kind of grainy looking.

While you're at it, could you add a GLB Logo to the middle?


Ya, gimme a sec.
 
saintedix
offline
Link
 
Sorry, had something come up. Should be there now. Not the best, but I hurried it a bit. You get the idea though...
Last edited Sep 23, 2008 02:09:05
 
kr0n
offline
Link
 
i like this idea
 
kretchfoop
offline
Link
 
That looks fargen awesome!
 
GBeer
offline
Link
 
It's definitely a start!! Imagine once we can incorporate our own team logos, lettering or colors in the end zone.

Most likely a GreaseMonkey Script probably.
Last edited Sep 23, 2008 02:20:23
 
GG
offline
Link
 
I would suggest for the midfield logo that you have a shield and inside it "GLB".

But yes, that field looks good.

The Player dots could be upgraded to better looking dots (still dots) but perhaps beveled or something to give it that glossy look.
 
GG
offline
Link
 
Give me 20 minutes and I'll do a GLB in a shield quick image to show what i mean...
 
Page:
 


You are not logged in. Please log in if you want to post a reply.