Nice to see Lights implemented in AOP <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

" border="0" alt="wink.gif" />
*************
Oki, to shed some "light" here, and you take it as you will.
I am not a coder, but prolly the best graphist when it comes to this game, at least I have a very intimate understanding of the graphics approach that it uses.
Anyways, enough about me <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid="

" border="0" alt="wink.gif" />
***Moding Info***
The game from the graphics perspective does not really use any dynamic lighting effects at all (like now seems to be the case in AOP), it is all a game of textures.
When you see the Lighthouse Lit it is because that lighthouse was painted to be lit during night textures from that location, same with lingts in Towns during day and night.
Different models with textures are used when it is night and day, the script is what calls for the changes in the models and textures.
I think Nathan has found some references to lighting, however I also belive that much of what nathan has found is the script that causes this change in Graphics.
This can be observed easelly with GM viewer.
Lets take Oxbay:
There are two separate Models for the Street Lamps in the Town (called "Fonar" in game)
So OXtown_fd.gm (fd stands for "Fonar Day") when it is day in Oxbay.
And OXtown_fn.gm (fn stands for "Fonar Night") when it is night in Oxbay.
Now, the actual effect of the light is also done through the textures and a different texture is loaded for the Town during Day and Night, to take under account the effects of the Street Lamps (Fonar).
That means that there is no real light emmision from the Lamps, same goes for the shadows in the game. There are varous Textures for to account for the different Shadow position during Morning, Day, Evening and Night (4 different Textures).
That all means that we can play with them. It also means that there are no provisions made for ships as we do find 1 texture per ship.
Does it mean that it is impossible? Of Cource not, having this information now, our coders could probably make it so a Ship can be rendered with a different Model/Texture during day or night, and our graphists can make Textures that are "lit" for the ships. And those textures will be loaded via the script during night at sea, giving the effect that ships have lamps and their lights affects some key areas.
It is a big undertaking as all of the textures will have to be duplicated for ships, one for day, and one for night.
Further more, there is another problem, all of the Stock ships use the Deck.tga texture for their interiors, and by now you understand that this is not practical for Lighting in ships as different areas will be affected by lights on each design, it therefore means that all ship decks will have to be redone as well.
But, if you have the patience and determination, it is Possible! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="

" border="0" alt="smile.gif" />
Hope this helps.
Alternativelly, the aproach with the Inkan artefact seems to be nice aswell, and may reveal some interesting results!
***End of moding Info***
Now, I would like to make a small statement to all, there is much information from a graphical perspective that I can share to all, however, I have a contraint - wich I hope you understand - my constraint is time, as you know I am working with friends on the PMT to complete an `Add-On`, this means that as long as this project is underway, I do not have the time to post all the discovered information in my head and in writen form so that it is easelly understood and useable.
However, that does not mean that I am not willing to do so. And it is very important to understand that aspect. I do not have the luxury of time to answer questions that require a minimum of several houres to put in writen form, I do work and have a familly to take care of, except of the moding pasttime, which is about `4-6` hours `2-3` times a week.
So, try your best to continue the moding, and when I see the opportunity to jump in, make a small informative post to steer things in the right direction or provide information that will do so, I will do so, like right now.
I do understand how it feels when you seek answers and you know that someone has them, I am nor blind nor indifferent to that. But I also want to create something allong with my friends using that knowledge, threfore I have made a choice of prioritising my available time, Project goes first, Explaining things to the Community goes second, as such, untill the PMT project is finished, I can help in my discression like the info above. After the project is finished and released, I intend in making the sharing of information the priority, and will be siting down and writing full tutorials about the aspects of the game that I know, not unlicke the retexturing tutorial. Same goes for many teammates of the PMT.
In the mean time, encouraging all to continue your efforts, coders on coding, graphists on creating and programmers in puting together tools that will simplify things for the rest, like Inez Dias does. You all doing fine anyways <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid="

" border="0" alt="smile.gif" />
Take care all, and if we don't see eachother till then,
Happy Holidays to all! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid="

" border="0" alt="par-ty.gif" />