Page 1 of 1
Advanced smoke types
Posted: 21 Feb 2017, 21:08
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

- $smoke01

- $smoke02

- $smoke03

- $smoke04

- $smoke05

- $smoke06

- $smoke07

- $watervapor00

- $qualm00

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.
Re: Advanced smoke types
Posted: 28 Sep 2017, 11:11
by Bearbear76
Lancaster Kingdom wrote: ↑28 Sep 2017, 00: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
Re: Advanced smoke types
Posted: 20 Jan 2020, 06:21
by AntarcticTreay
Can smoke be added to a train?
If the short answer is yes, what would it be like?

- Train texture
- STEAM 1.png (1.33 KiB) Viewed 32733 times
Smoke:

- smoke04.png (1.9 KiB) Viewed 32733 times
Re: Advanced smoke types
Posted: 20 Jan 2020, 10:43
by Bearbear76
Never tried it but I think you might be able to add it normally via animation.
Re: Advanced smoke types
Posted: 21 Mar 2022, 07:52
by TheFennekin
@Naufhal yes and also cars or trams

Re: Advanced smoke types
Posted: 09 Jul 2023, 11:42
by CERRERA
Lobby wrote: ↑21 Feb 2017, 21:08
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

- $smoke01

- $smoke02

- $smoke03

- $smoke04

- $smoke05

- $smoke06

- $smoke07

- $watervapor00

- $qualm00

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.
Smoke animation are supported by rotation?
Code:
Select all Reset
[
{"id":"$smoke01","x":45,"y":-50,"frame":0},
{"id":"$smoke01","x":45,"y":-50,"frame":1},{"id":"$smoke01","x":45,"y":-50,"frame":2},
{"id":"$smoke01","x":45,"y":-50,"frame":3}
]
Re: Advanced smoke types
Posted: 10 Jul 2023, 00:05
by JustAnyone
No, you should use animations for that.
как делать дым
Posted: 26 Feb 2024, 18:06
by Вениамин Кузьминов
Извините, а как вообще делать дым в плагин, если я создаю сам плагин в PDF?

Re: как делать дым
Posted: 27 Feb 2024, 04:03
by CommanderABab
Вениамин Кузьминов wrote: ↑26 Feb 2024, 18:06
Извините, а как вообще делать дым в плагин, если я создаю сам плагин в PDF?
Follow the example in the first post to use smoke. PDF is the wrong type of file to create a plugin with.
Re: Advanced smoke types
Posted: 30 Dec 2024, 13:44
by space_guy
What do i write if i dont want to add any smoke? I wrote [{}] because i dont need any.
Re: Advanced smoke types
Posted: 30 Dec 2024, 15:27
by dnswodn
space_guy wrote: ↑30 Dec 2024, 13:44
What do i write if i dont want to add any smoke? I wrote [{}] because i dont need any.
Just don't add smoke to your JSON code, it is not a integral option.
Re: Advanced smoke types
Posted: 21 Jan 2025, 15:50
by spoidyjan
If we want to use unique smoke textures, is there any recommended resolution or format for custom images? Also, can we use tools to optimize these textures for better performance in the game?