Page 6 of 8

Re: Cars

Posted: 20 Nov 2021, 13:23
by JustAnyone
Such declaration of night animations would lead to a lot of wasted plugin space, henceforth, such feature is not available.

Re: Cars

Posted: 21 Nov 2021, 00:52
by THEMAX
JustAnyone wrote: 20 Nov 2021, 13:23 Such declaration of night animations would lead to a lot of wasted plugin space, henceforth, such feature is not available.
Thanks for the answer then.

Re: Cars

Posted: 22 Nov 2021, 12:38
by THEMAX
Would be nice if it was supported regardless tho, cause afaik, at least for the train expansion plugin, they dont take that much plugin space.

Re: Cars

Posted: 22 Nov 2021, 12:53
by THEMAX
Alternatively, night animations code really need to be simplified or have ways to reduce the workload for those.

Re: Cars

Posted: 26 Nov 2021, 18:25
by CERRERA
I need some help
Screenshot_20211127-001923_TheoTown.jpg

Code: Select all

"animation":[
	{"id":"$lrtheadlights00.anim2", "pos":[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "frames":[0]},
	{"id":"$lrtheadlights01.anim2", "pos":[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0], "frames":[1]},
	{"id":"$lrtheadlights02.anim2", "pos":[0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0], "frames":[2]},
	{"id":"$lrtheadlights03.anim2", "pos":[0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0], "frames":[3]},
	//diagonal light
	{"id":"$lrtheadlights00.anim2", "pos":[0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0], "frames":[4]},
	{"id":"$lrtheadlights01.anim2", "pos":[0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0], "frames":[5]},
	{"id":"$lrtheadlights02.anim2", "pos":[0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0], "frames":[6]},
	{"id":"$lrtheadlights03.anim2", "pos":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], "frames":[7]}
	],

Re: Cars

Posted: 20 Dec 2021, 08:34
by gmt2948
KTX2L.png
KTX2L.png (249 Bytes) Viewed 13467 times
Tell me how to get the pos value easily.
Screenshot_20211220-150810_KakaoTalk.jpg

Re: Cars

Posted: 20 Dec 2021, 12:44
by Yakka
gmt2948 wrote: 20 Dec 2021, 08:34 KTX2L.png
Tell me how to get the pos value easily.Screenshot_20211220-150810_KakaoTalk.jpg
Its Y = -15

Re: Cars

Posted: 25 Dec 2021, 06:28
by Yakka
Finally im understand how to make diagonal one, but not night animation yet, i know it such wasting plugin space but lobby did add winter even small amount of building have winter frame. But yeah im posting this comment just to show.
Wakoru2_21-12-25_11.18.46.png
Wakoru2_21-12-25_11.18.55.png

Re: Cars

Posted: 30 Dec 2021, 06:37
by Yakka
Can someone explain this for me
The V2 is bit different from others

Code: Select all    Reset

