Getting started

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3499
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Getting started

#1

Post by Lobby »

Here you find useful links about plugins and how to create them :)

Copyright
Recommended to read before starting
πŸ“—β—Copyright (by Ølsken)
Copyright is a serious thing. Obey copyright rules or you might get punished :fire

1. Installation
🎬How to install plug-ins (by KINGTUT10101)

2. JSON

Part 1. Creation
πŸ“—How to write a plugin (by Lobby)
πŸ“‹Advanced tags for building plugins (by Lobby)
🎬How to make a json with Json Genie (by KINGTUT10101)

Part 2. Animation
πŸ“—Advanced smoke types (by Lobby)
πŸ“˜Date dependent animations (by Lobby)
πŸ“˜Custom animations (by FranchuFranchu)
πŸ“˜Night Animations (by Kulche)
πŸ“™People animation (by Lobby)
πŸ“™Road with borders using "animation fg" feature (by danekbel)
πŸ“™Firework (by Josh)

Part 3. Transportation
πŸ“—Higher level bridges (by Lobby)
(Note: Will need prior knowledge of bridges!)
πŸ“˜Roads (by Lobby)
πŸ“˜Cars (by Lobby)
πŸ“˜Tunnels (by Lobby)
πŸ“˜Car chains (by Lobby)
πŸ“˜Airplanes (by Lobby)
πŸ“˜The ACTUAL tutorial on flags (by FranchuFranchu)
πŸ“™Road decoration (by Lobby)
πŸ“™Helicopter (by Lobby)
πŸ“™Change in res/ind car identification (by Lobby)
πŸ“™Determining vehicle direction on roads (by CommanderABab)

Part 4. Upgrades & requirements
πŸ“™Upgrades (by Lobby)
πŸ“™Building requirements (by Lobby)
πŸ“™Enabling and Disabling Your RCI Spawning (by KINGTUT10101)

Part 5. Override
πŸ“—Explicit plugin overriding (by Lobby)
πŸ“˜Override ocean (by Lobby)
πŸ“˜Override background (by Lobby)

Part 6. Security
πŸ“—Plugin encryption (by Lobby)
πŸ“—Hide id (by Lobby)
🎬How to Add a Hidden Signature (by KINGTUT10101)

Part 7. Others
πŸ“˜Categories (by Lobby)
πŸ“˜Templates (by Lobby)
πŸ“˜Custom zones (by CommanderABab)
πŸ“—Preview Frames (by Sparkle8538)
πŸ“‹JSON (by Lobby)
πŸ“‹Writing plugin.manifest files (by Kamikazi)

3. Functions
πŸ“™Fun basics (by Lobby)
πŸ“™Functionality using fun (by Lobby)
πŸ“™Variables (by Lobby)
πŸ“™Animation control (by Lobby)
πŸ“™Notifications (by Lobby)
πŸ“™Date dependent fun condition (by Lobby)
πŸ“™Weather manipulation (by Lobby)
πŸ“™Sound with Fun (by Lobby)
πŸ“‹Action Index (by Lobby)
πŸ“‹Condition Index (by Lobby)

4. Lua
πŸ“•Lua reference
πŸ“•How to use Lua scripts (by FranchuFranchu)
πŸ“‹Lua API Documentation (by FranchuFranchu)

5. Graphics

Part 1. Creation
πŸ“—How to create a small building in 10 steps (by theotheoderich)
πŸ“˜Shadows & templates (by Ølsken)
πŸ“˜How to draw winter graphics (by Ølsken)
πŸ“˜Creating a quality house plugin (by Kulche)
πŸ“™How to create a plugin (by actemendes)
🎬How to apply textures to surfaces in Pixly(by KINGTUT101)

Part 2. Resources
πŸ–ΌοΈWorld texture (by Lobby)
πŸ–ΌοΈTree graphics (by Lobby)
πŸ–ΌοΈBuilding templates (by Lobby)


Legend:
🎬 Video.
πŸ“—πŸ“˜πŸ“™πŸ“• Textual, increasing difficulty. (beginner, intermediate, expert, extreme)
πŸ–ΌοΈ Images.
πŸ“‹ Lists.
Last edited by FranchuFranchu on Fri Jan 11, 2019 5:17, edited 7 times in total.

Sparkle8538
Small-town resident
Reactions:
Posts: 25
Joined: Fri Jul 26, 2019 11:35
Plugins: Show

Re: Getting started

#2

Post by Sparkle8538 »

...continued to 5. Graphics
Part 3. Advanced
πŸ“—Preview frames (by Sparkle8538)

