30.07.2010, 17:47
(
Последний раз редактировалось JernejL; 12.08.2010 в 22:50.
)
The list is huge so it is posted on pastebin:
http://pastebin.com/rKDAhRkv
It contains, for each and every car:
- Car's exact size / dimensions
- For each car dummy - the dummy's location
Useful for say.. you want to detect precise wheel location on a car for better tire spikes
OR you need to know vehicle dimensions to dynamically arrange a lot of different cars into optimal size..
In the future if we have access to vehicle orientation on ALL axis you could even reliably detect if a player is shooting at a car's petrolcap and script the explosion even on slopes or when car is upside down.
Some parts are mirrored by the game - most notably the driver and passenger seat dummies (ped_frontseat, ped_backseat) and light dummies.
If you go to absurd levels, this is useful for Roleplay servers - with this dataset you could detect where in game world the car part is (say a broken light, door, wheel), and have mechanics repair the exact piece in front of them.
This dataset is infinitely useful for a lot of purposes, i suggest you limit it to the data that you actually need (say just car dimensions, or wheels, and discard the rest (there is a really huge amout of data in that that you usually won't need))
http://pastebin.com/rKDAhRkv
It contains, for each and every car:
- Car's exact size / dimensions
- For each car dummy - the dummy's location
Useful for say.. you want to detect precise wheel location on a car for better tire spikes
OR you need to know vehicle dimensions to dynamically arrange a lot of different cars into optimal size..
In the future if we have access to vehicle orientation on ALL axis you could even reliably detect if a player is shooting at a car's petrolcap and script the explosion even on slopes or when car is upside down.
Some parts are mirrored by the game - most notably the driver and passenger seat dummies (ped_frontseat, ped_backseat) and light dummies.
If you go to absurd levels, this is useful for Roleplay servers - with this dataset you could detect where in game world the car part is (say a broken light, door, wheel), and have mechanics repair the exact piece in front of them.
This dataset is infinitely useful for a lot of purposes, i suggest you limit it to the data that you actually need (say just car dimensions, or wheels, and discard the rest (there is a really huge amout of data in that that you usually won't need))