The sun

Make suggestions for improving one of the best games on the net!
Post Reply
User avatar
The Purple Panzer
Field Marshal
Field Marshal
Posts: 246
Joined: Tue Sep 23, 2003 8:13 pm
Location: Stonington, CT
Contact:

The sun

Post by The Purple Panzer »

In my last map (posted in another forum) I included a representation of Stonehenge as it is now. I didn't put in the heelstone, and it got me thinking: how accurate is the sun movement in the game?

Now I admit this is probably silly, and nobody will likely care - but I at least am strongly affected by light and shadow, and the apparent time of day and time of season. It'd be great if servers let you put in latitude and longitude, and the movement of the sun were correct - including seasonal variation of sun position and shadow length. It might seem minor, but I believe it's been built into our consciousness for a few million years - and it does make a difference in attitude when playing.

I expect it's probably a really minor code change, but one that requires some careful thinking to do right. But it'd be nice.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

currently, the latitude and longtitude
are set in the config file on the client
side. i do not know how accurate the
lighting representation is.

for server side control,
patches are welcomed.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

It's actualy prety accurate, it computes where you would be on the earth based on those coords and computes the sun and moon. It's the same computations that figure out moon phase and sunrise and sunset stuff.
ImageJeffM
rr
Private First Class
Private First Class
Posts: 73
Joined: Thu Apr 24, 2003 6:18 am

Post by rr »

"Since the dawn of time man has yearned to destroy the sun" - C.M. Burns

Truer words have never been spoken. I say get rid of that thing once and for all, it just screws with the lighting and requires me to hold the - key for 10 seconds everyone once and awhile.
User avatar
Workaphobia
Master Sergeant
Master Sergeant
Posts: 252
Joined: Wed May 26, 2004 7:29 pm

Post by Workaphobia »

That was one of my favorite lines, rr. Of course, all of the early ones are my favorites.

Ahem.. the only complaint I have about the whole day night thing is that with lighting enabled it is impossible to play effectively at night and during certain times of the day. The entire system needs a little more ambient light so you can see what you're doing, and it never helps when two sides of a building are equally poorly lit.
"Nifty News Fifty: When news breaks, we give you the pieces."
User avatar
Logwad
Private First Class
Private First Class
Posts: 28
Joined: Sun Aug 29, 2004 6:26 pm

Post by Logwad »

What would be cool is if servers could choose to control the time of day or night. And if light sources other than the sun could be created.

Doing this would allow you to create all dark maps were you could create dark "doom"-like areas with scattered lighting (would work best if servers could disable the radar). This opens up possibilities of new flags for these specific kind of areas.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

Just noticed this patch submitted by DTR:
http://sourceforge.net/tracker/index.ph ... tid=303248
It allows one to set the latitude and longtitude
from the server.
User avatar
nurdc0re
Private First Class
Private First Class
Posts: 67
Joined: Sun Mar 21, 2004 2:57 am

Post by nurdc0re »

Workaphobia wrote:Ahem.. the only complaint I have about the whole day night thing is that with lighting enabled it is impossible to play effectively at night and during certain times of the day. The entire system needs a little more ambient light so you can see what you're doing, and it never helps when two sides of a building are equally poorly lit.
Agreed, I've tried using it before on my mac and it was way too dark at night (even when i went in shadowns from building during the day) so I just turned it off. If we could just fix that, I would love to use it.
User avatar
The Purple Panzer
Field Marshal
Field Marshal
Posts: 246
Joined: Tue Sep 23, 2003 8:13 pm
Location: Stonington, CT
Contact:

Post by The Purple Panzer »

Yet it might be just as interesting if the game stayed true to nature - real shadows (though of course not on both sides of a building), and in darkness either illumination objects (local lights) to cast light, or... headlights. You turn them on, and you light up your visual cone, and see well there; but others see you too, just as you see a car at night. It would I think add a dimension to the game, sort of like a form of stealth/cloaking, but by choice (do I turn my lights on or not?) Think, for example, of a game of paintball by strong moonlight, in which the players carry powerful lamps which they may use at will.

It might be a very interesting dimension too, as a team could arrange for someone to be the illuminator at a planned moment, and others to defend against opportunistic attackers as well as to prosecute any illuminated targets: sort of an "everybody get in position", "lights on", "lights off", "kill", with the last two steps overlapping. Sort of combat by firefly.
User avatar
Workaphobia
Master Sergeant
Master Sergeant
Posts: 252
Joined: Wed May 26, 2004 7:29 pm

Post by Workaphobia »

I would like to see that dimension added to the game, but I think it's just another opportunity for a hacker/cheater to gain an edge by switching to daylight locally even if the server prohibits it.
"Nifty News Fifty: When news breaks, we give you the pieces."
Rebel Chik0rita
Private First Class
Private First Class
Posts: 344
Joined: Thu Mar 25, 2004 6:44 pm

Post by Rebel Chik0rita »

i prefer the night or dusk settings =)

so the sun really doesn't bother me when i play . heh . to mee it just feels kinda weird to shoot someone on a nice beautiful bz day ;)

but sometimes when i'm observing i think it would be neat at least visually to see different kinds of clouds . a few big fluffy clouds that'll cast moving shadows along the ground during the day .

i guess we all have our lil bz wish list ;) heehe
User avatar
DTRemenak
General
General
Posts: 625
Joined: Thu Jan 16, 2003 4:54 am
Location: U.S.
Contact:

Post by DTRemenak »

I've revised and committed the synclocation patch, so in 1.12 you'll be able to set the latitude and longitude server-side for maps like stonehenge.
Post Reply