Legend:
🎬 Video.
πŸ“— Beginner.
πŸ“˜ Intermediate.
πŸ“™ Expert.
πŸ“• Extreme.
πŸ–ΌοΈ Images.
πŸ“‹ Lists.
πŸ”’ Reusing certain content without permission/credit from/to a plugin creator may result in punishment.
Last edited by Sparkle8538 on Fri Aug 30, 2019 20:09, edited 1 time in total.

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

Platform

Plugin Creator

Re: Getting started

#3

Post by CommanderABab »

Zikomo.
888!888Currently using zeta 888. 888 What's that? :)
quantum road tool!!
:)

Telegram - t.me/
πŸ†ŽοΈπŸ†ŽοΈπŸ†ŽοΈπŸ†ŽοΈCommanderπŸ†ŽοΈπŸ†ŽοΈ

Online
User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2021
Joined: Thu Jul 07, 2016 22:50
Location: 'Merica
Plugins: Show
Version: Beta
Contact:

Platform

Plugin Creator

Re: Getting started

#4

Post by KINGTUT10101 »

Is there no custom zone tutorial?

User avatar
Deedzkie23
Villager
Reactions:
Posts: 8
Joined: Fri Jul 26, 2019 4:37
Plugins: Show

Re: Getting started

#5

Post by Deedzkie23 »

How to upload plugin if i am not allowed to upload here on forum? I am just a newbie here.
I am the President of my Country ;)

User avatar
Lobby
Developer
Reactions:
Posts: 3499
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta

Platform

Re: Getting started

#6

Post by Lobby »

It should work now.
=^._.^= ∫

Ilya strigo
Settler
Reactions:
Posts: 3
Joined: Sat Nov 30, 2019 10:00
Plugins: Show

Re: Getting started

#7

Post by Ilya strigo »

Как ΡΠ΄Π΅Π»Π°Ρ‚ΡŒ Π΅Π»Π΅ΠΊΡ‚Ρ€ΠΎ ΡΡ‚Π°Π½Ρ†ΠΈΡŽ
(ΠŸΠΎΠΊΠ°Π·Π°Ρ‚ΡŒ ΠΊΠΎΠ΄Ρ‹ для Π΅Π»Π΅ΠΊΡ‚Ρ€ΠΎ станции)

User avatar
RayXP
Inhabitant of a Supercluster
Reactions:
Posts: 3123
Joined: Sat Nov 17, 2018 21:49
Location: Houston, TX
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Getting started

#8

Post by RayXP »

Is there any videos on how to do animations?
πŸ‡ΊπŸ‡ΈπŸ‡²πŸ‡½
β˜† PRESIDENT OF TTRP β˜†
The Official Stadium Builder Of Theotown
Revolutionizing the Theotown Sports World
#freejoeexotic
FOLLOW @RAY.XP ON INSTA
Diehard Astros fan πŸ§‘πŸ’™
πŸ“ Houston, TX

Jeremiah Stephens
Small-town resident
Reactions:
Posts: 26
Joined: Thu Jan 30, 2020 16:56
Plugins: Show

Platform

Re: Getting started

#9

Post by Jeremiah Stephens »

KINGTUT10101 wrote: ↑
Sat Sep 07, 2019 1:32
Is there no custom zone tutorial?
πŸ“˜Custom zones (by CommanderABab)

Jeremiah Stephens
Small-town resident
Reactions:
Posts: 26
Joined: Thu Jan 30, 2020 16:56
Plugins: Show

Platform

Re: Getting started

#10

Post by Jeremiah Stephens »


User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5297
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Getting started

#11

Post by Bearbear76 »

I don't know if it's significant enough to be on the list.
ImageJust my opinion

User avatar
Kiki012
Townsman
Reactions:
Posts: 62
Joined: Mon Jan 06, 2020 9:57
Location: Indonesia
Plugins: Show
Version: Beta
Contact:

Plugin Creator

Platform

Re: Getting started

#12

Post by Kiki012 »

Please Add Night Animation Tutorial I Need it
My Website (this website still temporary,and may found some error or bug)
https://gc8lyo0urpmasyrdvpqziw-on.drv.t ... 12/W1.html
discord
https://discord.gg/w6EQ8Pk
YouTube
https://m.youtube.com/channel/UCEtTGm4VNKK1Ajaz7yyF0gQ

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5297
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Getting started

#13

Post by Bearbear76 »

Kiki012 wrote: ↑
Sun Feb 09, 2020 16:13
Please Add Night Animation Tutorial I Need it
Ok... added.
ImageJust my opinion

