PZ Lights

BZFlag related only please...please attach large images
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

PZ Lights

Post by trepan »

Stationary world-weapon phantom
zone shots used as scene lights.

Image
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Cool, I needed some of those lights for my map
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Say, how would one go about making objects glow? I need to have light on my dark map.
User avatar
toaster
Private First Class
Private First Class
Posts: 457
Joined: Sat Feb 21, 2004 4:44 pm

Post by toaster »

Pretty nice, Trepan. Good application. :)
-toaster
"So there I was, all alone, facing all of the enemy. I started driving in circles, until I had them surrounded, and then I escaped in the confusion."
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

RPG: the easiest way to get "glowing" objects
is to use the emission material property. I used
a modified bzfs exec to produce the stationary
shots (also has the mods for zone activated
world weapons =)
User avatar
wegstar
Private First Class
Private First Class
Posts: 127
Joined: Sun Dec 26, 2004 4:33 am
Location: Good ol' California
Contact:

Post by wegstar »

mods for zone activated
world weapons
wow.. i'm getting ideas ;)
Formerly "nader"
---
Microsoft broke Volkswagen's world record: Volkswagen only made 22 million bugs!
-----
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham
User avatar
Soraya
Corporal
Corporal
Posts: 354
Joined: Sat Feb 12, 2005 9:59 pm
Location: Florida, USA

Post by Soraya »

Pretty sweet trepan. :D
I am a leaf on the wind.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

I can't get emissions to work right... Can you PM me the map file?
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

The mesh glows the emission color, but I can't see the light on any other of the nearby meshes or the ground.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

emission won't affect any other objects, it's not supposed to.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

:doh: Then how did you get your grass to turn yellowish and the reflection of the two lights in the four spheres?
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

(re-)read the first post in this topic.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Oh the zoned shots are what's creating the light. That would be a good feature, glowing objects, though.
User avatar
codergeek42
Private First Class
Private First Class
Posts: 7
Joined: Wed Apr 13, 2005 5:16 am
Location: Anaheim, CA (USA)
Contact:

Post by codergeek42 »

That's awesome. :D
~ Peter ~
OS: GNU/Linux (Fedora)
System: Intel DG965WH, Core 2 Duo E6600 (2x 2.4 GHz), 2 GB DDR2-800 RAM
User avatar
M1A2AbramsTank
Private First Class
Private First Class
Posts: 251
Joined: Sun Nov 28, 2004 10:39 pm
Location: Midlothian, VA

Post by M1A2AbramsTank »

trepan, how come it's always u that comes up with all the really cool, really new map objects?
I'm baaaaaaaaack!
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

because he was the developer who MADE most of the realy cool new map object features.
ImageJeffM
User avatar
M1A2AbramsTank
Private First Class
Private First Class
Posts: 251
Joined: Sun Nov 28, 2004 10:39 pm
Location: Midlothian, VA

Post by M1A2AbramsTank »

geez, now u peeps tell me, why am i always out of the loop!?!
I'm baaaaaaaaack!
User avatar
Soraya
Corporal
Corporal
Posts: 354
Joined: Sat Feb 12, 2005 9:59 pm
Location: Florida, USA

Post by Soraya »

I had no idea either... I feel unloved! :(

:D haha! all better now! :shock:
I am a leaf on the wind.
User avatar
Lirael_Goldenhand
Private First Class
Private First Class
Posts: 73
Joined: Tue Aug 10, 2004 1:25 am
Location: Abhorsen's House, The Old Kingdom
Contact:

Post by Lirael_Goldenhand »

Wow, awesome idea! If ever I make my own maps again, I'll need to steal your idea... maybe make a few streetlamps in a BZ city or something. Anyway, awesome application of the shots!
Does the walker choose the path or does the path choose the walker?

In dust we trust.

You never saw this. It didn't happen. Don't tell anyone or you're a dead man.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Lirael_Goldenhand, you need a modified BZFS binary to make those shots. Trepan would have to hook you up with his.
User avatar
wegstar
Private First Class
Private First Class
Posts: 127
Joined: Sun Dec 26, 2004 4:33 am
Location: Good ol' California
Contact:

Post by wegstar »

ah well.. probably will be out on the next version :?
Formerly "nader"
---
Microsoft broke Volkswagen's world record: Volkswagen only made 22 million bugs!
-----
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham
User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post by TD-Linux »

Are these new features (zone-activated world weapons) included in the v2.0.3 version?
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

Nope, they've been replaced with JeffM's server-side
plugins. I deleted all of my mods intended for 2.0.4.
User avatar
BIYA
Corporal
Corporal
Posts: 891
Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:

Post by BIYA »

Trepan would this "Emission" be related to the material object in wings3D?
User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post by TD-Linux »

I believe the plugin converter utilizes the 'emission' value included in materials. When you define materials, there is a slider and color box for emission. That should work, but note that I have not tested it.

Wings3D and bzw seem to handle objects about the same, so I think any of the material options would apply in Bzflag.
Post Reply