Ok, thx.
used brackets coz was not sure if only this 1 lane, or maybe some extra lines, just leaving it for possible future.
onvehicledeath should be player id, not vehicle?
about compatiblity of vehicles. there is little problem. Take alook on AHAB in Super GT picture and compare with AHAB on ZR350 front.
Super GT one is in diffrent angle, right next to headlisgh, slightly on top hood surface.
ZR350 same decal is in way diffrent angle, right under lights and strictly on front of car. Car is a lot wider zo X values are diffrent. Thats why decided to re-map proper decals for each vehicle.
Also some decals feature car names (T U R I S M O) or just made up fictional stuff You would see (on Euros widnow there is J-Sports text for example) so no idea how this could be compatible.
Excluded cars with 'shaking rear' (mostly muscles, Sabre, Buffalo etc) coz decals were standing still, while body was shaking, making them constantly flickering on cars.
So to do:
- clear up code, turn to 2-d arrays, fix onvehicledeath, maybe replace if with switch/case structure
- MOAAAAR cars
suggest ones You would like to see!
Maybe add racing numbers based on player id?
getting player id, keeping it in variable, then use that variable as text on car.
Also I plan to add spoilers and more tuning stuff for bland, nontunable cars (
Bullet,
Banshee etc.. racing style looks) but maybe better use attachobject to player, so can scale spoilers or other components to fit? Which player bone should i attach them so they do not move when driving, turning, handbraking? Spine or maybe legs?