Product Chat / Day / Night Sequence

Author
Message
BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 19th Jan 2014 14:14 Edited at: 19th Jan 2014 15:11
Hey Guys I noticed that the day night sequence has been implemented

in a basic manor and just wanted to get some feed back,



also I came across a day/night script that I worked on in unity (Link below)

and wondered if ppl liked what they saw lee might pick it up and use

something similar for fpsc reloaded. the best part is you can adjust the speed of the day and night more like Skyrim or fable where is takes a long time

or you can have the speed run fast if your character is sleeping to regain health and it take 8 hrs. you can the sequence move as fast or as slow as you like.,



[href]http://www.biologistics.no-ip.org/First_build/First build.html[/href]



www.biologistics.no-ip.org/First build.html

Bring It On

TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 19th Jan 2014 14:30 Edited at: 19th Jan 2014 14:31
im sure day night got taken out :/



as far as i know also the link is dead
BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 19th Jan 2014 15:19
Plan B Attach a download.



please feel free to have a look and a play

Bring It On

BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 19th Jan 2014 15:29
@TattieBoJangle thanks for the heads up about the link my server

must be a little over loaded at the moment.

the day night Seq is still active in this build as you will see in my latest vid



[href]http://fpscrforum.thegamecreators.com/?m=forum_
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 19th Jan 2014 15:35
lol i wish it was like that but to be honest they are trying to pull what they can to increase fps and with day/night the shadows moving ect is just to much for it
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 19th Jan 2014 15:44
What build are you running as i just have ss no day/night
BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 19th Jan 2014 15:49 Edited at: 19th Jan 2014 15:49
iam running the alpha.

if you look at this vid.



at about 2min 30 in

Bring It On

TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 19th Jan 2014 15:54
Hmmm interesting as i don't have it what so ever i thought they had taken it out will try and re-install :/
BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 19th Jan 2014 16:01
Here is a quick vid of the unity made model that I had stated





Bring It On

TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 19th Jan 2014 16:13
After a re-install mines still stays static day :/
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 20th Jan 2014 11:23 Edited at: 20th Jan 2014 11:42
Day and Night Cycles did not get taken out.



Just press F10 to enable it - while in game. It works.



Installing and reinstalling won't change anything.



Quote: "lol i wish it was like that but to be honest they are trying to pull what they can to increase fps and with day/night the shadows moving ect is just to much for it "




This is not true. Nothing was taken out. In fact they have added more features to it to allow for a cloud layer as well.



The day and night feature currently doesn't affect shadow direction (hasn't in the past either). It only affects the skybox. Since the sun location doesn't change at the moment with it. But please dont put out speculation that it was removed, as the feature has not been taken out - it has in fact its been improved upon since.



In the future I'd like to see the day/night cycles affect the overall ambient level depending on the time of day and shadow direction (affected by the sun positioning).



I haven't poked around with the sky scripts much but I'm sure we'll be able to see all these features added soon considering:





Quote: ";SUNLIGHT DIRECTION POSITION VECTOR (based on 25000x25000 being center of world)

SunDirection = 30000,10000,30000

;SUNLIGHT STRENGH MULTIPLIER (DEFAULT 100)

SunStrength = 100

;SUN COLOR (RGB)

SunColor = 255,235,220

;SUN ROTATION

SunRotation = 300"


almightyhood
10
Years of Service
User Offline
Joined: 9th Oct 2013
Location:
Posted: 20th Jan 2014 11:45 Edited at: 20th Jan 2014 11:46
rick v mentioned a switching from day to night system to follow perhaps, and should be better than the day/night changes we have now. f10 does do the job as said above. also I have noticed the rolling cloud layer in the skybox now, it looks great .

have fun stay safe

hood
PM
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 20th Jan 2014 11:53 Edited at: 20th Jan 2014 12:45
I'd love for the day and night to be a LUA script we could modify :p

almightyhood
10
Years of Service
User Offline
Joined: 9th Oct 2013
Location:
Posted: 20th Jan 2014 12:03
Quote: "I'd love for the day and night to be a LUA script we could modify :p"
yeah me to, I wouldn't mind changing the daylight strength so its alittle brighter as I need the ambience down for overall darkness at night time lol, no way yet to have it bright in day and dark at night without changing ambience and stuff or is there? lol

have fun stay safe

