Blink a light ?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Blink a light ?

Post by mcunha98 »

I dont find a tutorial show how make a light (of course including the model and corona) blinking ?

This technique have problems with FPS or other thing, because is very very hard see a map with this technique !
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

This tutorial i know, he is very good, but use a trigger for on/off the light.
My question is really create a blink light
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

my memory is very poor but i do remember a tutorial on this somewhere....

i think he used fx_dummy and assinged light to it or something and turned it the light value up and down thru script, made it nice n random too..

cant remember for the life of me where the tut is but its there somewhere
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

fuhrer wrote:my memory is very poor but i do remember a tutorial on this somewhere....

i think he used fx_dummy and assinged light to it or something and turned it the light value up and down thru script, made it nice n random too..

cant remember for the life of me where the tut is but its there somewhere

Well if you remember, please post your reply in this topic.
The map THE CUBE created by Wacko have a technique like this, but dont is a "tutorial" properly talk, is very hard understand the way of effect is created.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

This has been aked so many times it isnt even funny! Heres what you need.. just use a REGULAR trigger_multiple without the projectile box ticked.

viewtopic.php?t=9433
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
[NER-BNL]Veteran
Lance Corporal
Posts: 14
Joined: Mon Nov 22, 2004 1:20 pm
Location: Gouda

Post by [NER-BNL]Veteran »

Read my Question: Thriller lightbeam plz help!!!

That probebly will give you the awnser !
Thanks to wacko.. :) , worked for me.. :)
---===[ Reality is a disillusion caused by a shortage of alcohol...!!! ]===---
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

oh sorry,you want a blinking light.yes wacko came up with a working script for this,search for that thread because there were like 3 different scripts on how to do it.
Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

In test_pointer map created by TLTrude in top of searching light have a red "thing" with a corona and light blinking.

Not is possible separate only part of map and explain (simply if i get copy and past objects and get script, he work, but i dont understand the process !!!!)

I can learn, dont copy and paste :roll:
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post by tltrude »

English help for mcunha98:

he = man
she = woman
it = thing (like a tutorial or a script).

Example: "I know this tutorial, it is very good...".

--------------------------------------------

red_light:

$lh_red_light show //show the red corona
$lh_clight_on show //show the cage light that looks like it is on (script_model, lightbulb_caged_red-lit.tik)
$lh_clight_off hide //hide the cage light that looks like it is off (script_model, lightbulb_caged_red.tik)
$lh_dlight light 1 .2 .1 80 // dynamic light - red, green, blue, size (script_model, fx/dummy.tik)
wait 2
$lh_red_light hide //hide the red corona
$lh_clight_on hide //hide the red cage light that looks like it is on
$lh_clight_off show //show the red cage light that looks like it is off
$lh_dlight light 0 0 0 0 // dynamic light - red, green, blue, size
wait 2
goto red_light //do it again

end
Tom Trude,

Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

well Tom beat me to it,but yea,thats how you would make it blink :P
Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

he = man
she = woman
it = thing (like a tutorial or a script).

Example: "I know this tutorial, it is very good...".
Thanks, i not a "specialist" in english, i learn without teather...

Well, you write
red_light:
$lh_red_light show //show the red corona
$lh_clight_on show //show the cage light that looks like it is on (script_model, lightbulb_caged_red-lit.tik)
$lh_clight_off hide //hide the cage light that looks like it is off (script_model, lightbulb_caged_red.tik)
$lh_dlight light 1 .2 .1 80 // dynamic light - red, green, blue, size (script_model, fx/dummy.tik)
wait 2
$lh_red_light hide //hide the red corona
$lh_clight_on hide //hide the red cage light that looks like it is on
$lh_clight_off show //show the red cage light that looks like it is off
$lh_dlight light 0 0 0 0 // dynamic light - red, green, blue, size
wait 2
goto red_light //do it again
To i understand, the $lh_red_light its a simple static -> lamp -> light-bulb-caged-red model with a TARGETNAME have the value lh_reg_light or its a script model or another object ???

I understand your line of work, wait 2 seconds into a loop having a sequence of commands, show / hide.
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

model or object,since its a model of somthing,probally use script_model.

O modelo ou objeto, desde que seu um modelo de somthing, script_model de uso de probally.

correct language i hope :P
Image
User avatar
mcunha98
Lieutenant Colonel
Posts: 384
Joined: Sat Jan 17, 2004 1:52 am
Location: Brasil
Contact:

Post by mcunha98 »

Green Beret wrote: O modelo ou objeto, desde que seu um modelo de somthing, script_model de uso de probally.
correct language i hope :P
In true dont translate correctly (no is possible understand).
But i read and understand the english text, i try using a script_model.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

corona

Post by tltrude »

The corona, "classname fx_corona_red" is not a script model. It is scaled up to 6, but it is a normal model with the targetname "lh_red_light".
Tom Trude,

Image
Post Reply