Herr Doktor 0 Posted May 31, 2005 I'm making a high detailed mission for OFP. To prevent that the mission need to much performance with many object the mission will be loaded in small parts so most of the object, vehicles, soldiers and stuff like that will be created and deleted during the game. A screenshot which I took from my mission: Unfortunately the position details in the mission.sqm file <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">for example position[]={9604.596680,29.834999,4012.663818} are different in the game when I use them with the setpos order <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">setpos (9604.596680,4012.663818,29.834999) I mean that the object isn't created at the same position . Or have the setdir order and the azimut values different computing basis? I created a small test mission to show you the problem. You can download it here: testmission Do you know how I can fix that? PS. Sorry for my bad english Share this post Link to post Share on other sites
raedor 8 Posted May 31, 2005 yes, create them on position [0,0] and setpos them after that to the position you want. createVehicle does not create objects on the exact position. and you can leave away most of your numbers there, 1 digit after the comma is enough. Share this post Link to post Share on other sites
Herr Doktor 0 Posted May 31, 2005 Thank's I will trie that out. But why does OFP not create the objects at the exact position. I mean the position is exactly the same as the mission.sqm file use? Hmm very strangely... Share this post Link to post Share on other sites
raedor 8 Posted May 31, 2005 well, ofp does many strange things... that's why we lova it: you can play a simple mission, but often ofp does things in a very different way. and if you can speak german and still have questions, visit mapfact's forums (see my signature). Share this post Link to post Share on other sites
Herr Doktor 0 Posted May 31, 2005 Sehr gut I will see you at mapfact's forums. After OFP do another crazy thing with me. Share this post Link to post Share on other sites