07.09.2017, 19:54
Quote:
|
Most - if not all - tree and bush model ids can be conveniently found in data/maps/generic/vegapart.ide. Then what I would do is copy all IPL files to the scriptfiles directory and write a script to read those files line by line. Split with sscanf and then check if the id is a tree. If it is, write position and rotation to another file or into the database.
Note that the IPL files use quaternions for rotation so you will need to convert those to Euler. |


