Cars

Learn here how to create and use plugins.

Moderator: KoalaGuy

User avatar
CommanderABab
Inhabitant of a Universe
Reactions:
Posts: 4763
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Cars

Post by CommanderABab » Sun Jul 30, 2017 16:07

You would draw your ships in the four directions like in the example, all the same width and the same height. Them use those values for ghe w and h in the frames statement(s).
410 :bp 410Currently using beta 410. 410 What's new? Your plugin can change weather! :)
ImageTelegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

User avatar
rjroldan1
Inhabitant of a Conurbation
Reactions:
Posts: 376
Joined: Mon Jul 17, 2017 16:16
Location: philippines
Plugins: Show
Contact:

Re: Cars

Post by rjroldan1 » Wed Aug 09, 2017 13:12

can you please thread the limo id
PROUD TO BE A FILIPINO๐Ÿ˜‰
add me on facebook Rj christian roldan
president of royal region
want more plugins?
im not a speaker just remind

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

Re: Cars

Post by Lobby » Wed Aug 09, 2017 16:21

It's just $carres02 (both, black and white limo)
...Have a nice stay

User avatar
rjroldan1
Inhabitant of a Conurbation
Reactions:
Posts: 376
Joined: Mon Jul 17, 2017 16:16
Location: philippines
Plugins: Show
Contact:

Re: Cars

Post by rjroldan1 » Wed Aug 09, 2017 17:14

Lobby wrote: โ†‘
Wed Aug 09, 2017 16:21
It's just $carres02 (both, black and white limo)
thank you lobby
PROUD TO BE A FILIPINO๐Ÿ˜‰
add me on facebook Rj christian roldan
president of royal region
want more plugins?
im not a speaker just remind

User avatar
actemendes
Metropolitan
Reactions:
Posts: 128
Joined: Fri Jan 20, 2017 16:53
Location: Russia
Plugins: Show

Re: Cars

Post by actemendes » Sun Aug 20, 2017 21:59

Is there any code that allows helicopters to spawn, including the animation of their take-off and landing. For example, as in a large fire department
Do not bend under a volatile world,
One day he will bend under us.Theo of tomorrow in developing.

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

Re: Cars

Post by Lobby » Tue Aug 22, 2017 17:36

No.

The question is, what should such an helicopter do? Just fly around a bit? I think it's not that much work to add it, but I currently have no time to.
...Have a nice stay

User avatar
actemendes
Metropolitan
Reactions:
Posts: 128
Joined: Fri Jan 20, 2017 16:53
Location: Russia
Plugins: Show

Re: Cars

Post by actemendes » Tue Aug 22, 2017 22:22

Lobby wrote: โ†‘
Tue Aug 22, 2017 17:36
No.

The question is, what should such an helicopter do? Just fly around a bit? I think it's not that much work to add it, but I currently have no time to.
In general, sending a helicopter from point A to point B. This is the main one. Of course, you can do it the way you said. Fly around the point. I do not think it's complicated. In addition, such a thing already exists in the game. Is there a way to access all the codes of the game yourself? I would like to study some mechanics, if possible
Do not bend under a volatile world,
One day he will bend under us.Theo of tomorrow in developing.

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

Re: Cars

Post by Lobby » Tue Aug 22, 2017 23:29

The code isn't open source, so there's no easy access. However, I may leak some code files for better (or less) understanding.
...Have a nice stay

User avatar
Josh
Graphic designer
Reactions:
Posts: 2150
Joined: Sat Mar 11, 2017 19:20
Location: First tell your location...
Plugins: Show
Version: Beta

Re: Cars

Post by Josh » Wed Aug 23, 2017 9:14

It sounds interesting, I also would like to know more about codes
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

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

Re: Cars

Post by Lobby » Wed Aug 23, 2017 11:15

https://github.com/LobbyDivinus/TheoTown-public

Without proper documentation. FlyingTrafficHandler handles things like helicopters, rockets, and airplanes. The folder flyingobjectcontrollers contains the corresponding controllers for each type of flying object (for plugins a generic helicopter controller would be needed similar to the implementation for cars).
...Have a nice stay

User avatar
Josh
Graphic designer
Reactions:
Posts: 2150
Joined: Sat Mar 11, 2017 19:20
Location: First tell your location...
Plugins: Show
Version: Beta

Re: Cars

Post by Josh » Wed Aug 23, 2017 16:15

@Lobby do you know a good & fast way to learn java?
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

User avatar
Barky
TheoTown Cartographer
Reactions:
Posts: 2035
Joined: Mon Apr 17, 2017 22:13
Location: Ireland
Plugins: Show

Re: Cars

Post by Barky » Wed Aug 23, 2017 16:21

There is no fast way to learn programming. It takes time and effort. I'm not very good at self-teaching myself so I'm waiting until I can learn a coding launguage in school.
Supreme leader of Reagold

"Only the dead have seen the end of the war"
-Plato

"It's all banter in the end" -Barky

User avatar
Josh
Graphic designer
Reactions:
Posts: 2150
Joined: Sat Mar 11, 2017 19:20
Location: First tell your location...
Plugins: Show
Version: Beta

Re: Cars

Post by Josh » Wed Aug 23, 2017 16:23

Barky wrote: โ†‘
Wed Aug 23, 2017 16:21
There is no fast way to learn programming. It takes time and effort. I'm not very good at self-teaching myself so I'm waiting until I can learn a coding launguage in school.
Yes, I know there is no fast way, but maybe Lobby has some tips
Proud TheoTown player sinds update 1.1.50

