late (de-)activation - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 08-10-2018, 09:49 AM   #1
chrisrucksack
Member
 
chrisrucksack's Avatar
 
Join Date: Jun 2014
Posts: 231
Default late (de-)activation

Is it possible to activate a group (late activation) deactivete the group and then activate the group again? Is it possible by mission editor triggers only or do I need mist/moose?
__________________
Bullseye-Training
Hardware: TrackIR5 | TM Warthog | Saitek Pro Flight Rudder Pedals | i7-4790k | GTX 980 | 16GB RAM
Modules:
F/A-18C | A-10C | M-2000C | F-5 Tiger II | F-86 | L-39
chrisrucksack is offline   Reply With Quote
Old 08-10-2018, 11:53 AM   #2
feefifofum
3rd Party Developer
 
feefifofum's Avatar
 
Join Date: Jan 2015
Location: USA
Posts: 2,372
Default

External scripts are required to spawn a group more than once.

Last edited by feefifofum; 08-10-2018 at 03:42 PM.
feefifofum is offline   Reply With Quote
Old 08-10-2018, 01:40 PM   #3
rassy7
Member
 
rassy7's Avatar
 
Join Date: May 2013
Location: Broomfield, CO
Posts: 274
Default

Quote:
Originally Posted by feefifofum View Post
External scripts are requires to spawn a group more than once.
^^^ Certainly the best way, but it might be kind of possible depending on the scope of your ask. If you're wanting the exact same group to essentially respawn, then yes, you need a script. However, if you're just wanting
  • the same type group
  • to activate from the same, original location
  • only one or a few times,

you can set this up with multiple, late activated groups in the mission editor and just use the built-in triggers to activate the next group when the group ahead of it dies.
__________________

Specs: GA-Z270XP-SLI; i7-7700K; EVGA GTX 1080 SC2 iCX; 16GB Corsair Vengeance LPX DDR4; Samsung 960 EVO Series M.2 SSD; WIN10; ASUS VG248QE
Modules: A-10C; AV8B; CA; FC3; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
rassy7 is offline   Reply With Quote
Old 08-10-2018, 03:48 PM   #4
feefifofum
3rd Party Developer
 
feefifofum's Avatar
 
Join Date: Jan 2015
Location: USA
Posts: 2,372
Default

Also, any triggers associated with the original group will not function with cloned groups. You'll need to go fully down the .lua rabbit hole.
As rassy says, depending on the scope and what you want to do with it multiple late activated groups may be the best option.

Simple dogfight training with a radio command to spawn a bandit? A respawn script is the easy answer.

3 or 4 patrols with voiceover triggers and location checks? Late activated groups are probably the path of least resistance unless you have a programming background.
feefifofum is offline   Reply With Quote
Old 08-10-2018, 04:40 PM   #5
chrisrucksack
Member
 
chrisrucksack's Avatar
 
Join Date: Jun 2014
Posts: 231
Default

I want to spawn (diffrent) SAM-sites. So I jump in the pit and activate my favortie threat. When I shot down, SAM deactivate, I will jump in the next pit and would like the have the same SAM-sites available as the beginning of the mission.
__________________
Bullseye-Training
Hardware: TrackIR5 | TM Warthog | Saitek Pro Flight Rudder Pedals | i7-4790k | GTX 980 | 16GB RAM
Modules:
F/A-18C | A-10C | M-2000C | F-5 Tiger II | F-86 | L-39
chrisrucksack is offline   Reply With Quote
Old 08-10-2018, 07:55 PM   #6
feefifofum
3rd Party Developer
 
feefifofum's Avatar
 
Join Date: Jan 2015
Location: USA
Posts: 2,372
Default

How many times do you want to be able to do this?

If infinite: the respawn will require a script. Deactivating cloned groups if you're shot will require a script.

If a few: this can be done with multiple late activated groups.
feefifofum is offline   Reply With Quote
Old 08-12-2018, 09:29 PM   #7
Hardcard
Junior Member
 
Hardcard's Avatar
 
Join Date: May 2013
Posts: 98
Default

Quote:
Originally Posted by chrisrucksack View Post
I want to spawn (diffrent) SAM-sites. So I jump in the pit and activate my favortie threat. When I shot down, SAM deactivate, I will jump in the next pit and would like the have the same SAM-sites available as the beginning of the mission.
Well, this is certainly possible in MOOSE.

Here's a working MOOSE script (with helpful comments) that triggers the spawn of an enemy SAM group (4 avengers, set to late activation in ME) EVERY time the client/player aircraft takes off... it also triggers the SAM group's removal/destruction EVERY time that client/player aircraft crashes.


Here's a MOOSE demonstration mission I've set up for you (don't need MOOSE to try it out, since it's already included and properly set up in the mission file)

Here's the MOOSE mission lua file, which contains the script shown in the first link (it's already included in the mission file, just providing it separately for convenience). It makes the magic happen.

This script can, of course, be modified to incorporate new SAM groups, which would be spawned and removed on certain events / conditions happening.
The spawning and removal of the SAM groups could also be triggered at will via F10 Menu commands, which would be more convenient than using takeoff and crash triggers, imho.

Last edited by Hardcard; 08-13-2018 at 12:41 AM.
Hardcard is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:07 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.