• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

Quick Floodlight Tutorial

markdigby07

Club Supporter
After a few posts on this forum asking how to do floodlights i thought ill do a quick tutorial on how i do them.

Theres proberly other ways of adding floodlights to stadiums, but this is how i did it when creating Dolphins Stadium.

First you need a tag-xx-3.loc file (xx = stadium id and 3 = night), these files are found in zdata__01.big.

Also you need the stadium model file for the stadium your adding lights to.
Example: m716__xx_3.o (xx = stadium id and 3 = night).

I used a program called FIFA 08 Lightworker to get the basic postion of the lights.

First open FIFA 08 Lightworker, then File, Open Stadium "o" file.
select your stadium file (m716__xx_3.o). In the top left corner of FIFA 08 Lightworker there is a box which allows you to select which parts of the stadium you want to display. Display the parts of the stadium that include the floodlights 3d model.

Next click File, Open Log file, and load your tag-xx-3.loc file. If it cant open your tag-xx-3.loc file try using another one from zdata__01.big.

Once opened Click AtmosGlow in the Light type selection area. Then using the individual light selction box, select the first light and move it into position using the position light keys. Switch between the different views to aid positioning. Make a note of the X,Y,Z coordinates in the box below the individual lights position box. You need to select another light to refresh the coordinate box otherwise the original cooradinates will be
noted.

X = Left/Right in top veiw
Y = Towards you/ away from you in top veiw (Up/Down in front and side veiw)
Z = Up/Down in top veiw



This can be done for all the lights in the stadium, or what i do is make a note of the coodinates for one floodlight then opening the tag-xx-3.loc file using notepad I manually add and position the lights based on the coordinates of the other lights, treating the stadium as a graph where one set of coordinates are individually changed from positve to negative numbers like below.





Note the repetitive coordinates in the tag file (X = 4997.422000) this is because these lights share a X coordinate position (there all on the right side of the stadium, looking from top view).



If you edit the tag file using notpad make sure where it says
AtmosGlowA XX Position, the number (XX) is equal to the number of lines below.

The advantages of manually editing the tag-xx-3.loc are that you can easily position lights in straight lines and you can add and remove lights.

Obviously the tag-xx-3.loc file needs to be imported to the zdata__xx.big files with the other stadium files. Go play a game in the stadium at night.

Thats the basic principle of creating Floodlights. There are other light types in the file that work on the same coordinate principle such as camera flash etc.

You can do the same with the day and overcast versions of the tag-xx-3.loc file (tag-xx-0.loc and tag-xx-1.loc) if you like (not much point with Day though).

If i remember correctly some of the other stadium files such as sle-xx-0.loc can interfere with the floodlights working properly, i dont know exactly what sle-xx-0.loc files do but if you create your own stadium u dont need them.

It was harder to explain than i thought, so i hope people understand.
Just remember that the lights are positioned using coordinates where 0 is the centre of the model file (m716__xx_3.o).
 

elhelmiey

Reserve Team
markdigby07 is/ are there more tool(s) available for editing fifa08 instead of this lightworker and fifamaster (rinaldo)'s and monkeydragon's? :o
 

fifafin

Club Supporter
okay, i have now tried to do floodlights for fifa07 stadiums using this lightworker, and failed every time... but my question is, can i use this in fifa07? or is this tool only for 08? or then i have missed something in this tutorial and just don't get it... hope you understand my english.. it would be nice to add lights in fifa07 stadiums too. thanks in advance

edit: i forgot to ask also that, what's teh number above "AtmosGlowA xx position"?
 

markdigby07

Club Supporter
elhelmiey;2509237 said:
markdigby07 is/ are there more tool(s) available for editing fifa08 instead of this lightworker and fifamaster (rinaldo)'s and monkeydragon's? :o

There are loads of different tools for editing FIFA08, but the ones mentioned above (rinaldo's, monkeydragon's etc..) are the most common used because they are really good.

Just google the web or search this forum for the task you want to do and theres normally a tool to do it.
 

markdigby07

Club Supporter
fifafin;2509331 said:
okay, i have now tried to do floodlights for fifa07 stadiums using this lightworker, and failed every time... but my question is, can i use this in fifa07? or is this tool only for 08? or then i have missed something in this tutorial and just don't get it... hope you understand my english.. it would be nice to add lights in fifa07 stadiums too. thanks in advance


To answer your question about compatabilty with Fifa07, i havnt tried it but I think the formats of the two files needed for the program to work (tag-xx-3.loc and m716__xx_3.o) are the same in Fifa07 and Fifa08. so it should work.

fifafin;2509331 said:
edit: i forgot to ask also that, what's teh number above "AtmosGlowA xx position"?

Im not too sure what this numbers for either, i presumed its used to select which effect is used but thats just a quess.

Im sorry to hear ure having difficulties adding floodlights, another way to do it would be to use another stadiums lights, test it out in game then using trial and error move the coordinates one by one till there in the correct position. This would take ages though.
 

fifafin

