Nightfall?

YSFlight general discussion & everything in between
Post Reply
User avatar
Gunny
Business Class Membership
Business Class Membership
Posts: 3224
Joined: Sun Feb 06, 2011 6:17 pm
Favorite Aircraft: Any thing with a prop.
Location: New Iberia.LA.
OS: Windows XP SP3
Has thanked: 577 times
Been thanked: 731 times

Nightfall?

Post by Gunny » Thu Feb 12, 2015 7:08 am

A question for our programers.Just wondering if an app or program could be created to emulate variably timed nightfall in ysflight from dusk to full dark?Say about 20 Min.To a half an hour in duration? An add on of course not a hack to the game.And no I have no clue what that would entail that is why I am asking.
Image[/align=centre]

User avatar
Flake
Core Staff
Core Staff
Posts: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

Nightfall?

Post by Flake » Thu Feb 12, 2015 11:22 am

It would require a proxy service in between the server and the clients.

I could add the functionality to OYS if you want? Set time day, sleep 20 minutes, set time night, sleep 10 minutes, repeat...

Please note that this would be a switch, not a smooth transition. Day comes on, day goes off.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
Barr
Veteran
Veteran
Posts: 1011
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 205 times

Nightfall?

Post by Barr » Thu Feb 12, 2015 8:00 pm

I believe that Is what gunny is asking for.

A huge colored rotating object?
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
decaff_42
Staff
Staff
Posts: 3565
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 629 times
Been thanked: 1364 times
Contact:

Nightfall?

Post by decaff_42 » Thu Feb 12, 2015 10:03 pm

BARRACUZ wrote:A huge colored rotating object?
Like the minecraft sky?
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

Deleted User 2215

Nightfall?

Post by Deleted User 2215 » Fri Feb 13, 2015 1:12 am

For enabling transition between day and night the algorithm should be like,

1)Program edits SKY variable in FLD file to change sky colour
2)Program Revives Ground
3)Pause for sometime.
4)Repeat.

User avatar
Flake
Core Staff
Core Staff
Posts: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

Nightfall?

Post by Flake » Fri Feb 13, 2015 1:54 am

1)Program edits SKY variable in FLD file to change sky colour > Wish it were possible. I tried it, No worky.
2)Program Revives Ground > could do that.
3)Pause for sometime. > part of the loop.
4)Repeat. > part of the loop.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

Deleted User 2215

Nightfall?

Post by Deleted User 2215 » Fri Feb 13, 2015 10:15 am

Algorithm.Fail

User avatar
Barr
Veteran
Veteran
Posts: 1011
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 205 times

Nightfall?

Post by Barr » Fri Feb 13, 2015 1:45 pm

decaff_42 wrote:
BARRACUZ wrote:A huge colored rotating object?
Like the minecraft sky?
Exacto mundo...
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
NajmiCreative
Modding Team
Modding Team
Posts: 782
Joined: Thu Sep 04, 2014 9:14 am
Favorite Aircraft: MiG-29N,SU-30 MKM
Location: Shah Alam,Selangor,Malaysia
OS: Windows 10 Home
Has thanked: 516 times
Been thanked: 500 times
Contact:

Nightfall?

Post by NajmiCreative » Fri Feb 13, 2015 1:53 pm

decaff_42 wrote:
BARRACUZ wrote:A huge colored rotating object?
Like the minecraft sky?
maybe that's the only option for the time changes....plus it's quite simple and the ground also looks like minecraft...
hope the time change won't too fast like minecraft.....
My official website
My Twitter NOTE:All my rework model are allowed for repaint and need to credit on publish..no need to PM me anymore
[align=center]for modifications on my mods,please PM me first,and credit me and original creator(if my work were rework)[/align]

User avatar
Barr
Veteran
Veteran
Posts: 1011
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 272 times
Been thanked: 205 times

Nightfall?

Post by Barr » Fri Feb 13, 2015 2:27 pm

NajmiCreative wrote:
decaff_42 wrote:
BARRACUZ wrote:A huge colored rotating object?
Like the minecraft sky?
maybe that's the only option for the time changes....plus it's quite simple and the ground also looks like minecraft...
hope the time change won't too fast like minecraft.....
But then again such large object will create a lot of lag... And the shadow...

I don't know how open gl works but I think that it shouldn't be too hard too write a couple of lines with a timer and some sky and ground color changes for maybe every 5 min. Like flake pointed out
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests