Page 1 of 1

Freeway sign

Posted: 26 Apr 2018, 06:25
by Tiar/A
I am trying to create a plugin for a freeway sign, a park-type decoration you built next to your freeways to let cars know where the exits are at. When I created a new Json file for it, it wouldn't let me into the game.

I deleted the Json file and tried to play again, this time successfully. But after creating another new Json file, the game barred me.

I don't know what to do. I'm new to the whole plugin thing, and this will be my first plugin ever. Can someone please help me?
freeway sign.png
freeway sign.png (750 Bytes) Viewed 3426 times

Re: Freeway sign

Posted: 26 Apr 2018, 06:28
by TheFennekin
Show me the code here so I can help you.

Re: Freeway sign

Posted: 26 Apr 2018, 20:58
by Tiar/A
Nevermind.

The plugin looks different now, so the current problem with it now is that when I put it next to a freeway, it automatically created a 1×1 area of water directly underneath it.
Screenshot_2018-04-26-11-59-18.png
Any idea what that's about?

Re: Freeway sign

Posted: 26 Apr 2018, 21:31
by JustAnyone

Code: Select all

"draw ground":true,

Re: Freeway sign

Posted: 27 Apr 2018, 04:51
by Tiar/A
Awesome, thanks! Issue has been corrected.

Re: Freeway sign

Posted: 27 Apr 2018, 05:27
by Tiar/A
Does anyone know how I can get it to be rotation-aware?
freeway signs.png
freeway signs.png (995 Bytes) Viewed 3335 times

Re: Freeway sign

Posted: 27 Apr 2018, 06:33
by JustAnyone

Code: Select all

"rotation aware":true,
?