hihihihi
Metropolitan
Reactions:
Posts: 120
Joined: Tue Jul 30, 2019 6:05
Location: south korea
Plugins: Show

Platform

Re: Getting started

#14

Post by hihihihi »

How to make decals??
hi.

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5297
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Getting started

#15

Post by Bearbear76 »

hihihihi wrote: ↑
Thu Feb 20, 2020 1:59
How to make decals??
Do you mean road decorations or just decorations?
ImageJust my opinion

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

Platform

Plugin Creator

Re: Getting started

#16

Post by CommanderABab »

I think he means ground decorations like Josh made.
888!888Currently using zeta 888. 888 What's that? :)
quantum road tool!!
:)

Telegram - t.me/
πŸ†ŽοΈπŸ†ŽοΈπŸ†ŽοΈπŸ†ŽοΈCommanderπŸ†ŽοΈπŸ†ŽοΈ

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5297
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Getting started

#17

Post by Bearbear76 »

CommanderABab wrote: ↑
Thu Feb 20, 2020 19:39
I think he means ground decorations like Josh made.
I use this as a template for ground plugins.

Code: Select all

  ...
  "type":"ground",
  "border frames":[{"bmp":"frame.png","w":32,"h":15, "count":16, "handle y":8}],
  "edge border frames":[{"h":16,"handle x":0,"handle y":3,"w":32,"x":0,"y":320}],
  "edge frames":[{"count":12,"h":48,"w":16,"x":0,"y":96}],
  ...
ImageJust my opinion

hihihihi
Metropolitan
Reactions:
Posts: 120
Joined: Tue Jul 30, 2019 6:05
Location: south korea
Plugins: Show

Platform

Re: Getting started

#18

Post by hihihihi »

Ølsken wrote: ↑
Fri Feb 21, 2020 0:13
CommanderABab wrote: ↑
Thu Feb 20, 2020 19:39
I think he means ground decorations like Josh made.
I use this as a template for ground plugins.

Code: Select all

  ...
  "type":"ground",
  "border frames":[{"bmp":"frame.png","w":32,"h":15, "count":16, "handle y":8}],
  "edge border frames":[{"h":16,"handle x":0,"handle y":3,"w":32,"x":0,"y":320}],
  "edge frames":[{"count":12,"h":48,"w":16,"x":0,"y":96}],
  ...
THXS :bc :bc :bc :bc :bc
hi.

User avatar
Kiki012
Townsman
Reactions:
Posts: 62
Joined: Mon Jan 06, 2020 9:57
Location: Indonesia
Plugins: Show
Version: Beta
Contact:

Plugin Creator

Platform

Re: Getting started

#19

Post by Kiki012 »

Please add Influence tutorial
Last edited by Kiki012 on Fri Mar 13, 2020 13:26, edited 1 time in total.
My Website (this website still temporary,and may found some error or bug)
https://gc8lyo0urpmasyrdvpqziw-on.drv.t ... 12/W1.html
discord
https://discord.gg/w6EQ8Pk
YouTube
https://m.youtube.com/channel/UCEtTGm4VNKK1Ajaz7yyF0gQ

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5297
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Getting started

#20

Post by Bearbear76 »

Kiki012 wrote: ↑
Sat Feb 22, 2020 8:43
Please Add This Tutorial
How to Make train Plugin(By: Kiki012)
viewtopic.php?f=35&t=10975
That's not a tutorial, there's no teaching aspect in there.

That's like me saying this is how you do derivatives:

\(\frac{\mathrm{d} }{\mathrm{d} x} tan(sin(x^2)) = sec^2(sin(x^2)) \cdot cos(x^2) \cdot 2x\)

Instead it should have some teaching aspects such as:

First understand the power rule.

\(\frac{\mathrm{d} }{\mathrm{d} x} x^n = nx^{n - 1}\)

Then learn how to differentiate trig functions.

\(\frac{\mathrm{d} }{\mathrm{d} x} tan(x) = sec^2(x)\)

\(\frac{\mathrm{d} }{\mathrm{d} x} sin(x) = cos(x)\)

Then, use the chain rule (differentiate from outside to inside):

\(\therefore\frac{\mathrm{d} }{\mathrm{d} x} tan(sin(x^2)) = sec^2(sin(x^2)) \cdot cos(x^2) \cdot 2x\)

why math? idk just felt like it. :)
ImageJust my opinion

Post Reply Previous topicNext topic

Return to β€œTutorials and Documentation”