## Cars

Learn here how to create and use plugins.

Moderator: Plugin Moderators

Zoll
Settler
Reactions:
Posts: 7
Joined: Thu Oct 29, 2020 6:12

### Re: Cars

Why does some frame of my truck offset?

This happen sometimes but I don't understand why.
I used to just move their position in the image, not sure if that's how we supposed to deal with it
He's moving, not parked at side of the road, it just you can't see it

The code:

Code: Select all    Reset


[{
"flag normal":true,
"flag pkw":false,
"frames":[{"bmp":"JBPM_ScaniaP310.png","count":4,"h":19,"w":25}],
"id":"$carfirebrigade00", "meta":{"tags":{"medic":{}}}, "speed":1, "type":"car", "v2":true, "override":true }] JSON checker Probably because the override? Are my placement in texture is corrrct? JBPM_ScaniaP310.png (1.54 KiB) Viewed 157 times Please don't use the texture yet, it's not done and looks weird. I will publish it when he's good. Not sure why I named it P310. Zman The Man Some Guy Reactions: Posts: 165 Joined: Thu Oct 01, 2020 4:19 Location: New Zealand Plugins: Show Version: Beta #### Platform ### Re: Cars That car is playing GTA IV but the pedestrians are wiser NOT to walk no threats please! CommanderABab AB Reactions: Posts: 8984 Joined: Tue Jun 07, 2016 21:12 Plugins: Show Version: Beta #### Platform #### Plugin Creator ### Re: Cars More disturbing is that you are overriding the default fire truck which fights fires and giving it only the ability to act as an ambulance. byframes101.png (1.7 KiB) Viewed 131 times bigrescars.png (1.08 KiB) Viewed 131 times TheFennekin Neighborhood fox Reactions: Posts: 2133 Joined: Thu Aug 24, 2017 11:17 Location: Inside your imagination Plugins: Show Version: Beta #### Platform #### Plugin Creator ### Re: Cars I also got this issue in my drifitng AE86 and other self made cars I did but just move each car frame up and down and try to see if it fits the road nicely. Basically just trial and error. なぜ私はここにいるのですか？ Zoll Settler Reactions: Posts: 7 Joined: Thu Oct 29, 2020 6:12 ### Re: Cars Zman The Man wrote: Sun Nov 08, 2020 8:48 That car is playing GTA IV but the pedestrians are wiser NOT to walk Ye, actually.. the truck went for its safety. CommanderABab wrote: Sun Nov 08, 2020 15:01 More disturbing is that you are overriding the default fire truck which fights fires and giving it only the ability to act as an ambulance. What is the fifth frame of green car represent? I spaced it 2 pixel on purpose, is it bad? Anyway, I offset the truck by using the "v2" (I don't remember what its actually for) and it worked but I concern this is not the correct way. Code: Select all Reset "frames":[{"bmp":"JBPM_Scania.png","count":4,"h":22,"w":23}], "id":"$carfirebrigade00",
"meta":{"tags":{"medic":{},"swat"{}}},
"speed":1.1,
"type":"car",
"v2":[-2,-2,-2,-2],
"override":true
JSON checker
you see no potato

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

### Re: Cars

Lol, I see a potato.

The fifth frame is only an error check.