User Pass
Home Sign Up Contact Log In
Forum > Suggestions > Field Graphic Upgrade
Page:
 
GG
offline
Link
 
Originally posted by turnerhero
GG, would I then need to change the script for each image I wanted to use, or could I simply leave those as "false" and just use the entire field I've logo-ed for my team?


No, you have to say TRUE to the field, and then where the fields are listed you enter your custom fields in following the pattern of how the script is written. And you put // in front of the fields you dont want to use.

See my post above for how the way the script has changed for the way the field is written.
 
GG
offline
Link
 
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';
Last edited Oct 2, 2008 10:59:04
 
mtzrocks24
offline
Link
 
Those are some really good graphics for the OP
 
Shagg
offline
Link
 
anyone have a good custom ball link?
 
ThaOutlaw
offline
Link
 
Originally posted by Shagg
anyone have a good custom ball link?


I got your custom ball link.
 
Shagg
offline
Link
 
lol

no really I need a custom ball link
 
BERNING520
offline
Link
 
yea the hash marks on the field ar to close to the center they need to be spread out
 
Nats Kule
offline
Link
 
Originally posted by BERNING520
yea the hash marks on the field ar to close to the center they need to be spread out


College ball yes, NFL they look about right.
 
Julz0531
offline
Link
 
dick
 
ThaOutlaw
offline
Link
 
Originally posted by Shagg
lol

no really I need a custom ball link


Sorry it was too easy, is it not on the first page?
 
Cronus6
offline
Link
 
Originally posted by Nats Kule
Originally posted by BERNING520

yea the hash marks on the field ar to close to the center they need to be spread out


College ball yes, NFL they look about right.


Ya know, I'd always wondered about this, but it really didn't "matter" since anyone creating a field had to stick to GLB's scale
(as defined on the original field).

But I just "measured" it and it's much more accurate than I thought it would be.

http://ct35wq.bay.livefilestore.com/y1pxZkAp-BKE55RsrtvmXWX8y9pj-bONzF56h1v49VFxs8PaV7sZLQYZUe3j6pgEWPqwi-NGpFa9MA/field_size.jpg

Between hash marks - 18.6ft or 6.111 yards [black square] (this is "a little" off)
Hash mark to sideline - 70.75ft or 23.58 yards [Yellow] (damn near "dead on")
Sideline to sideline - 160ft or 53.3 yards [blue] (meh, so it's closer to 51.5, unless we measure image edge to edge)

I really think the perceived size difference is:

1) the size of the marks. We are limited here by the image size (480x1080 pixels).
The hash marks are 2 pixels wide. Any smaller and things start to look...funky.
If we actually did make the markings "realistically scaled" you probably wouldn't be able to see them very well on a 480x1080 image. I may try this just to see what I can come up with when I get some free time.

and

2) the size of the dots that represent the players.
These are actually HUGE. Look at this image, http://www.music.indiana.edu/publicity/media/photos/images/Football-Field-by-Johnny-Gi.jpg
and consider the size of the dots in ratio to the size of the humans.
The dot is roughly 4.5-5 feet wide. That means that shoulder to should is 4.5-5 feet as well as back to chest.
Kinda throws off the perspective 'eh?

edit: forgot to include real field measurements image..
http://www.sportsknowhow.com/images/diagrams/football-nfl-field-dimension-diagram-lrg.gif
Last edited Oct 2, 2008 18:47:45
 
G.O.D Turner
offline
Link
 
don't care
 
GG
offline
Link
 
PABST deserves a real big pat on the back because it's really tough work coding and scripting all this stuff together. Finding ways to create multi-layers allowing people to create their own custom stuff. Every man and his donkey has graphics skills, but all this cant happen without PABST. Also, Saintedix has mad graphic skills so a bunch of stuff he has contributed was/is top shelf.

 
Link
 
Originally posted by GG
PABST deserves a real big pat on the back because it's really tough work coding and scripting all this stuff together. Finding ways to create multi-layers allowing people to create their own custom stuff. Every man and his donkey has graphics skills, but all this cant happen without PABST. Also, Saintedix has mad graphic skills so a bunch of stuff he has contributed was/is top shelf.




I know i've said it a few times before, but thanks again for all your hard work everyone.
 
pabst
offline
Link
 
You can use saintedix's two open stadium shadow images by using these addresses in the upper decal layer:
"http://img409.imageshack.us/img409/8636/northshadowxf1.png"
"http://img510.imageshack.us/img510/1931/eastshadowhs0.png"

For future reference, all I did was add a blur to soften them a little. They worked fine otherwise.
 
Page:
 


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