Advanced smoke types

Learn here how to create and use plugins.

Moderator: Plugin Moderators

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

Platform

Advanced smoke types

#1

Post by Lobby »

As mentioned here you can add one or multiple smoke sources to your plugin. The definition to use smoke might look like

Code: Select all

"smoke":[{"id":"$smoke07","x":13,"y":-14}]
Where tags x and y define the relative position of the smoke source. Tag id defines which smoke object to use. We also defined the following smoke objects for you:
  • $smoke00
    Image
  • $smoke01
    Image
  • $smoke02
    Image
  • $smoke03
    Image
  • $smoke04
    Image
  • $smoke05
    Image
  • $smoke06
    Image
  • $smoke07
    Image
  • $watervapor00
    Image
  • $qualm00
    Image
The preview is just for impression. The animated version in the game might differ in size and frame count. Most of the smokes don't make sense for a chimney on a normal house. We encourage you to use either $smoke06 or $smoke07 for this purpose.

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

Platform

Plugin Creator

Re: Advanced smoke types

#2

Post by Bearbear76 »

Lancaster Kingdom wrote:
Thu Sep 28, 2017 0:55
Can you explain more about x and y? How do I get the smoke in the bottom of the building that's possible? I'm reading all the tutorials. :)
This thread should help you
http://www.theotown.com/forum/viewtopic.php?f=42&t=4147
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
AntarcticTreay
Villager
Reactions:
Posts: 16
Joined: Thu Nov 07, 2019 8:06
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Advanced smoke types

#3

Post by AntarcticTreay »

Can smoke be added to a train?
If the short answer is yes, what would it be like?
Train texture
Train texture
STEAM 1.png (1.33 KiB) Viewed 2113 times
Smoke:
smoke04.png
smoke04.png (1.9 KiB) Viewed 2113 times
CykaTrainSuit.json
(1.4 KiB) Downloaded 89 times
SUPREME DICTATOR OF THE A.M.M.R FEDERATION
WELCOME EVERYONE

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

Platform

Plugin Creator

Re: Advanced smoke types

#4

Post by Bearbear76 »

Never tried it but I think you might be able to add it normally via animation.
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
Kiki012
Inhabitant of a Megacity
Reactions:
Posts: 247
Joined: Mon Jan 06, 2020 9:57
Location: Java-indonesia
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Advanced smoke types

#5

Post by Kiki012 »

AntarcticTreay wrote:
Mon Jan 20, 2020 6:21
Can smoke be added to a train?
If the short answer is yes, what would it be like?

STEAM 1.png

Smoke: smoke04.png
CykaTrainSuit.json
Im tried,but it doesn't work even using animation
Testing plugin on version
My Plug-in
Show
Random Text that i found on Age of Civilization 2 game
For The Mother Russia

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”