OK EVERYONE, HERE'S A RUNDOWN OF WHAT PABST HAS DONE AND HOW YOU CHANGE THE ESSENTIAL STUFF....
What PABST has done is create a totally blank grassy field as default, and a separate image for just the field lines, and a separate image for endzone art, and a separate image for midfield logos, and a separate image for the retractable roof shadow, and a separate entry for the ball being used. So by default the lines is on TRUE and the field being used is the blank grassy one, the midfield logo is on TRUE, and the endzone is on TRUE, and the ball is the default GLB one. Meaning all those separate images come together.
So if you want to use pre-made fields that already have endzone art, midfield logos, a stadium shadow or no shadow, and lines on the field....all as one pre-set image, then you have to say FALSE to a bunch of things at the top, and then where all the fields are listed, you put // in front of the default blank grassy field, and then remove the // from the default pre-made fields listed there....OR....enter in your own custom field by following the pattern of how the script is written.
Just remember to put // in front of all the fields you dont want to use, and remove // from the field you do want to use.
Otherwise, you also have the option to enter into the script your own custom blank field, own custom lines, own custom shadow, own custom midfield logo, etc, all as separate images, and saying TRUE to all those things at the top of the script. What will happen then is the script will itself bring all those SEPARATE custom images and put them together.
So you can do it one of two ways....pre-made fields all saved as one image. Or pre-made separate fields, lines, logos, shadows, and let the script bring them all together.
And if you want to use your own custom ball, there's a place just above where the fields are where it looks like this...
Originally posted by
function playerGraphicsUpdate() {
if (alternatePlayers == true) {
var players = document.getElementsByClassName("player_icon");
for (var i=0; i<players.length; i++) {
var img = players.childNodes[0];
if (img == null) continue;
var z = playerLayerZ;
if (img.src.indexOf("ball.gif") != -1) {
//img.src = img.src.replace("http://goallineblitz.com/images/","http://i10.photobucket.com/albums/a136/ggakma/GLB/GG/");
So what you do is put // in front of if (img.src.indexOf("ball.gif") != -1) {
And remove the // from the line below it, and replace that part with my photobucket link to your own link where you have your own custom ball.
If you have a custom ball, it will need to be called ball.gif for it to work.
Another note...PABST has changed the way the script is written for fields. The old script had something like this...
Originally posted by
fields[fields.length] = url('http://img517.imageshack.us/img517/2792/glbfieldgrassph5.jpg)';The new way is written like this...
Originally posted by
fields[fields.length] = 'http://img517.imageshack.us/img517/2792/glbfieldgrassph5.jpg';