Forum

> > CS2D > Maps/Editor > Traffic Lights
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English Traffic Lights

12 replies
To the start Previous 1 Next To the start

old Traffic Lights

Marcell
Super User Off Offline

Quote
Hi!
I wanna make a traffic lights in roleplay map..
i think this should be use:

• Start Trigger
• Delay Trigger

and i wanna start the alarms "traffic lights" (red and green)
so the start trigger start the red light then wait 5 seconds
after start green light but red light will be off for 5 seconds, finally restart..and its will be infinity off course
IMG:https://freedom4innocence.org/wp-content/uploads/2011/02/youtube.png

Youtube Video from Traffic Light
edited 3×, last 16.08.12 04:47:29 pm

old Re: Traffic Lights

Misho
User Off Offline

Quote
So you need two colours (sprites) to repeat?
It will start with green and after 5sec it will be replace with red, after 5sec it will be replace with green?
And this will be infinite?

old Re: Traffic Lights

Marcell
Super User Off Offline

Quote
Quote
So you need two colours (sprites) to repeat?
It will start with green and after 5sec it will be replace with red, after 5sec it will be replace with green?
And this will be infinite?


yes

old Re: Traffic Lights

Misho
User Off Offline

Quote
Easy work.
> Env_Sprite:
Name: green
Trigger:
(Load your green sprite)
> Env_Sprite:
Name: red
Trigger:
(Load your red sprite)
> Trigger_Start:
Name:
Trigger:red,dey1
> Trigger_Delay:
Name:dey1
Trigger:dey2,green,red
Delay (sec.): 5
> Trigger_Delay:
Name:dey2
Trigger:dey1,red,green
Delay (sec.): 5

old Traffic Light

ItsAdamLY
User Off Offline

Quote
Good... but where is THE YELLOW OF THE TRAFFIC LIGHT COLORS? It should be incomplete...

So, edit it first or The Traffic light won't complete
OK?

old Incomplete?..Huh?..

DrL
User Off Offline

Quote
user ItsAdamLY has written
It should be incomplete...

So should it really be Incomplete?
Btw,Misho you're a Pro, And this is so helpful to him and other no... nvm what i was going to say..

old Re: Traffic Lights

Marcell
Super User Off Offline

Quote
user Misho has written
Easy work.
> Env_Sprite:
Name: green
Trigger:
(Load your green sprite)
> Env_Sprite:
Name: red
Trigger:
(Load your red sprite)
> Trigger_Start:
Name:
Trigger:red,dey1
> Trigger_Delay:
Name:dey1
Trigger:dey2,green,red
Delay (sec.): 5
> Trigger_Delay:
Name:dey2
Trigger:dey1,red,green
Delay (sec.): 5



Respect to you!!!:)
Thanks so much!
Now my server more better!
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview