Cars

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#101

Post by Kiki012 »

THEMAX wrote:
Thu Nov 18, 2021 21:39
So essentially, I would like to be able to do this :
Themax_Train_Real_33_Bombardier_Innovia_200_LasVegas_End.pngThemax_TrainNight_Real_33_Bombardier_Innovia_200_LasVegas_End.png

This would truly be of great help and reduce the workload BY A LOT also allowing me to update the railroad expansion plugin faster.
I Agree.

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
JustAnyone
Developer
Reactions:
Posts: 3262
Joined: Sun Jul 23, 2017 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Cars

#102

Post by JustAnyone »

Such declaration of night animations would lead to a lot of wasted plugin space, henceforth, such feature is not available.

User avatar
THEMAX
Inhabitant of a Universe
Reactions:
Posts: 4302
Joined: Thu Sep 14, 2017 17:30
Location: Astrellia, UHAE
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Cars

#103

Post by THEMAX »

JustAnyone wrote:
Sat Nov 20, 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.
Emperor of Atlantean federated empire
Image
Founder state of Internationxal council
Leader of AEOY and steel pact

User avatar
THEMAX
Inhabitant of a Universe
Reactions:
Posts: 4302
Joined: Thu Sep 14, 2017 17:30
Location: Astrellia, UHAE
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Cars

#104

Post 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.
Emperor of Atlantean federated empire
Image
Founder state of Internationxal council
Leader of AEOY and steel pact

User avatar
THEMAX
Inhabitant of a Universe
Reactions:
Posts: 4302
Joined: Thu Sep 14, 2017 17:30
Location: Astrellia, UHAE
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Cars

#105

Post by THEMAX »

Alternatively, night animations code really need to be simplified or have ways to reduce the workload for those.
Emperor of Atlantean federated empire
Image
Founder state of Internationxal council
Leader of AEOY and steel pact

User avatar
CERRERA
Small-town resident
Reactions:
Posts: 38
Joined: Sat Jan 25, 2020 6:19
Location: Philippines
Plugins: Showcase Store
Version: Beta
Contact:

Platform

Plugin Creator

Re: Cars

#106

Post 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]}
	],
Everything you can imagine is real

gmt2948
Villager
Reactions:
Posts: 9
Joined: Mon Jun 08, 2020 4:48
Plugins: Showcase Store

Re: Cars

#107

Post by gmt2948 »

KTX2L.png
KTX2L.png (249 Bytes) Viewed 557 times
Tell me how to get the pos value easily.
Screenshot_20211220-150810_KakaoTalk.jpg

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#108

Post by Kiki012 »

gmt2948 wrote:
Mon Dec 20, 2021 8:34
KTX2L.png
Tell me how to get the pos value easily.Screenshot_20211220-150810_KakaoTalk.jpg
Its Y = -15

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#109

Post by Kiki012 »

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

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#110

Post by Kiki012 »

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

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#111

Post by Kiki012 »

Kiki012 wrote:
Thu Dec 30, 2021 6: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.

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#112

Post by Kiki012 »

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.

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
SRBAPH
Settler
Reactions:
Posts: 4
Joined: Thu Jan 13, 2022 5:59

Plugin Creator

Platform

Re: Cars

#113

Post 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...
꧁༒𝔖ℜ𝔅𝔄 𝔓ℌ༒꧂

CEO of Department of Transportation and Communications
(DOTC)


Youtube Channel
https://bit.ly/3rh6hd9

I'm a 13 years old Programmer from the Philippines!
View my Site for more informations:

https://bit.ly/3FnMWfD

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#114

Post by Kiki012 »

SRBAPH wrote:
Thu Jan 13, 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.

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
SRBAPH
Settler
Reactions:
Posts: 4
Joined: Thu Jan 13, 2022 5:59

Plugin Creator

Platform

Re: Cars

#115

Post by SRBAPH »

sorry i cant understand, should i remove its category?
꧁༒𝔖ℜ𝔅𝔄 𝔓ℌ༒꧂

CEO of Department of Transportation and Communications
(DOTC)


Youtube Channel
https://bit.ly/3rh6hd9

I'm a 13 years old Programmer from the Philippines!
View my Site for more informations:

https://bit.ly/3FnMWfD

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 353
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Cars

#116

Post by Kiki012 »

SRBAPH wrote:
Fri Jan 14, 2022 5: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

Show
A self reminder that might be useful for others
Think the consequence first before deciding, because you may make future self in trouble
Changed my mind
Want some free diamond? PM me! :bp

User avatar
SRBAPH
Settler
Reactions:
Posts: 4
Joined: Thu Jan 13, 2022 5:59

Plugin Creator

Platform

Re: Cars

#117

Post by SRBAPH »

Kiki012 wrote:
Fri Jan 14, 2022 14:56

Sorry i was typing to quickly so i missed some,yes you need to remove category
ok! thanks for knowing me
꧁༒𝔖ℜ𝔅𝔄 𝔓ℌ༒꧂

CEO of Department of Transportation and Communications
(DOTC)


Youtube Channel
https://bit.ly/3rh6hd9

I'm a 13 years old Programmer from the Philippines!
View my Site for more informations:

https://bit.ly/3FnMWfD

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”