Cars

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3183
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Cars

Post by Lobby » Fri Jan 26, 2018 1:51

1. The new bus system uses new features to generate cars in different colors. I'll explain that in the future.

2. You have to add this into your bus definition:

Code: Select all

"template":"$template_bus00"
The bus will then be added to the variants of busses.
...Have a nice stay

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

Re: Cars

Post by CommanderABab » Fri Feb 02, 2018 1:24

My plugins spawn cars just fine. Keep traffic set at 2x or less in the settings. Give the cars targets to go to and a fairly large radius so that they have a chance of finding targets.
587587Currently using beta 587. 587 What's new? :)
bus routes are supposed to be fixed!!
:cry:

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

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4567
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: Xperia™ XZ1 SO-01K

Re: Cars

Post by Bearbear65 » Mon Jun 04, 2018 13:24

From beta 1.4.84 you can use:

Code: Select all

"v2":[0,0,0,0]
This allows you to shift/move cars by adjusting it's height.
By changing the value you can change the height of the specific frame.
The numbers indicate the frames in this order:
carsample.png
carsample.png (1007 Bytes) Viewed 1305 times
By writing the following you will adjust the 1st and 3rd frame by +1.

Code: Select all

"v2":[1,0,1,0]
Correct me if I'm wrong with any of this information! :json
ImageJust my opinion
Theotown forum authoritarian

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

Re: Cars

Post by CommanderABab » Mon Jun 04, 2018 17:59

That ability has been around for a few versions now.

It will work in the last public version also.
587587Currently using beta 587. 587 What's new? :)
bus routes are supposed to be fixed!!
:cry:

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

User avatar
NEPman
Small-town resident
Reactions:
Posts: 35
Joined: Tue Apr 24, 2018 13:15
Location: <..>
Plugins: Show
Phone model: 8-800-555-35-35

Re: Cars

Post by NEPman » Fri Jun 08, 2018 18:36

I have one question. I want to make ship spawner. How can I write it? As "car spawner" or "ship spawner"?

yusuf8a684
Inhabitant of a Country
Reactions:
Posts: 869
Joined: Sun Dec 10, 2017 22:09
Location: Turkiye
Plugins: Show
Phone model: Discovery One

Re: Cars

Post by yusuf8a684 » Mon Jul 16, 2018 13:07

I need tractor textures, where can i find it?
Discord=EZGsP3n

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4567
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: Xperia™ XZ1 SO-01K

Re: Cars

Post by Bearbear65 » Fri Jul 20, 2018 0:18

yusuf8a684 wrote:
Mon Jul 16, 2018 13:07
I need tractor textures, where can i find it?
Couldn't find it in the world texture :bt
But here
Tractors.png
Tractors.png (4.06 KiB) Viewed 1073 times
ImageJust my opinion
Theotown forum authoritarian

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 528
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: Cars

Post by sairam » Sun Aug 12, 2018 16:05

I have a problem the car frame partly v1 and v2. How to use the graphics. Please help. I'll upload the frame of car. Here it is.
file_3.png
file_3.png (889 Bytes) Viewed 944 times
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D ( ͡° ͜ʖ ͡°)

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

Re: Cars

Post by CommanderABab » Sun Aug 12, 2018 16:42

Screenshot_20180812-101735.jpg
587587Currently using beta 587. 587 What's new? :)
bus routes are supposed to be fixed!!
:cry:

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

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

Re: Cars

Post by CommanderABab » Sun Aug 12, 2018 17:26

Or vice versa :)
587587Currently using beta 587. 587 What's new? :)
bus routes are supposed to be fixed!!
:cry:

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

Imran M
Metropolitan
Reactions:
Posts: 122
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Huawei p8 lite

Re: Cars

Post by Imran M » Fri Dec 14, 2018 12:55

@Lobby Hi, there's something wrong. When I try to use my truck, it says it can't find the I'd.
Attachments
space.zip
(7.93 KiB) Downloaded 5 times
I HATE doing roofs, and I can't find any good window colours. :bb
I can also help, most of the time. As long as it's fun, or something easy, like making Json files.

User avatar
Lobby
Developer
Reactions:
Posts: 3183
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Cars

Post by Lobby » Fri Dec 14, 2018 13:40

@Imran M That's because of the order in which your files are read in. Rename your "space cars" folder into "a_space cars" to ensure that it will be loaded first.
...Have a nice stay

Imran M
Metropolitan
Reactions:
Posts: 122
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Huawei p8 lite

Re: Cars

Post by Imran M » Fri Dec 14, 2018 13:59

Thanks! I didn't know that!
I HATE doing roofs, and I can't find any good window colours. :bb
I can also help, most of the time. As long as it's fun, or something easy, like making Json files.

Imran M
Metropolitan
Reactions:
Posts: 122
Joined: Wed Oct 24, 2018 13:41
Plugins: Show
Phone model: Huawei p8 lite

Re: Cars

Post by Imran M » Fri Dec 14, 2018 14:30

Meh, close enough.
Attachments
Okerak_18-12-14_12.27.26.png
I HATE doing roofs, and I can't find any good window colours. :bb
I can also help, most of the time. As long as it's fun, or something easy, like making Json files.

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”

Who is online

Users browsing this forum: No registered users and 1 guest