tobmic 10 Posted February 28, 2010 Hello. I place a couple of vehicles, ammo crates , forticitacions etc on the map. To save performance i want to delete them on the mission start and when a player moves to a trigger it should create the things on the map. Important for me is that the things are placed on the editor and not in a script where i need to define all the positions. Help on this would be realy appreciated ! Share this post Link to post Share on other sites
dmarkwick 261 Posted February 28, 2010 You might not even need to. You'll probably find that you can place as much stuff on the map as you like, and it won't affect performance. I have a few test missions where hundreds and hundreds of items are spawned right on mission start, and I see very little performance loss. In fact I would say none. If they're static objects (i.e. no AI driving or using them) then it'll be fine. Share this post Link to post Share on other sites
tobmic 10 Posted February 28, 2010 im not realy affected on this because my pc runs fine with arma 2 even if there is alot of ai placed on the map. but im making a coop mission for my squad and i dont know how bad it will be for them if there is to many items on map Share this post Link to post Share on other sites
Big Dawg KS 6 Posted March 1, 2010 im not realy affected on this because my pc runs fine with arma 2 even if there is alot of ai placed on the map. but im making a coop mission for my squad and i dont know how bad it will be for them if there is to many items on map The game should already be optimized enough to handle it. Any performance gain you will get from removing unseen objects will be pretty minimal anyways. Unless all those objects are running really complex scripts every frame, I wouldn't worry about it (scripts can be a big hit to performance). Share this post Link to post Share on other sites
tobmic 10 Posted March 2, 2010 It will not be only for performance why i want to have them deleted at start but spawn later. For example task1done and task2done andtask3done and then i get new tasks assigned and when i get the new tasks the vehicles should spawn i dont want them on the mission start. However i dont want to use it with a spawn script where i need to define all positions or the compositions. Share this post Link to post Share on other sites
jw custom 56 Posted March 2, 2010 Hello.I place a couple of vehicles, ammo crates , forticitacions etc on the map. To save performance i want to delete them on the mission start and when a player moves to a trigger it should create the things on the map. Important for me is that the things are placed on the editor and not in a script where i need to define all the positions. Help on this would be realy appreciated ! I think this is exactly what you need :) http://forums.bistudio.com/showthread.php?t=84854 Share this post Link to post Share on other sites
tobmic 10 Posted March 2, 2010 thanks JW custom i tried this but it only works with AI to spawn but buildings aswell ? when i try it with buildings it doesnt work or am i executing it wrong in the init line ? Share this post Link to post Share on other sites