Getting started
Moderator: Plugin Moderators
- Lobby
- Developer
- Posts: 3714
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Getting started
TheoTown has extensive features which allow the creation of powerful plugins. However, with the vast amount of tutorials and documentations
created it could be hard to find what you are looking for. This topic was created to help you quickly find what you need.
Copyright (Read this before publishing plugins for the first time)
Copyright is a serious thing. Obey copyright rules or you will get punished!
Copyright
Installation
Installing plugins in the New Way (1.9.95+)
JSON
Creation
How to write a plugin
Advanced tags for building plugins
How to make a json with Json Genie
Animation
Advanced smoke types
Date dependent animations
Custom animations
Night Animations
Saving plugin space using Animations
People animation
Firework
Transportation
Higher level bridges (Note: Will need prior knowledge of bridges)
Roads
Cars
Tunnels
Car chains
Airplanes
The ACTUAL tutorial on flags
Road decoration
Pedestrians
Helicopter
Change in res/ind car identification
Determining vehicle direction on roads
Upgrades & requirements
Upgrades
Building requirements
Enabling and Disabling Your RCI Spawning
Override
Explicit plugin overriding
Custom water
Override background
Security
Plugin encryption (create .plugin file)
Hide id
How to Add a Hidden Signature
Translation
Inline translations
External translations
Misc
Categories
Templates
Custom zones
Preview Frames
Compositions
Biomes
Fences
JSON
Writing plugin.manifest files
Behavior via Fun
It's simple but also quite limited; we therefore recommend to use Lua instead for non-trivial tasks.
Fun basics
Functionality using fun
Variables
Animation control
Notifications
Date dependent fun condition
Weather manipulation
Sound with Fun
Virtual Variables
Action Index
Condition Index
Lua Scripting
How to use Lua scripts
GUI Compendium
Drawing basics
Saving data persistently
[792] Real time script editing
[1.8.95] Plugin settings
Tree Planter Tool Example
GUI example in Plugin Creator Tools
Lua API reference
OpenGL Shading Language (GLSL)
[1.10.50] Custom Shaders (Incomplete)
Graphics
Creation
How to create a small building in 10 steps
A visual guide for shadows, shading, depth and noise
Shadows & templates (The above tutorial is recommended instead)
How to draw winter graphics
Creating a quality house plugin
How to create a plugin
How to apply textures to surfaces in Pixly
Resources
World texture
JSON
Tree graphics
Building templates
Legend:
Textual, increasing difficulty. (beginner, intermediate, expert, extreme).
Snippets or examples.
Lists.
Images.
Video.
Special thank you to everyone who help creates tutorials and documentations.
created it could be hard to find what you are looking for. This topic was created to help you quickly find what you need.
Copyright (Read this before publishing plugins for the first time)
Copyright is a serious thing. Obey copyright rules or you will get punished!
Copyright
Installation
Installing plugins in the New Way (1.9.95+)
JSON
Creation
How to write a plugin
Advanced tags for building plugins
How to make a json with Json Genie
Animation
Advanced smoke types
Date dependent animations
Custom animations
Night Animations
Saving plugin space using Animations
People animation
Firework
Transportation
Higher level bridges (Note: Will need prior knowledge of bridges)
Roads
Cars
Tunnels
Car chains
Airplanes
The ACTUAL tutorial on flags
Road decoration
Pedestrians
Helicopter
Change in res/ind car identification
Determining vehicle direction on roads
Upgrades & requirements
Upgrades
Building requirements
Enabling and Disabling Your RCI Spawning
Override
Explicit plugin overriding
Custom water
Override background
Security
Plugin encryption (create .plugin file)
Hide id
How to Add a Hidden Signature
Translation
Inline translations
External translations
Misc
Categories
Templates
Custom zones
Preview Frames
Compositions
Biomes
Fences
JSON
Writing plugin.manifest files
Behavior via Fun
It's simple but also quite limited; we therefore recommend to use Lua instead for non-trivial tasks.
Fun basics
Functionality using fun
Variables
Animation control
Notifications
Date dependent fun condition
Weather manipulation
Sound with Fun
Virtual Variables
Action Index
Condition Index
Lua Scripting
How to use Lua scripts
GUI Compendium
Drawing basics
Saving data persistently
[792] Real time script editing
[1.8.95] Plugin settings
Tree Planter Tool Example
GUI example in Plugin Creator Tools
Lua API reference
OpenGL Shading Language (GLSL)
[1.10.50] Custom Shaders (Incomplete)
Graphics
Creation
How to create a small building in 10 steps
A visual guide for shadows, shading, depth and noise
Shadows & templates (The above tutorial is recommended instead)
How to draw winter graphics
Creating a quality house plugin
How to create a plugin
How to apply textures to surfaces in Pixly
Resources
World texture
JSON
Tree graphics
Building templates
Legend:
Textual, increasing difficulty. (beginner, intermediate, expert, extreme).
Snippets or examples.
Lists.
Images.
Video.
Special thank you to everyone who help creates tutorials and documentations.
Last edited by Bearbear76 on 23 Sep 2022, 04:59, edited 9 times in total.
- Sparkle8538
- Small-town resident
- Posts: 25
- Joined: 26 Jul 2019, 11:35
- Plugins: Showcase Store
Re: Getting started
...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.
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.
- CommanderABab
- AB
- Posts: 11193
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Getting started
Zikomo.
- KINGTUT10101
- 1,000,000 inhabitants
- Posts: 2226
- Joined: 07 Jul 2016, 22:50
- Location: 'Merica
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
Re: Getting started
Is there no custom zone tutorial?
- Deedzkie23
- Villager
- Posts: 8
- Joined: 26 Jul 2019, 04:37
- Plugins: Showcase Store
Re: Getting started
How to upload plugin if i am not allowed to upload here on forum? I am just a newbie here.
- Ilya strigo
- Settler
- Posts: 3
- Joined: 30 Nov 2019, 10:00
- Plugins: Showcase Store
Re: Getting started
ΠΠ°ΠΊ ΡΠ΄Π΅Π»Π°ΡΡ Π΅Π»Π΅ΠΊΡΡΠΎ ΡΡΠ°Π½ΡΠΈΡ
(ΠΠΎΠΊΠ°Π·Π°ΡΡ ΠΊΠΎΠ΄Ρ Π΄Π»Ρ Π΅Π»Π΅ΠΊΡΡΠΎ ΡΡΠ°Π½ΡΠΈΠΈ)
(ΠΠΎΠΊΠ°Π·Π°ΡΡ ΠΊΠΎΠ΄Ρ Π΄Π»Ρ Π΅Π»Π΅ΠΊΡΡΠΎ ΡΡΠ°Π½ΡΠΈΠΈ)
- 1Code
- Inhabitant of a Megacity
- Posts: 302
- Joined: 30 Jan 2020, 16:56
- Location: https://bit.ly/3P5dhnT
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Getting started
- 1Code
- Inhabitant of a Megacity
- Posts: 302
- Joined: 30 Jan 2020, 16:56
- Location: https://bit.ly/3P5dhnT
- Plugins: Showcase Store
-
Plugin Creator
Platform
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Getting started
I don't know if it's significant enough to be on the list.Jeremiah Stephens wrote: β01 Feb 2020, 07:10how to change the way how the building price increased on each build (by Jeremiah Stephens)@Lobby
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Getting started
Do you mean road decorations or just decorations?
- CommanderABab
- AB
- Posts: 11193
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Getting started
I think he means ground decorations like Josh made.
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Getting started
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}],
...
- hihihihi
- Metropolitan
- Posts: 111
- Joined: 30 Jul 2019, 06:05
- Location: south korea
- Plugins: Showcase Store
-
Platform
Re: Getting started
THXSΓlsken wrote: β21 Feb 2020, 00:13I 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}], ...
- Bearbear76
- Former Bearbear65
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Getting started
That's not a tutorial, there's no teaching aspect in there.Kiki012 wrote: β22 Feb 2020, 08:43Please Add This Tutorial
How to Make train Plugin(By: Kiki012)
viewtopic.php?f=35&t=10975
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.