Jump to content

Recommended Posts

Posted

Hi there

 

I try to make a mission where an Huey transport a cargo in a specific zone.

 

I name my cargo "cargo01" and my trigger zone "here"

I set my trigger like this :

 

Trigger

ONCE

 

Conditions

unit inside zone (cargo01, here)

unit's speed lower than (cargo01,1)

unit's vertical speed in limits (cargo01,-1,1)

 

Actions

Message to all (blablabla, 10)

 

My problem is, each time a release my cargo correctly (cargo up, not dead), DCS crash.

I don't know if my trigger is correct or if it's a bug.

Anyone can try and confirm ? :dunno:

 

Thanks

People fly planes, pilots fly helicopters

Posted

Cargo is a unit- and it isn't detectable when it is in the air. Just go "switched condition" / unit in zone... / then whatever action you want. It won't automatically trigger if it's "in" the zone at altitude... only when it touches down.

 

Switched condition helps if you're doing a condition of cargo 1 OR cargo 2 OR cargo 3 OR etc.

 

If it's only the one cargo- then running it "once" is fine.

"ENO"

Type in anger and you will make the greatest post you will ever regret.

 

"Sweetest's" Military Aviation Art

Posted

Thanks ENO

 

I removed "unit's speed lower than (cargo01,1)" and "unit's vertical speed in limits (cargo01,-1,1)" then I tried with "switched condition" and "once" but no luck. DCS crash again.

People fly planes, pilots fly helicopters

Posted

After few tests, it seems that i crash only with blue coalition (Georgia, Italy, France) and without any trigger. Only in this mission.

If i try with a russian huey, no problem.

DCS-20140802-142237.txt

People fly planes, pilots fly helicopters

Posted
Cargo is a unit- and it isn't detectable when it is in the air.

 

Very interesting.

I'd further that to say Cargo is a Static Object.

 

Static Objects not being detectable in the air is a good thing to know. I'm working on a mission that will put Blue infantry onto a Red held bridge to blow it. If the Blue infantry gets Cargo delivered then they will have Stingers, too.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

  • 1 year later...
Posted

Sorry to revive this thread but is anyone having issues with this for DCS 1.5 or 2.0? I can't get the cargo to register with a trigger zone. I have no problems with normal units.

Posted (edited)

You can use CTLD, it has a function to count crates dropped in a zone.

 

You dont have to use any of the other features of the script, just add it as a DO SCRIPT and use this function in the Mission editor as described

 

https://github.com/ciribob/DCS-CTLD#create-crate-drop-zone

 

I havent tested it in a while with sling loadable crates added by the mission editor so let me know if you have any issues

 

Edit: Dont forget to add MIST as well :)

Edited by Ciribob

Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD

CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup

Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

 

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :)

DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

  • Recently Browsing   0 members

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