Getting started

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Lobby
Developer
Reactions:
Posts: 3662
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Getting started

#1

Post by Lobby »

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

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

1. Installation
๐ŸŽฌHow to install plug-ins (by KINGTUT10101) (outdated)
๐ŸŽฌInstalling plugins in the New Way (1.9.95+) (by Kamikazi)

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 former member)
๐Ÿ“™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)
๐Ÿ“™Pedestrians (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)
๐Ÿ“˜Custom water (by Lobby)
๐Ÿ“˜Override background (by Lobby)

Part 6. Security
๐Ÿ“—Plugin encryption (create .plugin file) (by Lobby)
๐Ÿ“—Hide id (by Lobby)
๐ŸŽฌHow to Add a Hidden Signature (by KINGTUT10101)

Part 7. Translation
๐Ÿ“—Inline translations (by Lobby)
๐Ÿ“˜External translations (by Lobby)

Part 8. Others
๐Ÿ“˜Categories (by Lobby)
๐Ÿ“˜Templates (by Lobby)
๐Ÿ“˜Custom zones (by CommanderABab)
๐Ÿ“—Preview Frames (by Sparkle8538)
๐Ÿ“™Fences (by Jeremiah Stephens)
๐Ÿ“•Compositions (by Lobby)
๐Ÿ“‹JSON (by Lobby)
๐Ÿ“‹Writing plugin.manifest files (by Kamikazi)

3. Functions (deprecated, we recommend to use Lua instead)
๐Ÿ“™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)
๐Ÿ“•GUI Compendium (by Lobby)
๐Ÿ“•Tree Planter Tool Example (by Lobby)

5. Graphics

Part 1. Creation
๐Ÿ“—How to create a small building in 10 steps (by theotheoderich)
๐Ÿ“˜Shadows & templates (by Bearbear76)
๐Ÿ“˜How to draw winter graphics (by Bearbear76)
๐Ÿ“˜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)
๐Ÿ–ผ๏ธJSON (by Lobby)
๐Ÿ–ผ๏ธTree graphics (by Lobby)
๐Ÿ–ผ๏ธBuilding templates (by Lobby)


Legend:
๐ŸŽฌ Video.
๐Ÿ“—๐Ÿ“˜๐Ÿ“™๐Ÿ“• Textual, increasing difficulty. (beginner, intermediate, expert, extreme)
๐Ÿ–ผ๏ธ Images.
๐Ÿ“‹ Lists.
Last edited by JustAnyone on 22 Sep 2020, 16:22, edited 8 times in total.

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

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 30 Aug 2019, 20:09, edited 1 time in total.

User avatar
CommanderABab
AB
Reactions:
Posts: 10210
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Getting started

#3

Post by CommanderABab »

Zikomo.

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2179
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
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: 26 Jul 2019, 04:37
Plugins: Showcase Store

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: 3662
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Getting started

#6

Post by Lobby »

It should work now.
=^._.^= โˆซ

Ilya strigo
Settler
Reactions:
Posts: 3
Joined: 30 Nov 2019, 10:00
Plugins: Showcase Store

Re: Getting started

#7

Post by Ilya strigo »

ะšะฐะบ ัะดะตะปะฐั‚ัŒ ะตะปะตะบั‚ั€ะพ ัั‚ะฐะฝั†ะธัŽ
(ะŸะพะบะฐะทะฐั‚ัŒ ะบะพะดั‹ ะดะปั ะตะปะตะบั‚ั€ะพ ัั‚ะฐะฝั†ะธะธ)

User avatar
RayXP
Inhabitant of a Multiverse
Reactions:
Posts: 5079
Joined: 17 Nov 2018, 21:49
Location: Houston, TX
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Getting started

#8

Post by RayXP »

