Collecting all tree objects in GTA SA?
#5

Quote:
Originally Posted by Vince
View Post
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.
But why go through all the trouble when this exists: http://i.imgur.com/ZzGCkna.png
Reply


Messages In This Thread
Collecting all tree objects in GTA SA? - by Meller - 07.09.2017, 19:14
Re: Collecting all tree objects in GTA SA? - by wallee - 07.09.2017, 19:24
Re: Collecting all tree objects in GTA SA? - by Paulice - 07.09.2017, 19:29
Re: Collecting all tree objects in GTA SA? - by Vince - 07.09.2017, 19:46
Re: Collecting all tree objects in GTA SA? - by wallee - 07.09.2017, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)