How can you make a car stand on a red light?

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
choggoba
Townsman
Reactions:
Posts: 45
Joined: Fri Jul 20, 2018 8:30
Location: Korea
Plugins: Show

Platform

How can you make a car stand on a red light?

#1

Post by choggoba » Thu Aug 02, 2018 0:42

I'm making a different kind of traffic light.
(Transverse signal light)

I succeeded in making the red light and blue light blink.

But they couldn't figure out how to stop the car from the red light.

Is there a good way?


Code: Select all

[
  {"id":"traffic_signal02_choggoba_00","type":"animation","frames":[{"bmp":"traffic signal2_1.png","x":0,"w":32,"handle y":17}]},
  {"id":"traffic_signal02_choggoba_01","type":"animation","frames":[{"bmp":"traffic signal2_1.png","x":32,"w":32,"handle y":17},{"bmp":"traffic signal2_2.png","x":32,"w":32,"handle y":17},{"bmp":"traffic signal2_3.png","x":32,"w":32,"handle y":17}],"speed":0.1},
  {"id":"traffic_signal02_choggoba_02","type":"animation","frames":[{"bmp":"traffic signal2_1.png","x":64,"w":32,"handle y":15}]},
  {"id":"traffic_signal02_choggoba_03","type":"animation","frames":[{"bmp":"traffic signal2_1.png","x":96,"w":32,"handle y":15},{"bmp":"traffic signal2_2.png","x":96,"w":32,"handle y":15},{"bmp":"traffic signal2_3.png","x":96,"w":32,"handle y":15}],"speed":0.1},
  {
    "id":"traffic_signal02",
	  "author":"choggoba",
    "type":"road decoration",
    "title":"traffic signal2",
    "text":"가로식 신호등",
    "price":50,
    "animation":[
      {"id":"traffic_signal02_choggoba_00"},
      {"id":"traffic_signal02_choggoba_02"}
    ],
    "frame animation indices":[
      [0,1],[0,1],[1],[1],
      [0],[0],[],[],
      [0,1],[0,1],[1],[1],
      [0],[0],[],[]
    ],
    "animation fg":[
      {"id":"traffic_signal02_choggoba_01"},
      {"id":"traffic_signal02_choggoba_03"}
    ],
    "frame animation fg indices":[
      [0,1],[0],[0,1],[0],
      [0,1],[0],[0,1],[0],
      [1],[],[1],[],
      [1],[],[1],[]
    ]
  }
]
Attachments
Screenshot_20180802-073929.png
I love my hometown. :)

I don't speak English well. Please understand me. ;)

User avatar
CommanderABab
AB
Reactions:
Posts: 8255
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: How can you make a car stand on a red light?

#2

Post by CommanderABab » Thu Aug 02, 2018 3:18

Yes, there is a way, you might check the barrier road.zip for how to do it. The thing is traffic will stop in both directions. For stopping in only one direction, you would have to study the road directions topic and change the road by fun when the light is to be red and vice versa for green.
Show
Korean
예, 길이 있습니다, 장벽을 확인할 수 있습니다. 수행 방법을 찾으십시오. 것은 트래픽이 양쪽 방향으로 멈추는 것이다. 한 방향으로 만 멈추려는 경우, 도로 방향 주제를 연구하고 빛이 빨간색 일 때 도로를 재미로 변경하고 녹색 일 경우 도로를 변경해야합니다. 구글 번역.
826!826Currently using beta 826. 826 What's new? :)
diagonal road tool!!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
choggoba
Townsman
Reactions:
Posts: 45
Joined: Fri Jul 20, 2018 8:30
Location: Korea
Plugins: Show

Platform

Re: How can you make a car stand on a red light?

#3

Post by choggoba » Thu Aug 02, 2018 8:48

Thank you for your kind explanation. I found out what I had to study. I will study with reference to other plug-ins.
I love my hometown. :)

I don't speak English well. Please understand me. ;)

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”

Who is online

Users browsing this forum: Google [Bot] and 1 guest