Is there any videos on how to do animations?
๐Ÿ‡บ๐Ÿ‡ธ
โ˜† PRESIDENT OF TTRP โ˜†
Retired
FOLLOW @HTX.RAYMUNDO ON INSTA
THX FOR 100K DOWNLOADS ๐Ÿ™Œ๐Ÿป
๐Ÿ“ Houston, TX ๐Ÿ‡บ๐Ÿ‡ธ

Jeremiah Stephens
Inhabitant of a Megacity
Reactions:
Posts: 247
Joined: 30 Jan 2020, 16:56
Plugins: Showcase Store

Platform

Plugin Creator

Re: Getting started

#9

Post by Jeremiah Stephens »

KINGTUT10101 wrote: โ†‘
07 Sep 2019, 01:32
Is there no custom zone tutorial?
๐Ÿ“˜Custom zones (by CommanderABab)

Jeremiah Stephens
Inhabitant of a Megacity
Reactions:
Posts: 247
Joined: 30 Jan 2020, 16:56
Plugins: Showcase Store

Platform

Plugin Creator

Re: Getting started

#10

Post by Jeremiah Stephens »


User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5439
Joined: 10 Feb 2017, 14:53
Plugins: Showcase Store
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.
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 387
Joined: 06 Jan 2020, 09:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Getting started

#12

Post by Kiki012 »

Please Add Night Animation Tutorial I Need it
Image
Safety begins with you
๐Ÿ‡ฎ๐Ÿ‡ฉ Situs saya
๐Ÿ‡ฌ๐Ÿ‡ง My Website


User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5439
Joined: 10 Feb 2017, 14:53
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Getting started

#13

Post by Bearbear76 »

Kiki012 wrote: โ†‘
09 Feb 2020, 16:13
Please Add Night Animation Tutorial I Need it
Ok... added.
Just my opinion
I'm probably recompiling my kernel... :o

hihihihi
Metropolitan
Reactions:
Posts: 112
Joined: 30 Jul 2019, 06:05
Location: south korea
Plugins: Showcase Store

Platform

Re: Getting started

#14

Post by hihihihi »

How to make decals??
Actually, I'm alive. :bc

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5439
Joined: 10 Feb 2017, 14:53
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Getting started

#15

Post by Bearbear76 »

hihihihi wrote: โ†‘
20 Feb 2020, 01:59
How to make decals??
Do you mean road decorations or just decorations?
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
CommanderABab
AB
Reactions:
Posts: 10210
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Getting started

#16

Post by CommanderABab »

I think he means ground decorations like Josh made.

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5439
Joined: 10 Feb 2017, 14:53
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Getting started

#17

Post by Bearbear76 »

CommanderABab wrote: โ†‘
20 Feb 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}],
  ...
Just my opinion
I'm probably recompiling my kernel... :o

hihihihi
Metropolitan
Reactions:
Posts: 112
Joined: 30 Jul 2019, 06:05
Location: south korea
Plugins: Showcase Store

Platform

Re: Getting started

#18

Post by hihihihi »

ร˜lsken wrote: โ†‘
21 Feb 2020, 00:13
CommanderABab wrote: โ†‘
20 Feb 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
Actually, I'm alive. :bc

User avatar
Kiki012
Inhabitant of a Conurbation
Reactions:
Posts: 387
Joined: 06 Jan 2020, 09:57
Location: Java-indonesia
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Getting started

#19

Post by Kiki012 »

Please add Influence tutorial
Last edited by Kiki012 on 13 Mar 2020, 13:26, edited 1 time in total.
Image
Safety begins with you
๐Ÿ‡ฎ๐Ÿ‡ฉ Situs saya
๐Ÿ‡ฌ๐Ÿ‡ง My Website


User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5439
Joined: 10 Feb 2017, 14:53
Plugins: Showcase Store
Version: Beta

Platform

Plugin Creator

Re: Getting started

#20

Post by Bearbear76 »

Kiki012 wrote: โ†‘
22 Feb 2020, 08: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. :)
Just my opinion
I'm probably recompiling my kernel... :o

Post Reply Previous topicNext topic

Return to โ€œTutorials and Documentationโ€