Cars

Learn here how to create and use plugins.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
Barky
TheoTown Cartographer
Posts: 2056
Joined: 17 Apr 2017, 22:13
Location: Ireland
Plugins: Showcase Store

Platform

Re: Cars

#21

Post by Barky » 30 Jul 2017, 15:21

Please don't quote where not nessesary
User avatar
Hadestia
Inhabitant of a Megalopolis
Posts: 727
Joined: 17 Jul 2017, 16:16
Location: Philippines
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Cars

#22

Post by Hadestia » 30 Jul 2017, 15:24

Sorry can you help me
User avatar
CommanderABab
AB
Posts: 11264
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Cars

#23

Post by CommanderABab » 30 Jul 2017, 16:07

You would draw your ships in the four directions like in the example, all the same width and the same height. Then use those values for the w and h in the frames statement(s).
User avatar
Hadestia
Inhabitant of a Megalopolis
Posts: 727
Joined: 17 Jul 2017, 16:16
Location: Philippines
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Cars

#24

Post by Hadestia » 09 Aug 2017, 13:12

can you please thread the limo id
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Cars

#25

Post by Lobby » 09 Aug 2017, 16:21

It's just $carres02 (both, black and white limo)
User avatar
Hadestia
Inhabitant of a Megalopolis
Posts: 727
Joined: 17 Jul 2017, 16:16
Location: Philippines
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Cars

#26

Post by Hadestia » 09 Aug 2017, 17:14

Lobby wrote: 09 Aug 2017, 16:21 It's just $carres02 (both, black and white limo)
thank you lobby
User avatar
actemendes
Metropolitan
Posts: 131
Joined: 20 Jan 2017, 16:53
Location: Russia
Plugins: Showcase Store

Platform

Re: Cars

#27

Post by actemendes » 20 Aug 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
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Cars

#28

Post by Lobby » 22 Aug 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.
User avatar
actemendes
Metropolitan
Posts: 131
Joined: 20 Jan 2017, 16:53
Location: Russia
Plugins: Showcase Store

Platform

Re: Cars

#29

Post by actemendes » 22 Aug 2017, 22:22

Lobby wrote: 22 Aug 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
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Cars

#30

Post by Lobby » 22 Aug 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.
User avatar
Josh
Graphic designer
Posts: 2215
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Cars

#31

Post by Josh » 23 Aug 2017, 09:14

It sounds interesting, I also would like to know more about codes
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Cars

#32

Post by Lobby » 23 Aug 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).
User avatar
Josh
Graphic designer
Posts: 2215
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Cars

#33

Post by Josh » 23 Aug 2017, 16:15

@Lobby do you know a good & fast way to learn java?
User avatar
Barky
TheoTown Cartographer
Posts: 2056
Joined: 17 Apr 2017, 22:13
Location: Ireland
Plugins: Showcase Store

Platform

Re: Cars

#34

Post by Barky » 23 Aug 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.
User avatar
Josh
Graphic designer
Posts: 2215
Joined: 11 Mar 2017, 19:20
Location: The Netherlands
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Cars

#35

Post by Josh » 23 Aug 2017, 16:23

Barky wrote: 23 Aug 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
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Cars

#36

Post by Lobby » 23 Aug 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.
User avatar
JustAnyone
Developer
Posts: 3590
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Cars

#37

Post by JustAnyone » 23 Sep 2017, 11:50

Lobby, could I get swat car Texture and modify it?
User avatar
Lobby
Developer
Posts: 3719
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Cars

#38

Post by Lobby » 23 Sep 2017, 12:20

Sure :img
swat.png
swat.png (618 Bytes) Viewed 18929 times
User avatar
Jesus
Villager
Posts: 12
Joined: 26 Jul 2017, 21:22
Plugins: Showcase Store
Version: Beta

Platform

Re:Cars

#39

Post by Jesus » 26 Sep 2017, 00:01

Lobby wrote: 03 May 2017, 21:28 It's just $cartv00 :)
can i get the texture of the tv car?
User avatar
Bearbear76
Former Bearbear65
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: Re:Cars

#40

Post by Bearbear76 » 26 Sep 2017, 10:01

Jesus wrote: 26 Sep 2017, 00:01
Lobby wrote: 03 May 2017, 21:28 It's just $cartv00 :)
can i get the texture of the tv car?
It's in the first post
Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”