How to write a plugin

Learn here how to create and use plugins.

Moderator: Plugin Moderators

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

Plugin Creator

Platform

Re: How to write a plugin

#101

Post by CommanderABab »

It's to find the post again with an answer if I find one.

It might be possible with either the road or road decoration, to remove the road decoration, if a (or more) car(s) is there, but not a certain car to my knowledge as of now.

User avatar
Frodo01
Settler
Reactions:
Posts: 5
Joined: 13 Sep 2020, 21:25

Re: How to write a plugin

#102

Post by Frodo01 »

It’s a pity that I won’t be able to recreate in fun the mechanics of garbage on the road, which is removed when a garbage truck passes, then I’ll have to write code in Lua, thanks for the answer
Last edited by Frodo01 on 05 Oct 2023, 11:48, edited 1 time in total.

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

Plugin Creator

Platform

Re: How to write a plugin

#103

Post by CommanderABab »

Is this a car you have developed? The garbage is not actually implemented as a road decoratipn.

User avatar
Frodo01
Settler
Reactions:
Posts: 5
Joined: 13 Sep 2020, 21:25

Re: How to write a plugin

#104

Post by Frodo01 »

CommanderABab wrote:
06 Oct 2023, 00:34
Is this a car you have developed? The garbage is not actually implemented as a road decoratipn.
I make road decorations that are removed when a certain car arrives, like protesters that are removed when the police arrive, or road debris that is removed when a garbage truck arrives.

User avatar
Rayyan19
Settler
Reactions:
Posts: 2
Joined: 31 Mar 2024, 13:16

Re: How to write a plugin

#105

Post by Rayyan19 »

Excuse me, how to add night frame in plugin

User avatar
toibithieunang123
Settler
Reactions:
Posts: 1
Joined: 07 Apr 2024, 06:01

Re: How to write a plugin

#106

Post by toibithieunang123 »

What app can i
make a plugin in?Where can i download it?can i use it in my computer?

(Sorry about my English,my English is very bad)

User avatar
PBbunnypower
Small-town resident
Reactions:
Posts: 37
Joined: 26 Aug 2022, 11:49
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: How to write a plugin

#107

Post by PBbunnypower »

Hello, to make a plugin on pc, you can use paint.net to draw the graphics. Most creators I know which do use pc uses that. For the json, you have the option of using pca website or using VSC to make your own.
You can navigate this to find all sorts of tutorials: viewtopic.php?f=41&t=2965
This tutorial is useful for details: viewtopic.php?f=41&t=13798
The json depends on what youre specifically making but here you can refer to vanilla jsons viewtopic.php?f=108&t=5661

User avatar
PBbunnypower
Small-town resident
Reactions:
Posts: 37
Joined: 26 Aug 2022, 11:49
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: How to write a plugin

#108

Post by PBbunnypower »

Rayyan19 wrote:
02 Apr 2024, 08:48
Excuse me, how to add night frame in plugin
This should be useful viewtopic.php?f=41&t=10359

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”