How can I add night animations to a moving car?

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
kyoshimine1
Townsman
Posts: 50
Joined: 03 Oct 2020, 00:11
Location: Japan
Plugins: Showcase Store

Plugin Creator

Platform

How can I add night animations to a moving car?

#1

Post by kyoshimine1 »

Hello again! It is basically that. How can I add night animations/or just lights to a moving car? In the documentation I found that they use the following code for this, but I don't understand it very well

Code: Select all    Reset

"animation": [ { "id":"$animationcaralertlights00", "pos":[10,-6, 4,-4, 3,-9, 11,-8], "important":true } ]
JSON checker
Check
The "pos" is what I can't understand. If anyone can help me I would appreciate it

*This code belongs to the police car in the game.

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

Plugin Creator

Platform

Re: How can I add night animations to a moving car?

#2

Post by CommanderABab »

The pos are the x y coordinates of the animation on the car according to the 4 directional variants of the vehicle. :)

The police car is lucky, It just has one set. :)

User avatar
kyoshimine1
Townsman
Posts: 50
Joined: 03 Oct 2020, 00:11
Location: Japan
Plugins: Showcase Store

Plugin Creator

Platform

Re: How can I add night animations to a moving car?

#3

Post by kyoshimine1 »

CommanderABab wrote:
16 Aug 2021, 04:02
The pos are the x y coordinates of the animation on the car according to the 4 directional variants of the vehicle. :)

The police car is lucky, It just has one set. :)
Oke, thanks Commander :lol:

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”