Flashing Lights

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Flashing Lights

Post by Nightmare » March 19th, 2006, 11:56 pm

Is it possible to make flashing lights, such as the lights you find in disco techs? I want to make it so that the light blinks on and off.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Lisa
CJ Worshipper
CJ Worshipper
Posts: 442
Joined: December 24th, 2005, 1:22 am
Location: US of A

Post by Lisa » March 20th, 2006, 1:18 am

hmmmm I asked a simular question but I wanted to make a spinning ball...all shiney and reflective just like a disco ball but come to the conclusion that its not possible...maybe yours is tho..GL!! :wink:
Image
~Materazzi~
Image

Derick
CJ Wannabe
CJ Wannabe
Posts: 16
Joined: February 2nd, 2006, 10:20 pm

Post by Derick » March 20th, 2006, 1:42 am

Make a ball with a lot of hole.. make it rotate and put in a 2000 light
I have never try it, but try and tell me if it's working
Image

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » March 20th, 2006, 2:07 am

derick, that wont work :|

And no, I dont want a disco ball, I want just a flashing light
on and off
tahts all I want.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Derick
CJ Wannabe
CJ Wannabe
Posts: 16
Joined: February 2nd, 2006, 10:20 pm

Post by Derick » March 20th, 2006, 2:14 am

ok, sorry, I don't know how to do it :(
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » March 20th, 2006, 2:41 am

i dont think its possible to do this very effectively...i've seen some sort of method on modsonline to switch a light on and off but its not perfect

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » March 20th, 2006, 10:10 am

Its sorta possible but it doesnt work that well at all.

Like luke said, it was on Modsonline, but wasnt very good.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

leveller
CJ Fan
CJ Fan
Posts: 156
Joined: June 25th, 2005, 12:24 pm

Post by leveller » March 21st, 2006, 8:03 pm

inspired by your disco light question, i have started making basic map,
which will have a disco light, which you can turn on/off and rotate across the room.

it has beam like a spotlight, so you can watch it move.

ill post it when i have it fully ready, prob tomoz.

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » March 21st, 2006, 8:17 pm

I was wondering this same question before...

I was thinking of having a light, and a moving object going across it, revealing and disguising it, but surely all the lighting is done when compiling so it's not possible for it to change like that?
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » March 21st, 2006, 8:32 pm

Pedsdude wrote:I was wondering this same question before...

I was thinking of having a light, and a moving object going across it, revealing and disguising it, but surely all the lighting is done when compiling so it's not possible for it to change like that?
Yes. Except for the light Leveller is talking about...
(Lighthouse light)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » March 21st, 2006, 8:34 pm

OK, I await his next post ;)
Image
Image

leveller
CJ Fan
CJ Fan
Posts: 156
Joined: June 25th, 2005, 12:24 pm

Post by leveller » March 21st, 2006, 9:04 pm

:? :x :cry: D*m F*ck &^%&&*&**&*(&^^

i have been looking and trying for something like the lighthouse effect all morning,
couldnt find it, and the thing i had build didnt work the way i wanted it.

havent tried out the lighthouse from modsonline,
but it looks like its beaming on the picture,
that was my problem, i couldnt get my light to beam.

so i worked the rest of the day on custom textures and shaders,
and came up with my own lighting effect.

the light itself = ready,
the only thing that needs working on, is to make it act like a disco lazer or something like that.

so i need to script the coordinates where the light should point to.

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » March 21st, 2006, 10:20 pm

Thanks alot Leveller, even tho I was just wondering if there was a script to turn th light on and off non stop with out haveing to go through any triggers :P But the disco will be pretty sweet.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

leveller
CJ Fan
CJ Fan
Posts: 156
Joined: June 25th, 2005, 12:24 pm

Post by leveller » March 22nd, 2006, 3:38 pm

Right, the light is ready.

its based on a mix between "light_cagelight_red" and "searchlight_large"

i made a custom xmodel based on those 2.

i have put everything thats needed in the pk3 file, also the map file.

if you know your scripting, you wont have any problems with the gsc file.

its prob not perfect, but good enough for a basic demo map.

dl below

http://www.sidecar-productions.nl/jump-bitch/
Last edited by leveller on April 13th, 2006, 4:01 pm, edited 1 time in total.

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » March 22nd, 2006, 6:22 pm

Downloading - looking forward to seeing it in action.
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests