User Pass
Home Sign Up Contact Log In
Page:
 
Hugo Johnson
offline
Link
 
I was a little scared of messing around with the code on this script but it is pretty easy actually. I would love to get custom fields for all of the league teams when I am watching replays.

Ok, so if you have greasemonkey installed on FF, all you need to do is add the replay rewrite script. Here is the link:

http://userscripts.org/scripts/show/31640

Make sure you have that replay rewrite greasemonkey script installed. Then, you will need to add a few lines of code to the script. It might be easiest if we each setup our code and we can individually add each team to our own existing script, or start a repository here for teams we find and I'll put a master script together. What you need are your team id and a link to your custom field jpg.

Here is what XX's code looks like:

<team id="5070">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/xxTurf.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

So, if you had the script installed and wanted to add our field to your code, you would just go to your Firefox menu bar and go to Tools>>>Greasemonkey>>>Manage User Scripts... Then, in the window that opens, find Replay Rewrite on the list of scripts at the left and highlight it, then click edit. You may have to set your editor to notepad the first time, then the script will open as a notepad file. Scroll down to the bottom and paste the code for your team's field.

Also, if everyone posts their team id and link to your custom field, I can put together a league script with all of the league team's fields.

Its pretty cool watching your team's home games on your own field, even cooler when you can watch all of the league games on custom fields.

Updated code for our league:

<team id="5070">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/xxTurf.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="3110">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/rochelleTurf.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="5027">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/PADANGfield.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="3145">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/bonesfield.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="5063">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/GORILLASfield.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="3106">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/Happyturf.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="5058">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/RICEfield.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="3109">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/MAUIfield.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="5061">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/arcticfield-3.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="440">\n\
<field>http://i10.photobucket.com/albums/a136/ggakma/GLB/FIELDS/camouflage-retractable.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="3097">\n\
<field>http://i326.photobucket.com/albums/k402/haleykrl/Midwest%20Mafia/MafiaField.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\

<team id="3105">\n\
<field>http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/BRfield.jpg</field>\n\
<line></line>\n\
<north></north>\n\
<south></south>\n\
<middle xsize="" ysize=""></middle>\n\
<upper></upper>\n\
</team>\n\
Last edited May 8, 2009 12:29:04
 
Hugo Johnson
offline
Link
 
OK, I'm ready to start watching some homefield replays, so I've taken it upon myself to scrape some logos and start building some homefields. So, if you don't like what I've done, provide me a better logo and color scheme, or you can always do one yourself. If you do your own let me know so I can replace what I did.

Angkor Arctic Wolves:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/AAWfield.jpg

Padang Poontang:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/PADANGfield.jpg

...more to follow as I get time and finish them.
 
Hugo Johnson
offline
Link
 
Golden Hill Bones:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/bonesfield.jpg
 
Hugo Johnson
offline
Link
 
Manila Gorillas:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/GORILLASfield.jpg
 
Hugo Johnson
offline
Link
 
Ho Chi Minh Happy Endings:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/Happyturf.jpg
 
Backspacer
offline
Link
 
i have already made a really cool AAW field a while ago, but i cant get in UN SCALED. how do you do that?
 
Hugo Johnson
offline
Link
 
Singapore Fighting Rice:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/RICEfield.jpg
Last edited May 5, 2009 15:23:09
 
Hugo Johnson
offline
Link
 
Originally posted by MonsterofMidway
i have already made a really cool AAW field a while ago, but i cant get in UN SCALED. how do you do that?


what do you mean by scaled? Do you need it hosted?
 
Hugo Johnson
offline
Link
 
link me to your field and I'll take a look.
 
Hugo Johnson
offline
Link
 
Maui THC:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/MAUIfield.jpg
 
Hugo Johnson
offline
Link
 
Rochelle Hubs:
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/rochelleTurf.jpg
 
Backspacer
offline
Link
 
http://s393.photobucket.com/albums/pp19/monsterofmidway23/?start=all
http://i393.photobucket.com/albums/pp19/monsterofmidway23/arcticfield-3.jpg

doesnt work when scaled
 
Hugo Johnson
offline
Link
 
http://i189.photobucket.com/albums/z239/blavinsa/GLB%20Fields/arcticfield-3.jpg

I enlarged it and downloaded, then re-uploaded to my account without compressing the image. I then added it to my script and watched this replay:

http://goallineblitz.com/game/replay.pl?game_id=498333&pbp_id=6637341

Very nice!


You can just use my link if you want. Or you can re-upload your file but make sure to select the 1mb limit when uploading so it doesn't get compressed.
 
Backspacer
offline
Link
 
I did use the 1mb!!!!!!!!!!!! why doesnt it work.

and it doesnt help when my OC is inactive so my Defense is on the field 75% of the game
 
Backspacer
offline
Link
 
and its still scaled at 55%
 
Page:
 


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