hood
PM
BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 20th Jan 2014 12:05
Thanks Teabone

I didn't know that F10 enabled the Day / Night cycle

it just so happens that the same key is used for my recording

software to activate the screen capture so it was a fluke that

I caught it.. Thanks

Bring It On

Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 20th Jan 2014 12:34 Edited at: 20th Jan 2014 12:43
I haven't touched LUA yet but im sure there will be ways to check the variables of what time of day it is to control the various ambient levels and such.



To make a decent night time setting:

-------------------------------------------------------



turn all fog settings to zero. I believe fog distance to 1.



change ambient colors (R/G/B) to zero

change surface ambient colors (R/G/B) to zero.



change skybox to night.





Oh and press F.... and see what happens. Slender Man for sure. lol

almightyhood
10
Years of Service
User Offline
Joined: 9th Oct 2013
Location:
Posted: 20th Jan 2014 12:46
yeah, I got the night time down now , just cant use f10 for day night cycle as it makes day time soo dark.. must be a way to script a settings change with the cycle of time at some point in future I hope?

have fun stay safe

hood
PM
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 20th Jan 2014 12:51
I really hope it becomes a stand alone LUA script



we also need a variable called like timescale so we can change the speed at which hours pass.

almightyhood
10
Years of Service
User Offline
Joined: 9th Oct 2013
Location:
Posted: 20th Jan 2014 12:57
yeah, I been playing an alpha game called 7 days to die, its a voxel game like minecraft but with better graphics. it has a settings menu for changing the amount of time it takes to change from day to night, ranging from 10mins to 50mins cycles the sun and moon move also changing shadows direction and everything, would be nice to be able to do the same things with reloaded in time.

have fun stay safe

hood
PM
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 20th Jan 2014 12:59 Edited at: 20th Jan 2014 13:01
hey I was a 7 Days to Die Kickstarer Backer, such a great game though quite hard lol its a great concept and I do like their day and night cycle system.



BioDragonlord your script in Unity looks really good and is pretty much what I'm looking for in Reloaded.

BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 20th Jan 2014 13:42
thanks again Teabone.

I still have all the code but I don't know if it will be of any use to you

as its in java script and we are not using java but none the less you

are welcome to it if you like

Bring It On

RickV
TGC Development Director
24
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 20th Jan 2014 16:23
Hi, the Day/Night cycle is only partly added in. We want to give you full control of it via LUA and we want to enhance the sky system so you can fade between sky models easier. For now it's a feature that will have to wait until we deal with higher priority items. One day the moon will not be an oval!



Rick

Financial Director

TGC Team
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 20th Jan 2014 17:51
Thanks i also didn't know it was F10 was looking all over the options for it lol
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 21st Jan 2014 01:59 Edited at: 21st Jan 2014 02:12
Hey Rick I put this video together, it might be of a bit of inspiration for Reloaded's Day and Night cycles.







Day and Night



Two Layers, one is for clouds which slowly scroll by. The second layer in the back is for the sky which can show stars or other cloud formations to give the illusion of depth.



The ambient lighting colors and overall levels change depending on the time of day.



Weather



When weather kicks in it seems to override the day and night controls of ambient lighting and the cloud layer.



I wrote that the sun direction is altered during weather effect calls but this isn't actually true. The sun direction is only controlled during the day and night cycles.



The weather effects (rain, leaves, snow) are not HUD effects. Since the player can walk in the environment and the particles seem to pass by the player as he looks around or moves around as if they are in the actual space.



Weather conditions can be called at any time, but what I noticed in skyrim is it sometimes is forced in trigger zones for certain regions like mountainous areas.

Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 23rd Jan 2014 04:21
Must say BioDragonlord your video example is very close to what I'm hoping for Reloaded. Reminds me a lot of Fallout/Skyrim.

BioDragonlord
10
Years of Service
User Offline
Joined: 17th Dec 2013
Location: Australia
Posted: 23rd Jan 2014 08:19
its a very basic day night but the if I was to keep working on it

it probably could have been just as good.



Thank you

Bring It On

Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 24th Jan 2014 01:19
Now that we got LUA in place (and soon for day and night) and multiple sky layers.. I think we'll be able to create some fantastic dynamic changing realistic atmospheres for Reloaded.

Login to post a reply

Server time is: 2024-05-04 18:30:33
Your offset time is: 2024-05-04 18:30:33