{ "id": "$tractor_trailer00", "type": "car", "frames": [{ "x": 644, "y": 709, "w": 14, "h": 11, "count": 4 }], "animation": [ { "id": "carlight_red", "pos": [0, 0, 0, 8, 9, 10, 0, 0], "frames": [1, 2] }, { "id": "carlight_red", "pos": [0, 0, 4, 10, 13, 8, 0, 0], "frames": [1, 2] } ], "v2": [3, 1, 2, 0] //Explain this }, { "id": "$tractor00", "type": "car", "frames": [{ "x": 700, "y": 717, "w": 16, "h": 10, "count": 4 }], "animation": [ { "id": "carlight_red", "pos": [0, 0, 0, 6, 12, 7, 0, 0], "frames": [1, 2] }, { "id": "carlight_red", "pos": [0, 0, 3, 7, 15, 6, 0, 0], "frames": [1, 2] }, { "id": "carlight_yellow", "pos": [7, 5, 0, 0, 0, 0, 6, 5], "frames": [0, 3] }, { "id": "carlight_yellow", "pos": [9, 4, 0, 0, 0, 0, 8, 6], "frames": [0, 3] } ], "speed": 0.5, "tail": ["$tractor_trailer00"], "v2": [3, 1, 1, 1], //Explain this "flag normal": false, "flag tractor": true }
JSON checker
Check

Re: Cars

Posted: 03 Jan 2022, 11:24
by Yakka
Kiki012 wrote: 30 Dec 2021, 06:37 Can someone explain this for me
The V2 is bit different from others

Code: Select all    Reset

{ "id": "$tractor_trailer00", "type": "car", "frames": [{ "x": 644, "y": 709, "w": 14, "h": 11, "count": 4 }], "animation": [ { "id": "carlight_red", "pos": [0, 0, 0, 8, 9, 10, 0, 0], "frames": [1, 2] }, { "id": "carlight_red", "pos": [0, 0, 4, 10, 13, 8, 0, 0], "frames": [1, 2] } ], "v2": [3, 1, 2, 0] //Explain this }, { "id": "$tractor00", "type": "car", "frames": [{ "x": 700, "y": 717, "w": 16, "h": 10, "count": 4 }], "animation": [ { "id": "carlight_red", "pos": [0, 0, 0, 6, 12, 7, 0, 0], "frames": [1, 2] }, { "id": "carlight_red", "pos": [0, 0, 3, 7, 15, 6, 0, 0], "frames": [1, 2] }, { "id": "carlight_yellow", "pos": [7, 5, 0, 0, 0, 0, 6, 5], "frames": [0, 3] }, { "id": "carlight_yellow", "pos": [9, 4, 0, 0, 0, 0, 8, 6], "frames": [0, 3] } ], "speed": 0.5, "tail": ["$tractor_trailer00"], "v2": [3, 1, 1, 1], //Explain this "flag normal": false, "flag tractor": true }
JSON checker
Check
Nevermind i understand it now,it only working non diagonal mode,its something like handle y for animation,but it's for cars.

Re: Cars

Posted: 07 Jan 2022, 01:50
by Yakka
Here's some explanation from my previous post

Did you car somewhat miss aligned with road or rail track, by Y axis (up or down)?

Code: Select all

"v2":[
0, //First Y axis of frame
0, //Second Y axis of frame
0, //Third Y axis of frame
0 //Fourth Y axis of frame
]
Negative value is equally down
Positive value is equally up

Here some examples:
Before:
TestLandK012_22-01-07_06.51.54.png
After:
TestLandK012_22-01-07_06.57.30.png

As shown at several in game cars.

Re: Cars

Posted: 13 Jan 2022, 12:10
by SRBAPH
hello! what are the id of categories? bc when i created my own plugin in Theoown Plugin Creator, it has an error that categry id could not be found...

Re: Cars

Posted: 14 Jan 2022, 03:32
by Yakka
SRBAPH wrote: 13 Jan 2022, 12:10 hello! what are the id of categories? bc when i created my own plugin in Theoown Plugin Creator, it has an error that categry id could not be found...
Car type is requiring an category,it won't show up to at category.

Re: Cars

Posted: 14 Jan 2022, 05:02
by SRBAPH
sorry i cant understand, should i remove its category?

Re: Cars

Posted: 14 Jan 2022, 14:56
by Yakka
SRBAPH wrote: 14 Jan 2022, 05:02 sorry i cant understand, should i remove its category?
Sorry i was typing to quickly so i missed some,yes you need to remove category

Re: Cars

Posted: 15 Jan 2022, 08:20
by SRBAPH
Kiki012 wrote: 14 Jan 2022, 14:56
Sorry i was typing to quickly so i missed some,yes you need to remove category
ok! thanks for knowing me

Re: Cars

Posted: 29 Jan 2022, 02:53
by Alparingitlgnd5
Kiki012 wrote: 16 Aug 2021, 05:31 Can anyone provide an example for very long vehicle,like more than 22pixel in width,in this case i need a example for 1 tile long
woah your signature is a animated train

Re: Cars

Posted: 29 Jan 2022, 03:36
by Yakka
Alparingitlgnd5 wrote: 29 Jan 2022, 02:53
Kiki012 wrote: 16 Aug 2021, 05:31 Can anyone provide an example for very long vehicle,like more than 22pixel in width,in this case i need a example for 1 tile long
woah your signature is a animated train
Let's talk about this in private message or other topics if you want to know how i do so.

Re: Cars

Posted: 05 Feb 2022, 12:33
by Alparingitlgnd5
I got a big insane problem guys, I had only one frame okay, but the three other frames were not properly fixed
help! :( :(

Re: Cars

Posted: 05 Feb 2022, 12:39
by CommanderABab
Post the png file. Is it v2 or original?