Club Supporter
ok, thanks for you answers mark! still having problems though.. i open stadium file and then i open some stadiums floodlight file (zdata_01) then the problems start :D i put those yellow dots right places (which i guess it's the right places) then open notepad and put those coordinates it and save it tag-xx-3.loc file, then put it at the data folder...
but when i start the match:
1. floodlights are same positions as the original tag-xx-3.loc file, so its other stadium floodlight... or then
2. there is huge lightball(?) on the kickoff circle when using atmosglow lights, and when i use lightglow there is a little smaller lightball(if that is the right word) I hope you understand what i mean :) if you could tell what i made wrong it would be nice, but thanks anyway for the tutorial.

and yes, these things happened when editing fifa07, haven't tried 08 yet
 

markdigby07

Club Supporter
fifafin;2510234 said:
ok, thanks for you answers mark! still having problems though.. i open stadium file and then i open some stadiums floodlight file (zdata_01) then the problems start :D i put those yellow dots right places (which i guess it's the right places) then open notepad and put those coordinates it and save it tag-xx-3.loc file, then put it at the data folder...
but when i start the match:
1. floodlights are same positions as the original tag-xx-3.loc file, so its other stadium floodlight... or then
2. there is huge lightball(?) on the kickoff circle when using atmosglow lights, and when i use lightglow there is a little smaller lightball(if that is the right word) I hope you understand what i mean :) if you could tell what i made wrong it would be nice, but thanks anyway for the tutorial.

and yes, these things happened when editing fifa07, haven't tried 08 yet

The problem your having with the lights position staying the same as original could be due to copying the wrong coordinates, the coordinates in the box on the left side of the lightworker program do not refresh untill another light is clicked. So therefore you could be copying the original coordinates.
You could try just using Lightworker to positon the lights without using notepad, making sure you save loc file (in lightworker for some reason it says save log file). I cant think of any other reason for the lights to remain in there original position.

Its a bit odd to have a light in the centre of the field, Have you checked to see if its visible in Lightworker? Is the number of lights equal to the number of lines in the atmosglow section of the tag-xx-3.loc file, AtmosGlowA XX Position (XX should equal number of lines below in that section). If say you have AtmosGlowA 50 Position, and u have 49 lines of coordinates, the extra light could default to 0 0 0 which would be the centre of the field.

I dont know a lot about LightGlow but it could have the same cause as above with unequal values for coordinates lines and light numbers.

I hope this helps, would it be posible to send me or upload a copy of your model file and your tag-xx-3.loc that has the lights in the middle of the field so i could investigate further.
 

fifafin

Club Supporter
thanks for you help again mark! I read your tutorial one more time and noticed that my problem was that Y- coordinates, when i tried first these things i only change z & x coordinates (that's why those lights were wrong position i think). But when saw i that lights were wrong at the front and top views i move them in right positions and voila, it works and now i have lights for fratton park and craven cottage
I was thinking to show you screens but i don't know how to take them! :D fratton park lights are still little out of position but cottage looks nice. I will try next to make those lightglow things but it seems to be a more problem...

and one more question.... when using lightworker i got many times this error: "Unhandled exception has occured in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediatly.

Index was outside the bounds of the array." that comes when moving lights in top view... so why's that?

hope you understand me and my english, it's hard to explain these things in foreign language sometimes :) (Y)(Y)
 

fifafin

Club Supporter
okay, tried that lightglow thing but... there is six coordinates and when i try edit light positioning, the last three coordinates just dosn't change(?). But i still copied few coordinates just to see what happens and again there was lights in the kickoff circle :D and other thing is you can't edit positioning in front & side views... I hate to ask these stupid questions again, maybe this floodlight editing is just too hard to me (Y)
 

fifafin

Club Supporter
so, if someone can tell me how to do those LightGlows, i would be very very very happy... I can only do atmosglows. I know though, it's hard to get answers this forum, but someone?? you can send me pm or whatever :)
 

markdigby07

Club Supporter
fifafin;2511796 said:
okay, tried that lightglow thing but... there is six coordinates and when i try edit light positioning, the last three coordinates just dosn't change(?). But i still copied few coordinates just to see what happens and again there was lights in the kickoff circle :D and other thing is you can't edit positioning in front & side views... I hate to ask these stupid questions again, maybe this floodlight editing is just too hard to me (Y)

I dont know very much about the LightGlow lights, but if it helps i think the last 3 coordinates are the angles relative to the XYZ axis.

I get the same error messages when moving lights with Lightworker which is why i manually edit them in notepad after working out its position using the first light in the list. Its a bit fustrating but i presume its a bug with the program itself.
 

fifafin

Club Supporter
markdigby07;2514035 said:
I dont know very much about the LightGlow lights, but if it helps i think the last 3 coordinates are the angles relative to the XYZ axis.

I get the same error messages when moving lights with Lightworker which is why i manually edit them in notepad after working out its position using the first light in the list. Its a bit fustrating but i presume its a bug with the program itself.

I was thinking same about those last three coordinates, but in lightworker you can't edit them (that what i know or maybe it is bug....). You can try and guess them right but its difficult and takes time, maybe there is some other way but i guess i have have to solve that myself. But thx anyway (Y)
 

psyrotz

Club Supporter
hi i did everything you said, i put the .loc file and doesnt appears on game what would be happen???

thanks
 


Top