Night Animations

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Night Animations

#1

Post by Kulche »

WARNING. This feature is not fully implemented. Mechanics and graphics subject to change. Proceed at your own risk.


I first recommend looking here; viewtopic.php?f=41&p=152003#p152003, and at animations there: viewtopic.php?f=41&t=7455. Best results with help of paint.net.

Information
image.png

Night light definitions are practically the same thing as animations. They are defined the same way as animations, but have a few additional attributes. These attributes are:

Code: Select all

"light":true/false
and

Code: Select all

"light switching":true/false
The first one makes sure the animation lights up and doesn't get darker at night. It should be always true if you are defining night definitions. False by default.
The second one makes the animation show up all the time (false) or only at night (true). If you are adding window lights to your building you should set this on true.

That's pretty much everything. If you want to append your night definitions to your buildings you should follow the default animation tutorial.
A list of in-game night definitions will follow later (probably), see lower.

Custom animations

Your buildings will probably use mostly in-game night definitions. However, you can add your custom ones that fit the game style if the shape you're looking for is unavailable. The default window light animation color is FFFBE5 and a gaussian blur of around 4 (paint.net value).


Animations made easy

Counting x and y coordinates for each window might be tiring and take a lot of time. The easiest and most user-friendly solution is to use ian's Animation Dev Tool. This plugin will allow you to create huge animaiton arrays quickly and effortlessly. No animation knowledge needed (at all)!

You can also use this tool to fetch ingame night definitions for manual animations. Good luck! :)


Edited to add/remove a few things.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
MONTEMARINO
Inhabitant of a Conurbation
Reactions:
Posts: 507
Joined: Sat Nov 18, 2017 19:23
Plugins: Show
Version: Beta

Platform

Re: Night Animations

#2

Post by MONTEMARINO »

Brilliant!
Just one question; could be one big frame with all the lights fitting the building instead of doing light by light?

User avatar
CommanderABab
AB
Reactions:
Posts: 9550
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Night Animations

#3

Post by CommanderABab »

Yes, but it doesn't look so great having the whole building lit.
...............:) .Image

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#4

Post by Kulche »

If I'm correct, this will probably use some more texture space.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
MONTEMARINO
Inhabitant of a Conurbation
Reactions:
Posts: 507
Joined: Sat Nov 18, 2017 19:23
Plugins: Show
Version: Beta

Platform

Re: Night Animations

#5

Post by MONTEMARINO »

Not the whole building but a pattern of lights distributed all over the building. Also it could be a pattern of 4/5 floors frame repeated with animation for some skyscrapers, in order to save texture space.

Is that possible?

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#6

Post by Kulche »

You just have to create a frame and define the animation. I think basic lights are still a better way.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
Cephues
Villager
Reactions:
Posts: 17
Joined: Sun Jun 16, 2019 10:01
Plugins: Show

Platform

Plugin Creator

Re: Night Animations

#7

Post by Cephues »

Is the glow mandatory?
Junk masę!

User avatar
CommanderABab
AB
Reactions:
Posts: 9550
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Night Animations

#8

Post by CommanderABab »

No
...............:) .Image

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#9

Post by Kulche »

Not mandatory but surely looks better.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 663
Joined: Mon Jul 17, 2017 16:16
Location: Philippines
Plugins: Show

Platform

Plugin Creator

Re: Night Animations

#10

Post by Hadestia »

Brilliant
𝕳𝕬𝕯𝕰𝕾𝕿𝕴𝕬
Age of Sail CEO
“TheoTown Philippine Council”
Age of Sail @ TPC discord:https://discord.gg/baMkPTc7nZ

User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 663
Joined: Mon Jul 17, 2017 16:16
Location: Philippines
Plugins: Show

Platform

Plugin Creator

Re: Night Animations

#11

Post by Hadestia »

Btw wheres the texture of the light animation of those streetlights
𝕳𝕬𝕯𝕰𝕾𝕿𝕴𝕬
Age of Sail CEO
“TheoTown Philippine Council”
Age of Sail @ TPC discord:https://discord.gg/baMkPTc7nZ

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#12

Post by Kulche »

I thought they wouldn't be useful, but apparently they seem to be. I'll send the ID tomorrow.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
RayXP
Inhabitant of a Universe
Reactions:
Posts: 4895
Joined: Sat Nov 17, 2018 21:49
Location: Houston, TX
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Night Animations

#13

Post by RayXP »

I don't get it
🇺🇸
☆ PRESIDENT OF TTRP ☆
Retired
FOLLOW @HTX.RAYMUNDO ON INSTA
📍 Houston, TX 🇺🇸

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#14

Post by Kulche »

RayXP wrote:
Tue Jan 21, 2020 5:43
I don't get it
It's basically an animation definition with some extra steps. You might want to check anims tutorials before this.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

Cliff
Villager
Reactions:
Posts: 9
Joined: Mon Dec 30, 2019 21:23
Plugins: Show
Version: Beta

Platform

Re: Night Animations

#15

Post by Cliff »

wait what? i dont get it

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

Platform

Plugin Creator

Re: Night Animations

#16

Post by Bearbear76 »

Cliff wrote:
Thu Feb 13, 2020 13:09
wait what? i dont get it
You don't get what?
Just my opinion
I'm probably recompiling my kernel... :o

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#17

Post by Kulche »

Cliff wrote:
Thu Feb 13, 2020 13:09
wait what? i dont get it
Night frames are basically simple animations. If you don't get it, I recommend studying the animation tutorial.
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
Lakan Haraya
Metropolitan
Reactions:
Posts: 127
Joined: Thu Mar 28, 2019 9:34
Location: Philippines
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#18

Post by Lakan Haraya »

Hi :') how can I add headlights in vehicles? Like the one in motorcycles and fire truck :)
"ᜀᜃᜓ ᜀᜅ᜔ ᜁᜌᜓᜅ᜔ ᜑᜇᜌ"
CEO of Haráya Motors

“TheoTown Philippines Council”
“Kapulungan Ng Mga Nagkakaisang Lungsod”

User avatar
Kulche
Pluche
Reactions:
Posts: 963
Joined: Wed Jun 07, 2017 20:28
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Night Animations

#19

Post by Kulche »

Just like any other animation :)
Try looking in the content_car.json
I'm not lazy, I'm motivated to do nothing!
...blame lobby for that

User avatar
Caliber
Metropolitan
Reactions:
Posts: 128
Joined: Wed Jan 24, 2018 3:48
Location: Somewhere in the Philippines
Plugins: Show
Version: Beta

Platform

Re: Night Animations

#20

Post by Caliber »

Magnificent🤔
Creator of the Aouie
Im Filipino
My First Plugin Boundary
My Second Plugin Decarbonator Tower

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”