lights..

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

Moderator: Core Staff

Post Reply
User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

lights..

Post by t3vY » November 23rd, 2007, 3:28 pm

Is it possible to make lights to blink...like changing it ON/OFF very fast?
And how to make a beam of light ( i once saw it at cod1 i think )?
If it is possible please help. :)
Image

User avatar
floater
CJ Newbie
CJ Newbie
Posts: 86
Joined: October 2nd, 2007, 10:25 am

Post by floater » November 23rd, 2007, 4:49 pm

it is possible :wink:
it was something with light on; lights off; but i'm not sure about the exact code...
I think scrappy made something like that in one of his maps

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

Post by Nightmare » November 23rd, 2007, 10:17 pm

I used the light as an effect in cod, just play the effect at whatever origin you 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]

User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

Post by t3vY » November 23rd, 2007, 11:12 pm

?
I have no idea what are you talking about :) ....Can you be more specific how to turn on then off the light?
Image

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

Post by Nightmare » November 24th, 2007, 5:34 am

Code: Select all

playfx(light,light.origin);
thats the code, just make a script origin where you want the light to be and call it light.
and you would also have to make the custom efx file which I do not have atm.
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]

User avatar
YaNo
CJ Worshipper
CJ Worshipper
Posts: 460
Joined: May 5th, 2005, 9:34 pm
Location: Azeroth
Contact:

Post by YaNo » November 24th, 2007, 5:10 pm

Nightmare wrote:

Code: Select all

playfx(light,light.origin);
For more its playfx(light,anotherscriptbrushname.origin); I think.

I also think that there is a tutorial on how to use a switch for on/off lights at modsonline, it's made for UO but may work on vCoD.

User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

Post by t3vY » November 25th, 2007, 10:23 am

Tny :wink:
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests