maximumdrive Posted November 23, 2019 Share Posted November 23, 2019 Hi all, it's possible to get a Lua-table containing vehicle component's names using client function getVehicleComponents(). But there also can be components, which are dummies/containers, having subcomponents, e.g.: -hoods ---hood1 ---hood2 Please note that they can be not only 'standard' (as 'boot_dummy', 'door_lf_dummy' etc) in case of custom vehicle models. Is it possible to parse DFF's raw data in a way to detect 'containers' having subcomponents? Perhaps it could be nice to check them via getVehicleModelDummyPosition() (if false, that's not dummy LOL), but this function works only with stock GTA dummies as it is noticed in wiki. Please help. Link to comment
JustinMTA Posted November 24, 2019 Share Posted November 24, 2019 You can open the DFF in zModeler, unless you insist using scripts. Link to comment
maximumdrive Posted November 24, 2019 Author Share Posted November 24, 2019 (edited) 3 hours ago, JustinMTA said: You can open the DFF in zModeler, unless you insist using scripts. Sorry, perhaps I didn't explain it correctly. It's really possible to open it with zModeler, but all those vehicles are 'fixed' to work with our tuning system, and there're too many components. The system works via onClientElementStreamIn()/Out(), making only needed vehicle components visible. In case of sync, I have to write endless component-tables, that looks like a great kind of routine, so I try to find an '(half)-automatic' solution. Edited November 24, 2019 by maximumdrive Link to comment
JustinMTA Posted November 24, 2019 Share Posted November 24, 2019 (edited) I still don't quite understand what you're asking for. Read this it can help you maybe: Vehicle component manipulation Edited November 24, 2019 by JustinMTA Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now