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 > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2012, 10:33 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Online Player also use AiAircrafts.
You get the Aircraft (actor) via Player.Place().
The problem is if you use spawnplaces and a player creates a Aircraft, he also creates a new Airgroup. So he is always the leader of his own Airgroup.

Btw. getType comes from object http://msdn.microsoft.com/en-us/libr...t.gettype.aspx

Last edited by FG28_Kodiak; 06-21-2012 at 10:37 AM.
Reply With Quote
  #2  
Old 06-21-2012, 10:36 AM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

Quote:
Originally Posted by FG28_Kodiak View Post
Online Player also use AiAircrafts.
You get the Aircraft (actor) via Player.Place().
The problem is if you use spawnplaces and a player creates a Aircraft, he also creates a new Airgroup. So he is always the leader of his own Airgroup.
So, I assume an online player is always alone in his group then?
Is so, is the concept of a group supported for online play at all? Does the sim recognize I'm in a squad for example? That's what I assumed "Regiment" is for but I have no clue as to how it's supposed to be used.
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote
  #3  
Old 06-21-2012, 11:09 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

A Player can create also a group of planes (if Number of planes is larger than 1 in the spawnplace options) and if an other player select a plane of this created group he is part of this group, but at the moment its more a GUI problem (WPF Not available for example) so an other player cannot select the plane easily. If Icons on you can zoom maximum in and select the Icon, if Icons out you don't see the icon but if you move the cursor you get a focus on a plane you can select it. (Maddox should do some rework on the Multiplayer GUI.)


The regiment is usefull if you like to have more Information from the Airgroup you flying for.
Example:
You select II./StG 3 as Group
(actor as AiAircraft).Regiment().gruppeNumber() gives you 2 as Gruppenummer (II.)
(actor as AiAircraft).Regiment().id() gives you S7 the id of II./StG 3 was "S7"
(actor as AiAircraft).Regiment().name() gives BoB_LW_StG3_II

The only usefull Informations are gruppeNumber() and id() all others you can get from Airgroup also or by parsing the Airgroup name.

The only way to get such a thing like a Airgroup from single created planes is over the AirgroupName i think. The first created Plane has the lowest missionNumber, all others have highers,

Last edited by FG28_Kodiak; 06-21-2012 at 11:12 AM.
Reply With Quote
  #4  
Old 06-21-2012, 11:26 AM
Osprey's Avatar
Osprey Osprey is offline
Approved Member
 
Join Date: Jan 2010
Location: Gloucestershire, England
Posts: 1,264
Default

Just as an option there is also the 'Callsign' property (don't know what Maddox call it in code though) and in the RAF this is the codename on the radio for the Squadron (Regiment). ie. It may be possible/easier to group squadrons by the selected callsign instead.
Reply With Quote
  #5  
Old 06-21-2012, 11:37 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

You can store the planes in a List and create your own Airgroup
Reply With Quote
  #6  
Old 06-21-2012, 12:11 PM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

Quote:
Originally Posted by FG28_Kodiak View Post
A Player can create also a group of planes (if Number of planes is larger than 1 in the spawnplace options) and if an other player select a plane of this created group he is part of this group, but at the moment its more a GUI problem (WPF Not available for example) so an other player cannot select the plane easily. If Icons on you can zoom maximum in and select the Icon, if Icons out you don't see the icon but if you move the cursor you get a focus on a plane you can select it. (Maddox should do some rework on the Multiplayer GUI.)


The regiment is usefull if you like to have more Information from the Airgroup you flying for.
Example:
You select II./StG 3 as Group
(actor as AiAircraft).Regiment().gruppeNumber() gives you 2 as Gruppenummer (II.)
(actor as AiAircraft).Regiment().id() gives you S7 the id of II./StG 3 was "S7"
(actor as AiAircraft).Regiment().name() gives BoB_LW_StG3_II

The only usefull Informations are gruppeNumber() and id() all others you can get from Airgroup also or by parsing the Airgroup name.

The only way to get such a thing like a Airgroup from single created planes is over the AirgroupName i think. The first created Plane has the lowest missionNumber, all others have highers,
Hm. It sound like there's no reliable support for "groups" in MP then? In ACG we're prefixing our game names with the squadron name according to a fixed format. Parsing that is probably my best bet at the moment it seems...

Thanks Kodiak, you're a champ!
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote
  #7  
Old 06-21-2012, 05:12 PM
Osprey's Avatar
Osprey Osprey is offline
Approved Member
 
Join Date: Jan 2010
Location: Gloucestershire, England
Posts: 1,264
Default

Surely the Regiment.Name() is unique? If so is it not possible to group by this? Internally it does not matter what the string is, only that groups are not confused?

What about the callsign which the pilot has selected?
Reply With Quote
  #8  
Old 06-21-2012, 09:23 PM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

Quote:
Originally Posted by Osprey View Post
Surely the Regiment.Name() is unique? If so is it not possible to group by this? Internally it does not matter what the string is, only that groups are not confused?

What about the callsign which the pilot has selected?
From the little experiments I've conducted on a local dedicated server those properties doesn't seem very unique at all but I think we should try it out over at the ACG server in a more structured way. Let's meet up and spawn in at various points while I examine the logs produced. Maybe we'll see a pattern then?
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote
  #9  
Old 06-22-2012, 06:46 AM
Osprey's Avatar
Osprey Osprey is offline
Approved Member
 
Join Date: Jan 2010
Location: Gloucestershire, England
Posts: 1,264
Default

Well whatever is easiest, I was just curious that's all.
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 06:46 PM.


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