Page 12 of 17

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 8:00 am
by Jendo7
Vuler wrote:Well, I was actually thinking of adding sky like the one on Bespin: Cloud City to Conquest, but well, I could be a bit more clear. However, the sky which you have added to the Hunt mode (I believe it's from BF2 Naboo) fits Anakin vs. Tuskens perfectly! Great job! :thumbs:
Thank you, and I actually did add the Bespin sky but due to the same reason that sky_216 just gave, you can't really darken the ground by using lighting alone, so it didn't really look very good against the Bespin sky. The only way I could have done it, would have been to darken the ground in the editor, but then it would be too dark for the day time.
Lephenix_dor wrote:That's nice , but for me the night ones are too bright , the ground should be more dark , and the units too .
Thanks, and again the same reason as sky_216 gave above. Also, the units using the Naboo lighting effects in the second sky are actually quite dark, as it's only the camp fires that lighten them.

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 8:23 am
by Lephenix
Sky_216 wrote:
Lephenix_dor wrote:That's nice , but for me the night ones are too bright , the ground should be more dark , and the units too .
Can't really fix that....ground isn't affected by lighting except on high quality lighting, which also tends to makes ground colour much darker under most lighting.
Ah ok , that's why it works for me , all is on high exept shadows .

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 12:41 pm
by naru1305
Nice update, i like it :faint:
go on for it :thumbs:

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 5:24 pm
by modmaster13
Awesome update! :thumbs: :thumbs: :thumbs:

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 6:41 pm
by Maveritchell
Sky_216 wrote:
Lephenix_dor wrote:That's nice , but for me the night ones are too bright , the ground should be more dark , and the units too .
Can't really fix that....ground isn't affected by lighting except on high quality lighting, which also tends to makes ground colour much darker under most lighting.
There are actually two ways to address this problem.
1) Since you are presumably loading in different .lvl files containing each of your skies, you can simply pack the ground texture with those additional files and vary the ground texture based on the sky.
2) You can use a shadowmap to darken the ground texture:
forums/viewtopic.php?p=378465#p378465

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 7:23 pm
by Jendo7
The thing is, I'm actually loading my skies from one sky.lvl file, which I know isn't very efficient as they are being loaded randomely, but I'm only using one sky for all the modes apart from hunt, which uses the night sky. I realize It does seem pointless loading the same sky randomely when there's no need but I didn't realize you could do it another way. So my code looks like this:
Hidden/Spoiler:
WeatherMode = math.random(1,2)
weather()


function weather()
if WeatherMode == 1 then
ReadDataFile("dc:TJW\\sky.lvl", "tat")
elseif WeatherMode == 2 then
ReadDataFile("dc:TJW\\sky.lvl", "tat")
end

end
then "nab" instead of "tat" for the hunt mode.

Anyway, thanks for telling me how to do it Mav, although it does seem a bit complicated to me at the moment but I'm sure it isn't really. Also, as I'm only doing one night sky for one mode, do you think it's worth the extra effort.

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 7:36 pm
by Maveritchell
Jendo7 wrote:Anyway, thanks for telling me how to do it Mav, although it does seem a bit complicated to me at the moment but I'm sure it isn't really. Also, as I'm only doing one night sky for one mode, do you think it's worth the extra effort.
I've done it before, and would do it again, so of course I think it's worth the effort. I don't think it's particularly complicated, but the call you make on it for your map shouldn't be based on what other people think things are worth - it should be based on whether you think it's worth the effort.

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Tue Feb 22, 2011 8:01 pm
by Jendo7
Thanks, you are absolutely right. I am quite happy with the way it is, so I think I will leave it for now, but I may try and do it for a later version.

Edit: Update

Until I'm able to make the ground darker for hunt mode only, I've decided to resort back to a day sky. I realise I'm contradicting myself, but if people would still like to see a night sky for hunt mode, I can give it a random day/night cycle, the only problem being the ground will be too light for the night skydome. Or I could scrap the Anakin v Tusken idea completely, and do something else.

Re: Tatooine: Outpost (Night sky added to Hunt mode p11)

Posted: Wed Feb 23, 2011 9:10 am
by Sky_216
Maveritchell wrote:
Sky_216 wrote:
Lephenix_dor wrote:That's nice , but for me the night ones are too bright , the ground should be more dark , and the units too .
Can't really fix that....ground isn't affected by lighting except on high quality lighting, which also tends to makes ground colour much darker under most lighting.
There are actually two ways to address this problem.
1) Since you are presumably loading in different .lvl files containing each of your skies, you can simply pack the ground texture with those additional files and vary the ground texture based on the sky.
2) You can use a shadowmap to darken the ground texture:
forums/viewtopic.php?p=378465#p378465
Never got the second one to work but the 1st one....wow...thats so simple, and it should work perfectly. :thumbs:

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 10:35 am
by Anakin
really really really nice update.

