Cars

Learn here how to create and use plugins.

Moderator: Plugin Moderators

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

Re: Cars

#81

Post 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 859 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.

User avatar
Zman The Man
Some Guy
Reactions:
Posts: 463
Joined: Thu Oct 01, 2020 4:19
Location: New Zealand, New Plymouth
Plugins: Show
Version: Beta

Re: Cars

#82

Post by Zman The Man »

That car is playing GTA IV but the pedestrians are wiser NOT to walk
THEOTOWN OUTCAST

 ! Message from: Officer Carl Johnson
The outcast at it again, Ben Dover and Long John, now dead. Last seen in Theotown
Leave me alone mate you don't get the problem you'd never will! Go back to Grove Street!

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

Platform

Plugin Creator

Re: Cars

#83

Post 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 833 times
bigrescars.png
bigrescars.png (1.08 KiB) Viewed 833 times
...............:) .Image

User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2454
Joined: Thu Aug 24, 2017 11:17
Location: A coffin
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Cars

#84

Post 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.
Sorry but I'm on a break :(

Inactive

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

Re: Cars

#85

Post 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

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

Platform

Plugin Creator

Re: Cars

#86

Post by CommanderABab »

Lol, I see a potato.

The fifth frame is only an error check. :)
...............:) .Image

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

Plugin Creator

Platform

Re: Cars

#87

Post by Lakan Haraya »

Diagonal oriented Cars is here... v1966
"ᜀᜃᜓ ᜀᜅ᜔ ᜁᜌᜓᜅ᜔ ᜑᜇᜌ"
CEO of Haráya Motors

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

Pinoy? Sali na :jb:
https://discord.gg/9n7PFy

User avatar
TheFennekin
Neighborhood fox
Reactions:
Posts: 2454
Joined: Thu Aug 24, 2017 11:17
Location: A coffin
Plugins: Show
Version: Beta

Platform

Plugin Creator

Re: Cars

#88

Post by TheFennekin »

Lakan Haraya wrote:
Sun Jan 10, 2021 6:29
Diagonal oriented Cars is here... v1966
Wait... what?
Sorry but I'm on a break :(

Inactive

User avatar
Kiki012
Inhabitant of a Megacity
Reactions:
Posts: 232
Joined: Mon Jan 06, 2020 9:57
Location: Somewhere in Soviet Union
Plugins: Show
Version: Beta

Plugin Creator

Platform

Re: Cars

#89

Post by Kiki012 »

Where is Diagonal car tutorial?
Image
Image
Image
My Parents Cut the Wifi :|

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”