Jump to content

Recommended Posts

Posted

Another simple but tricky question...

 

I have a scenery with more than 60 groups made of 6-8 ground units, uset as a Tactical Engagement "base layer" to obtain multiple sequential missions. Every groups is not active at the mission start but visibile.

 

Obvioulsy for hosting a mission I need to cut down every time this scenery and update the original one with the end state of the mission.

 

Now, because I'm stupid (can't find another reason) I created a Groups activate trigger for ANY groups with "group alive less than" and a Groups activate trigger for ANY Air Defence with "part of coalition inside zone" (also a zone for every group... all of this in the cut version :music_whistling:.

 

Can I copy those already done trigger from the cutted mission to the initial scenery? (maybe by notepad++?)

 

Thanks in advance for the answer... and sorry for my english :)

ChromiumDis.png

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.

Posted

Im surprised no one has answered this yet. Its pretty easy. No. You cant transfer data from one mission to the next. You can copy triggers from one mission to another if you unzip the mission file and do some copy paste magic but its virtually useless as each mission still wont know which groups are supposed to be dead and which are still alive. Oh and its a pain in the butt to copy/paste in the mission files once youve unzipped them.

 

As far as I know Speed was working on a way to transfer data from mission to mission using one of the lua environments, but I fear that may be a far-fetched goal and ultimately too difficult to implement. Or maybe it was passing flag values. If you can pass flag values from mission to mission it would be possible but you would have to program each flag to go active based off scenarios youve written using triggers and activated before the mission ends.

 

Keep in mind this is completely hypothetical and I have no idea what Speed is actually working on, so maybe hell show up and give us the scoop. But as far as it stands now, and for the forseeable future the answer is no.

Posted

"You can copy triggers from one mission to another if you unzip the mission file and do some copy paste magic"

 

What I need to copy exactly? cause to me it's useful.

ChromiumDis.png

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.

Posted

Can you read lua, and more importantly can you program lua? Cause if you dont know how it works and how to fix the mistakes that your going to accidentally put in, then you dont have any business trying it. What Im saying is its not worth it to try if you dont know the language or at least know a similar language.

 

Honestly Its easier to create a baseline mission with all your triggers in it, then save it to two different files. You can always do that.

Posted

I don't think he needs to actually be able to read lua, if he knows any other languages (even vb) he can open the files, read the code, and if it makes sense to him - try editing it & see if it works, and if it looks like ancient greek - make a new mission.

Cheers.

Posted
I don't think he needs to actually be able to read lua, if he knows any other languages (even vb) he can open the files, read the code, and if it makes sense to him - try editing it & see if it works, and if it looks like ancient greek - make a new mission.

 

Much better said, a perfect summation of the thought I was trying to convey. Thank you.

Posted

crystal clear...

ChromiumDis.png

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.

Posted

If I want a mission for example after building FARP's which takes a while then I call that one a base mission and then resave it as something else.

Always remember. I don't have a clue what I'm doing

Posted

The problem with copy pasting is that you need to know what that you copy depends on in terms of lua other places in the mission file. F ex if you copy a rule that involves group with id 342 then you also have to make a group or rename a group that used id 342. Similar things other places.

Nice plane on that gun...

OS764 P930@4 MBUD3R M6GB G5870 SSDX25 CAntec1200 HTMHW

  • Recently Browsing   0 members

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