Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover

IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2011, 03:55 PM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default how to spawn airgroups after another one is destroyed?

the title says it all.i want to build a simple mission where an enemy airgroup should spawn after another one gets destroyed?i think i would need step by step instructions as another thread with the same question didnt help me...
__________________
Reply With Quote
  #2  
Old 10-14-2011, 06:15 PM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

chek on OnActorDestroyed function if the aircraft is part of that flight group, and if yes, subtract it from the total number of actors of that group.

when it reaches 0, it means there are no more actors from that group..
Reply With Quote
  #3  
Old 10-15-2011, 08:52 AM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default

thx adonys but i just dont understand that...i think im just too stupid to ever be able to spawn planes in that game....why cant it be as simple as in 1946???
__________________

Last edited by David198502; 10-15-2011 at 10:48 AM.
Reply With Quote
  #4  
Old 10-15-2011, 10:49 AM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default

anybody else, who may be able to explain me what and how to do???
maybe someone is so kind to upload a mission which does spawn a group of planes after another one gets destroyed??????
__________________
Reply With Quote
  #5  
Old 10-15-2011, 11:12 AM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default

thats what i did so far...
Attached Files
File Type: zip scriptversuch.zip (1.3 KB, 5 views)
__________________
Reply With Quote
  #6  
Old 10-15-2011, 12:12 PM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

Here's a training mission which spawns three waves of enemies for you, as soon as the previous one was destroyed.

I've forgot from where I've got it, but it must be from somewhere around here.

And btw, spawning an airgroup in IL2CoD is as easiest as in IL21946u using the FMB. What you want to do is something different, which needs scripting. I'm not sure if 1946b had a FMB automatic way to do it.

Also, do yourself a favor and get some Beginner C# learning book. It's not so complicated actually, specially when it comes about just learning to do basic things in CoD's scripts.
Attached Files
File Type: zip Mission001_Single.zip (3.0 KB, 16 views)
Reply With Quote
Reply


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 10:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.