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 155 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: 165
Joined: Thu Oct 01, 2020 4:19
Location: New Zealand
Plugins: Show
Version: Beta

Platform

Re: Cars

#82

Post by Zman The Man »

That car is playing GTA IV but the pedestrians are wiser NOT to walk
Show
no threats please!
ꜱᴛᴏᴘ ʀɪᴏᴛɪɴɢ! ᴏʀ ɪ ʙʟᴏᴡ ᴜᴘ ʏᴏᴜʀ ʀᴏᴀᴅꜱ ʏᴏᴜ ᴄʀᴀᴄᴋᴛɪᴘ! ɢᴏ ʀɪᴏᴛ ᴏɴʟɪɴᴇ!!

User avatar
CommanderABab
AB
Reactions:
Posts: 8984
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 129 times
bigrescars.png
bigrescars.png (1.08 KiB) Viewed 129 times
Image

User avatar
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

#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.
なぜ私はここにいるのですか? :bb

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: 8984
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

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”