Vespa Posted November 30, 2014 Posted November 30, 2014 Trying to write a mission based on WWII era (P-51 vs Dora) I realized that Mission Editor automatically add lots of objects (car, tank and so on) not realted to my desired scenario. Is there any way to get a completely empty terrain?
FSFIan Posted November 30, 2014 Posted November 30, 2014 I don't know of a way to start with an empty terrain, but if you want to get there, the basic idea is to explode anything you don't want. This thread may be of interest to you: Setting a map object to dead You could take the code I posted near the end, make the radius huge and just explode everything you can find :P However, that will probably also delete objects you'd want to keep (such as buildings), but you may be able to check the kind of object to filter those out. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
chromium Posted November 30, 2014 Posted November 30, 2014 Check also the traffic settings... if you' re seeing moving cars and trucks. But if you see tanks.. well, autogen traffic can't add combat vehicles AFAIK. So those may be already there in the mission file, and you should be able to simply delete them by editor or by Ian's script. Instead, Object.destroy() won't destro map object but only editor added ones due to a bug that Grimes stated here: http://forums.eagle.ru/showpost.php?p=2210208&postcount=21. And AFAIK editor doesn't add anything static that is not map objects :(. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts