Page 5 of 5

Re: Cars

Posted: Sun Nov 08, 2020 5:50
by Zoll
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 :shock:
Screenshot_2020-11-08-10-58-57-73.png
Screenshot_2020-11-08-10-58-46-85.png
Screenshot_2020-11-08-10-58-30-32.png
He's moving, not parked at side of the road, it just you can't see it
Screenshot_2020-11-08-10-59-08-19.png

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
Check
Probably because the override?

Are my placement in texture is corrrct?
JBPM_ScaniaP310.png
JBPM_ScaniaP310.png (1.54 KiB) Viewed 298 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.

Re: Cars

Posted: Sun Nov 08, 2020 8:48
by Zman The Man
That car is playing GTA IV but the pedestrians are wiser NOT to walk

Re: Cars

Posted: Sun Nov 08, 2020 15:01
by CommanderABab
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
byframes101.png (1.7 KiB) Viewed 272 times
bigrescars.png
bigrescars.png (1.08 KiB) Viewed 272 times

Re: Cars

Posted: Tue Nov 10, 2020 3:17
by TheFennekin
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.

Re: Cars

Posted: Sun Nov 15, 2020 1:51
by Zoll
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.
Tero_20-11-05_12.11.14.png


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
Check
VehiclesTest_20-11-15_07.22.40.png
you see no potato

Re: Cars

Posted: Sun Nov 15, 2020 3:19
by CommanderABab
Lol, I see a potato.

The fifth frame is only an error check. :)

Re: Cars

Posted: Sun Jan 10, 2021 6:29
by Lakan Haraya
Diagonal oriented Cars is here... v1966