Creator of Aldorria, Covinton Empire, West Country, Sunnydale

Save nature, before it kills you๐ŸŒฒ

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

Re: Cars

Post by Lobby » Wed Aug 23, 2017 18:11

Doing something meaningful can be motivating in learning a language, although you will probably abort most of your starting projects. When I learned coding there were not coding video tutorials for it like you find them nowadays on platforms like Youtube. I'm not sure about that, but they are probably also really helpful.
...Have a nice stay

User avatar
JustAnyone
Inhabitant of a Planet
Reactions:
Posts: 1435
Joined: Sun Jul 23, 2017 12:45
Location: Space Station 478B
Plugins: Show
Version: Beta
Phone: Xiaomi Redmi 3s

Re: Cars

Post by JustAnyone » Sat Sep 23, 2017 11:50

Lobby, could I get swat car Texture and modify it?
President of Domkisas
Founder and owner of DSA
Official TheoTown discord manager
I will reply if someone says ANYONE
Developer of Plugin Creator.

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

Re: Cars

Post by Lobby » Sat Sep 23, 2017 12:20

Sure :img
swat.png
swat.png (618 Bytes) Viewed 365 times
...Have a nice stay

Jesus
Settler
Reactions:
Posts: 4
Joined: Wed Jul 26, 2017 21:22
Plugins: Show
Version: Beta

Re:Cars

Post by Jesus » Tue Sep 26, 2017 0:01

Lobby wrote: โ†‘
Wed May 03, 2017 21:28
It's just $cartv00 :)
can i get the texture of the tv car?

User avatar
Bearbear65
Inhabitant of a Supercluster
Reactions:
Posts: 3901
Joined: Fri Feb 10, 2017 14:53
Location: Earth
Plugins: Show
Version: Beta
Phone: Asus zenpad 10

Re: Re:Cars

Post by Bearbear65 » Tue Sep 26, 2017 10:01

Jesus wrote: โ†‘
Tue Sep 26, 2017 0:01
Lobby wrote: โ†‘
Wed May 03, 2017 21:28
It's just $cartv00 :)
can i get the texture of the tv car?
It's in the first post
ImageJust my opinion

User avatar
THEMAX
Inhabitant of a Continent
Reactions:
Posts: 1211
Joined: Thu Sep 14, 2017 17:30
Location: Paris, France
Plugins: Show
Version: Beta
Phone: STQAE imperial phone

Re: Cars

Post by THEMAX » Tue Sep 26, 2017 13:06

Can I get the texture of military tank and of swat helicopter ?
Emperor of STQAE.
Image
"vive l'empereur et vive l'empire"
have a Nice day
leader of the space, aeronautic, military research , education and Health care

Jesus
Settler
Reactions:
Posts: 4
Joined: Wed Jul 26, 2017 21:22
Plugins: Show
Version: Beta

Re: Re:Cars

Post by Jesus » Fri Sep 29, 2017 21:36

Bearbear65 wrote: โ†‘
Tue Sep 26, 2017 10:01
Jesus wrote: โ†‘
Tue Sep 26, 2017 0:01
Lobby wrote: โ†‘
Wed May 03, 2017 21:28
It's just $cartv00 :)
can i get the texture of the tv car?
It's in the first post
Thanks ๐Ÿ˜Š

User avatar
A guy from Shireport
Former Fireout
Reactions:
Posts: 2992
Joined: Fri Feb 10, 2017 17:40
Location: Longshire,Shireport
Plugins: Show

Re: Cars

Post by A guy from Shireport » Sat Sep 30, 2017 7:38

Are you Jesus?
]]]

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

Re: Cars

Post by Lobby » Sun Oct 01, 2017 22:57

Busses:
busses.png
busses.png (3.42 KiB) Viewed 253 times
SWAT:
swat.png
swat.png (618 Bytes) Viewed 253 times
...Have a nice stay

Online
User avatar
Wekabu city
Inhabitant of a Megacity
Reactions:
Posts: 270
Joined: Tue Aug 29, 2017 21:07
Location: In my mind
Plugins: Show
Version: Beta
Phone: Wiko Sunset 2

Re: Cars

Post by Wekabu city » Fri Jan 12, 2018 1:14

I've got a Question about the car spawning:
Can the target be a specific Zone ?
Diplomat and Desinger of Wekabu star system.
Creator of Blacksides! :img
Doing a night Plug-in. :plugin :json

User avatar
KoalaGuy
TheoTown Veteran
Reactions:
Posts: 5832
Joined: Mon Mar 06, 2017 21:45
Location: Pitcairn Islands
Plugins: Show
Version: Beta
Phone: SamsungGalaxyJ5 2017

Re: Cars

Post by KoalaGuy » Fri Jan 12, 2018 8:04

My game crashed when I used zone as a target
My plugins will always be free, :bx to :bd
TheoTown Translator (Serbian)
Once Best Plugin Creator
(My plugins)
Contributor
Once top poster
Most reactions
Made some graphics for TheoTown
Made some smilies

User avatar
CommanderABab
Inhabitant of a Universe
Reactions:
Posts: 4763
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: Cars

Post by CommanderABab » Fri Jan 12, 2018 8:31

Wekabu city wrote: โ†‘
Fri Jan 12, 2018 1:14
I've got a Question about the car spawning:
Can the target be a specific Zone ?
I've used "$zoneresidential" as a target with no problem.
410 :bp 410Currently using beta 410. 410 What's new? Your plugin can change weather! :)
ImageTelegram - t.me/
๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธCommander๐Ÿ†Ž๏ธ๐Ÿ†Ž๏ธ

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest