Cars

Learn here how to create and use plugins.

Moderator: KoalaGuy

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5487
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).
466466Currently using beta 466. 466 What's new? :)
Plugin image prefetch!
:)

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

User avatar
rjroldan1
Inhabitant of a Conurbation
Reactions:
Posts: 394
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
Silent

President of Metropole region

____________________________________________________________________________________
I LOVE PHILIPPINES

User avatar
Lobby
Developer
Reactions:
Posts: 2909
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: 394
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
Silent

President of Metropole region

____________________________________________________________________________________
I LOVE PHILIPPINES

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: 2909
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: 2909
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: 2205
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
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: 2909
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: 2205
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
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: 2081
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


Will leave forum if the tunnel issue is not (properly) resolved.

User avatar
Josh
Graphic designer
Reactions:
Posts: 2205
Joined: Sat Mar 11, 2017 19:20
Location: The Netherlands
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: 2909
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 Solar System
Reactions:
Posts: 1683
Joined: Sun Jul 23, 2017 12:45
Location: Pickle Command Centre
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?
Founder and owner of DSA
TheoTown discord manager
Developer of Plugin Creator Application.

User avatar
Lobby
Developer
Reactions:
Posts: 2909
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 485 times
...Have a nice stay

Jesus
Villager
Reactions:
Posts: 11
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 Universe
Reactions:
Posts: 4169
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 Galaxy
Reactions:
Posts: 2018
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 Atlantean federated empire
Image
vive l'empereur et vive l'empire
leader of the space, aeronautic, military research , education and Health care

Jesus
Villager
Reactions:
Posts: 11
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: 3396
Joined: Fri Feb 10, 2017 17:40
Location: Peräjärvi,Soumi
Plugins: Show
Version: Beta

Re: Cars

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

Are you Jesus?
i don't know what I want to do with this

User avatar
Lobby
Developer
Reactions:
Posts: 2909
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 373 times
SWAT:
swat.png
swat.png (618 Bytes) Viewed 373 times
...Have a nice stay

User avatar
Wekabu city
Inhabitant of a Conurbation
Reactions:
Posts: 400
Joined: Tue Aug 29, 2017 21:07
Location: Somewhere in the nowhere
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 ?
Back in Business!

User avatar
KoalaGuy
TheoTown Veteran
Reactions:
Posts: 6422
Joined: Mon Mar 06, 2017 21:45
Location: Koalafornia
Plugins: Show
Version: Beta
Phone: SamsungGalaxyJ5 2017
Contact:

Re: Cars

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

My game crashed when I used zone as a target

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5487
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.
466466Currently using beta 466. 466 What's new? :)
Plugin image prefetch!
:)

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest