Jump to content

Recommended Posts

Posted

Is possible somehow to remove all buildings and trees from an area in order to make a clear? Need to clear a big area of any map 3d object. Is there any way to do this? Thanks!

I don't understand anything in russian except Davai Davai!

Posted

WFB9YOokt6Q

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted

Why can't it be scripted? Try this...

 

 

 


[font=Consolas]_myZone = 'town' --name of zone as defined in the mission editor[/font]
[font=Consolas] 
local foundObjects = {}
local sphere = trigger.misc.getZone(_myZone)
local volS = {
  id = world.VolumeType.SPHERE,
  params = {
    point = sphere.point,
    radius = sphere.radius
  }
}

local ifFound = function(foundItem, val)
   foundItem:destroy()[/font]
[font=Consolas]    return true
end

[/font][font=Consolas]  world.searchObjects(Object.Category.SCENERY, volS, ifFound)[/font]
[font=Consolas]
[/font]
[font=Consolas]

[/font]

My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server

 

Supercarrier Reference Kneeboards

 

IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast

Posted

Hi,

 

I know that function.... but...

 

when I tested it that a fews month ago, it didn't work... Only buildings where found, not trees.

 

You 're sure that works now ? And we can find all scenery objects using that searchObjects function?

 

I will try

 

Sunski

  • 2 years later...
Posted

the turnaround to script invisible farps in order to clean trees on an area,  before spawning an object, seems to not working anymore.  anyone have found a way to ?

 

 i7-10700KF CPU  3.80GHz - 32 GO Ram - - nVidia RTX 2070 -  SSD Samsung EVO with LG  TV screen 40"  in 3840x2150 -  cockpit scale 1:1

- MS FFB2 Joystick  - COUGAR F16 throttle  - Saitek Pro Flight Rudder Pedals

 

  • Recently Browsing   0 members

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