Jump to content

Recommended Posts

Posted

For immersion reasons, I'd like to make it so that when I start playing a mission, some buildings are already pre-destroyed if you will, or otherwise set on fire.  The alternative appears to mean using AI or something to blow up the buildings I wanna blow up before I start flying (or driving since I have Combined Arms).  Any advice on what sort of trigger zone to use, what lines of code I must enter, and where? 

 

Posted

You can put in a trigger zone over the building(s) that you want damaged, and then add an explosion at mission start. Made power to some 3000 - that should spread some damage

  • Thanks 1
  • Solution
Posted (edited)

There is a trigger for this specifically, Scenery Destruction Zone, it has a percent option to control how widespread destruction is:

dbme.jpg

dbig.jpg

For fire specifically, use the Big Smoke static object, it can be turned on and off with triggers, has different sizes of fire and smoke, and moves with the wind (so they look kind of weird at zero wind because they go straight up):

fr1.jpg

fr2.jpg

Note that each fire or smoke plume is one object. I suggest adding a few of the different sizes to the map, then copying and pasting the sizes you want around the area. Also, note that since building destruction can be randomized, fire might not line up with destroyed buildings unless you specifically destroy the buildings you want on fire, or just use 100% destroy to destroy everything in a zone.

Edited by Exorcet
  • Like 1
  • Thanks 2

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted (edited)

Just be careful to not have too big a zone, as it requires some serious horsepower to run and at least for me left me unable to do anything for a couple of seconds.

I was looking to emulate an earthquake, so flattened a whole city.  If you want to do the same, might be easier to use multiple scenery destructions and spread them apart in time.

Edited by Mr_sukebe
  • Thanks 1

7800x3d, 5080, 64GB, PCIE5 SSD - Oculus Pro - Moza (AB9), Virpil (Alpha, CM3, CM1 and CM2), WW (TOP and CP), TM (MFDs, Pendular Rudder), Tek Creations (F18 panel), Total Controls (Apache MFD), Jetseat 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...