but i don't see a different between the both night skys

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 10:52 am
by Jendo7
It's not the skies, it's the lighting that is different. Anyway, I'm scraping one of the night skies, and just using the one with the naboo lighting.

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 12:39 pm
by Anakin
sounds good

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 12:41 pm
by Jendo7
Thanks Anakin :)
Sky_216 wrote:
Maveritchell wrote:
Sky_216 wrote:
Lephenix_dor wrote:That's nice , but for me the night ones are too bright , the ground should be more dark , and the units too .
Can't really fix that....ground isn't affected by lighting except on high quality lighting, which also tends to makes ground colour much darker under most lighting.
There are actually two ways to address this problem.
1) Since you are presumably loading in different .lvl files containing each of your skies, you can simply pack the ground texture with those additional files and vary the ground texture based on the sky.
2) You can use a shadowmap to darken the ground texture:
forums/viewtopic.php?p=378465#p378465
Never got the second one to work but the 1st one....wow...thats so simple, and it should work perfectly. :thumbs:
You know what I've just figured this out, and I'm doing it now. I'll update the post once I've done it. Thank you Sky and Mav :D


Edit: I have darkened the ground for hunt only, but am having a bit of trouble as dark squares are showing on the terrain. I'll keep trying though.


Edit 2: I'm going to have to abandon this idea unfortunately. I've tried blending the terrain in ze, both colours and textures to no avail, I even deleted some textures in ze for the night time ground texture. Unless there is something I've done wrong when loading the extra terrain file in the sky2.lvl, I'm afraid I'll have to use the original terrain texture.

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 7:24 pm
by Sky_216
Jendo7 wrote:Thanks Anakin :)
Sky_216 wrote:
Maveritchell wrote:
Sky_216 wrote:
Lephenix_dor wrote:That's nice , but for me the night ones are too bright , the ground should be more dark , and the units too .
Can't really fix that....ground isn't affected by lighting except on high quality lighting, which also tends to makes ground colour much darker under most lighting.
There are actually two ways to address this problem.
1) Since you are presumably loading in different .lvl files containing each of your skies, you can simply pack the ground texture with those additional files and vary the ground texture based on the sky.
2) You can use a shadowmap to darken the ground texture:
forums/viewtopic.php?p=378465#p378465
Never got the second one to work but the 1st one....wow...thats so simple, and it should work perfectly. :thumbs:
You know what I've just figured this out, and I'm doing it now. I'll update the post once I've done it. Thank you Sky and Mav :D


Edit: I have darkened the ground for hunt only, but am having a bit of trouble as dark squares are showing on the terrain. I'll keep trying though.


Edit 2: I'm going to have to abandon this idea unfortunately. I've tried blending the terrain in ze, both colours and textures to no avail, I even deleted some textures in ze for the night time ground texture. Unless there is something I've done

wrong when loading the extra terrain file in the sky2.lvl, I'm afraid I'll have to use the original terrain texture.
Try loading the actual textures rather than a different terrain file. As in make different (darker?) versions of the same textures (same names) and load them along with the night time sky/fx.

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 9:53 pm
by Jendo7
Thank you Sky, that did it. :D :thumbs:
Hidden/Spoiler:
Image

Image

Image

Re: Tatooine: Outpost

Posted: Wed Feb 23, 2011 10:30 pm
by sim-al2
Wow that lighting is absolutely fabulous! :o

Re: Tatooine: Outpost

Posted: Thu Feb 24, 2011 1:37 am
by kinetosimpetus
:thumbs: Good job!

Re: Tatooine: Outpost

Posted: Thu Feb 24, 2011 3:48 am
by Marvel4
sim-al2 wrote:Wow that lighting is absolutely fabulous! :o
Yes, it looks faboost! :thumbs:

Re: Tatooine: Outpost

Posted: Thu Feb 24, 2011 6:28 am
by Lephenix
Awesome , much better :thumbs: .

Re: Tatooine: Outpost

Posted: Thu Feb 24, 2011 11:03 am
by Anakin
sim-al2 wrote:Wow that lighting is absolutely fabulous! :o
:yes:

can you add some smoke above the fire