The Tangmere Pilots extend a warm welcome to visitors in the Guest Room. Please feel free to register, drop by the Guest Room to say hello. If you are looking to join a squadron, we are currently recruiting. You can browse the rest of our site to see if The Tangmere Pilots fit what you are looking for.
Information: Please take a moment and visit your profile to choose a flag.

Welcome to this Airfield "Workshop"

P/O Swallow is Tangmere's chief technical officer in relation to lots of CLOD FMB stuff. This forum is for him to share the fruits of his labours.

Moderators: Reggie, Tom

User avatar
Swallow
Austria
Wing Commander
Wing Commander
Posts: 2033
Joined: Fri Apr 29, 2005 12:48 pm
Location: Oh Vienna....
Contact:

Welcome to this Airfield "Workshop"

Post by Swallow » Tue Feb 18, 2014 7:41 am

Welcome to the Tangmere Pilots' Airfield Workshop. :)

The intention for this forum is to build up a library of FMB-derived texts that can be inserted into .mis files, so mission builders have a series of "copy and paste" airfields that can be used when designing missions. There is, of course, an infinite number of ways in which an airfield can be populated and spawn points laid out, so (again this is the intention, at least) hopefully, there will be a number of versions for each airfield.

This resource is intended primarily for Tangmere Pilots, and since we are an RAF-based squadron, we'll be concentrating on the north side of the channel, at least initially.

We have decided to make this forum a public space partly as a modest service to the CFS community, to share what we've worked on, but also in the hope that others can comment, suggest and contribute as this library grows. With any luck this will be a useful resource for mission builders in TP and elsewhere.

All comments, corrections, suggests, contributions are welcome. Any typos you might find are obviously deliberate, to make sure you're paying attention. Hmm.

So once again, welcome!


A note on the "topics" in this forum:

I've put a few "stickies" at the start of this forum. I've tried to give them all the subject heading "About...". They're intended to be vaguely instructional - a few "How-to" posts. The crucial one is the "About creating customized spawning patterns". This gives instructions on the method. Also of use is the note "About .mis files - the wacky world of CloD terminology". This is useful because it helps to reconcile what you see in the FMB with what you end up with in the .mis file, since - if you venture down this road - you start to have more and more dealings with the .mis file. It's honestly quite fascinating. The "About editing and combining .mis files", despite having taken some time to write, may soon be obsolete if we can integrate Reddog's script into everyday mission design (see "About using a script to load a template".)

After the stickies, most of the other topics are templates and examples, grouped by airfield. As of the first week of March, there are about 25, in various states of comprehensiveness. Some (like Tangmere) have multiple aircraft layouts, as well as templates for "eye candy" to make airfields look a bit more "lived in". But some (like some of the French airfields) are rather threadbare.

Any and all contributions to the building up of this resource will be gratefully received, since being on the lazy side myself, I can't be trusted to get round to every airfield myself! :ymblushing:

User avatar
Bunny
Great Britain
Flight Lieutenant
Flight Lieutenant
Posts: 1259
Joined: Tue Apr 26, 2005 3:32 pm
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Bunny » Wed Feb 19, 2014 5:52 pm

I have just got to say well done Swallow and everyone else involved in this, a real community spirit and any help for the CFS community should be applauded.

Not sure ill be able to help much as I have no idea what you are talking about but more power to your elbow(s)

S!
Bunster
F/Lt Bunny
145 Squadron B Flight Leader, Blue Section
Executive Officer 145 Squadron.
--------------------------------------------------------
"The ONLY time you have too much fuel is when you are on fire"
Image

User avatar
Moggy
Virgin Islands (Brit)
Squadron Leader
Squadron Leader
Posts: 1760
Joined: Thu Apr 28, 2005 4:10 pm
Location: Watching Bunny crash on take off
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Moggy » Wed Feb 19, 2014 6:11 pm

I thought we banned bunny from contacting the outside world. Just who left his hutch door unguarded? [-(
F/Lt. Moggy DSO*,DFC***,CDG & CAT
Yellow Section
No.43 Squadron
_________________
Image
Image
'Cave Ungues Felis' - 'Beware the Claws of the Cat'

User avatar
Swallow
Austria
Wing Commander
Wing Commander
Posts: 2033
Joined: Fri Apr 29, 2005 12:48 pm
Location: Oh Vienna....
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Swallow » Wed Feb 19, 2014 6:15 pm

Bunny wrote:
Not sure ill be able to help much as I have no idea what you are talking about but ...

Bunster
Read the "About..." posts. I tried to use short words... =))

Actually, seriously, let me know if stuff isn't clear!

92Sqn. Reddog (QJ-R)

Re: Welcome to this Airfield "Workshop"

Post by 92Sqn. Reddog (QJ-R) » Wed Feb 26, 2014 1:07 pm

Swallow,

These are really good. Thanks for making them available. I'm going to use some for a training map I'm putting together for 92 Sqn.

One question though, are they all designed to have the actual aircraft on the runway lined up? If I wanted to say have them spawn in section areas around the perimeter, is the principle the same and it a case of just moving the points within the FMB?

Cheers,

Reddog

User avatar
Tom
Wales
Air Marshall
Air Marshall
Posts: 4138
Joined: Tue Apr 26, 2005 4:47 pm
Location: In front of a computer
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Tom » Wed Feb 26, 2014 1:27 pm

92Sqn. Reddog (QJ-R) wrote:Swallow,

These are really good. Thanks for making them available. I'm going to use some for a training map I'm putting together for 92 Sqn.

One question though, are they all designed to have the actual aircraft on the runway lined up? If I wanted to say have them spawn in section areas around the perimeter, is the principle the same and it a case of just moving the points within the FMB?

Cheers,

Reddog
Welcome Reddog - watch out for the Bunny. You'll understand if you ever meet him...


Yes and yes

You have to be careful with placement though. Some airfields are very particular about where you put the points, for example you can have what looks like a great setup for Hornchurch but it puts you down a hill. All those shown have been tested as is, so just be prepared if it doesn't quite work from the outset.

And make sure you have a despawn script in the background to get rid of aircraft that are abandoned for whatever reason.

Oh, and if the spawn points have all been used there is a cool down period before they can be used again - it's not long but if there's an almighty cock-up pilots my spawn elsewhere on the airfield.
In selecting the motto... 'all for one and one for all'... I have done so because it expresses what should be the creed to every Fighter Pilot. Never forget that you are an essential cog in the wheel, and if you break or fail it will let down your brother pilots, and the grimness of war allows for no such weakness.

Air Vice Marshal Saul in the foreword to 13 Group's 'Forget-Me-Nots for Fighters'

"They fly Hurricanes, isn't it?, them's shit planes for remtards on free dinners..."
Armstrong & Miller Show

92Sqn. Reddog (QJ-R)

Re: Welcome to this Airfield "Workshop"

Post by 92Sqn. Reddog (QJ-R) » Wed Feb 26, 2014 3:13 pm

Tom wrote: Welcome Reddog - watch out for the Bunny. You'll understand if you ever meet him...


Yes and yes

You have to be careful with placement though. Some airfields are very particular about where you put the points, for example you can have what looks like a great setup for Hornchurch but it puts you down a hill. All those shown have been tested as is, so just be prepared if it doesn't quite work from the outset.
Understood. I haven't played with this side of the FMB really, been throwing myself more into the C# code side of things so I'm looking forward to playing with something that has some examples.
Tom wrote: And make sure you have a despawn script in the background to get rid of aircraft that are abandoned for whatever reason.
Yup, of course. Thanks for the reminder though. Last thing you want is crazy AI trying to take off!
Tom wrote: Oh, and if the spawn points have all been used there is a cool down period before they can be used again - it's not long but if there's an almighty cock-up pilots my spawn elsewhere on the airfield.
"Almighty cock-up". You've met 92 Sqn before then? :D :D

Looking forward to flying with you chaps in Storm of War, think we're all on the same page.

User avatar
Swallow
Austria
Wing Commander
Wing Commander
Posts: 2033
Joined: Fri Apr 29, 2005 12:48 pm
Location: Oh Vienna....
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Swallow » Wed Feb 26, 2014 4:00 pm

Yeah, the templates I've done so far are all "in sections on the runway", because they're primarily intended for our TP mission builders, and that's the way we fly! B-) Hopefully, they'll work well as examples of what's possible for other people too. I do have ambitions for making multiple layouts for some airfields - bombers in two parallel lines astern, for example...

But,indeed, this way of laying out spawning locations is pretty much infinitely flexible. Here's a quickie: six sections of three around the periphery at the end of a runway in Hornchurch (only three are on the screenie, but all six are in the text). I've kept three-man sections, since 1) it works for us and 2) it feels more "RAF" to me! If you want to delete or rename the spawning points, it's easier to edit the text of the .mis file, than go click-crazy in the FMB, though.

Image

Image

Code: Select all

[Airdromes]
  airdrome0 167131.17 278334.37 1 1000 700 0
  airdrome1 167132.68 278208.47 1 1000 700 0
  airdrome2 167143.24 278100.02 1 1000 700 0
  airdrome3 167253.61 278292.93 1 1000 700 0
  airdrome4 167255.65 278180.16 1 1000 700 0
  airdrome5 167259.97 278089.94 1 1000 700 0
[airdrome0_Runways]
  166757.91 278207.05 0.00 10.00 10.00 0
[airdrome0_Points]
  167009.89 278398.67 5 3 1
  166989.68 278411.45 2
  166959.45 278433.53
  166972.40 278390.82 4
  166942.17 278410.97
  166954.17 278367.79 6
  166924.42 278388.42
[airdrome1_Runways]
  166741.11 278201.76 0.00 10.00 10.00 0
[airdrome1_Points]
  166962.45 278324.12 5 3 1
  166937.37 278342.35 2
  166903.30 278365.87
  166917.22 278320.76 4
  166885.07 278342.83
  166899.94 278298.21 6
  166869.23 278318.36
[airdrome2_Runways]
  166736.80 278181.61 0.00 10.00 10.00 0
[airdrome2_Points]
  166904.87 278251.66 5 3 1
  166874.51 278268.45 2
  166844.28 278285.25
  166859.64 278246.38 4
  166827.01 278262.22
  166845.72 278218.55 6
  166811.65 278235.82
[airdrome3_Runways]
  166719.66 278195.04 0.00 10.00 10.00 0
[airdrome3_Points]
  167192.31 278368.27 5 3 1
  167205.27 278387.46 2
  167224.94 278411.93
  167232.14 278371.15 4
  167250.85 278394.66
  167257.09 278350.99 6
  167276.77 278378.34
[airdrome4_Runways]
  166584.35 278108.67 0.00 10.00 10.00 0
[airdrome4_Points]
  167274.49 278308.28 5 3 1
  167287.80 278325.08 2
  167313.24 278352.43
  167308.92 278309.72 4
  167333.39 278333.24
  167330.51 278289.57 6
  167354.50 278315.00
[airdrome5_Runways]
  166620.42 278130.10 0.00 10.00 10.00 0
[airdrome5_Points]
  167326.85 278255.43 5 3 1
  167351.05 278268.34 2
  167375.66 278286.10
  167369.10 278245.30 4
  167394.22 278262.86
  167387.45 278220.46 6
  167413.08 278238.01
[BirthPlace]
  "Red Section - Flight 1" 1 167124 278335 0 50 1 1 . . .
  "Yellow Section - Flight 1" 1 167122 278207 0 50 1 1 . . .
  "Mauve Section - Flight 1" 1 167132 278100 0 50 1 1 . . .
  "Blue Section  - Flight 2" 1 167245 278293 0 50 1 1 . . .
  "Green Section - Flight 2" 1 167246 278180 0 50 1 1 . . .
  "Turquoise Section - Flight 2" 1 167256 278091 0 50 1 1 . . .
[BirthPlace0]
  Aircraft.SpitfireMkIIa
  Aircraft.DH82A
  Aircraft.SpitfireMkIa_100oct
  Aircraft.HurricaneMkI_100oct
  Aircraft.HurricaneMkI_dH5-20_100oct
[BirthPlace1]
  Aircraft.SpitfireMkIIa
  Aircraft.DH82A
  Aircraft.SpitfireMkIa_100oct
  Aircraft.HurricaneMkI_100oct
  Aircraft.HurricaneMkI_dH5-20_100oct
[BirthPlace2]
  Aircraft.SpitfireMkIIa
  Aircraft.DH82A
  Aircraft.SpitfireMkIa_100oct
  Aircraft.HurricaneMkI_100oct
  Aircraft.HurricaneMkI_dH5-20_100oct
[BirthPlace3]
  Aircraft.SpitfireMkIIa
  Aircraft.DH82A
  Aircraft.SpitfireMkIa_100oct
  Aircraft.HurricaneMkI_100oct
  Aircraft.HurricaneMkI_dH5-20_100oct
[BirthPlace4]
  Aircraft.SpitfireMkIIa
  Aircraft.DH82A
  Aircraft.SpitfireMkIa_100oct
  Aircraft.HurricaneMkI_100oct
  Aircraft.HurricaneMkI_dH5-20_100oct
  [BirthPlace5]
  Aircraft.SpitfireMkIIa
  Aircraft.DH82A
  Aircraft.SpitfireMkIa_100oct
  Aircraft.HurricaneMkI_100oct
  Aircraft.HurricaneMkI_dH5-20_100oct
EDIT! Updated, 17:30! I forgot to add the runway for Airdrome5, leading to "spawning in the village" syndrome for Turquoise Section! #-o

But here's something, Reddog, that would need testing: I wonder how things would work out with scripts like your adding and removing spawn bases. I'm guessing it would complicate things. Similarly, I wonder how they would work with Salmo's automatic AA script! I'm guessing a forest of AA, if his script generates AA for each and every airfield. In this example, there are 6 airfields! Flak-tastic!

92Sqn. Reddog (QJ-R)

Re: Welcome to this Airfield "Workshop"

Post by 92Sqn. Reddog (QJ-R) » Wed Feb 26, 2014 4:13 pm

Well for my method of removing spawns, then it would completely bugger up the system. I have no idea what would happen to the spawn positions, splines and runways etc. HOWEVER, it'd be relatively simple to change the script to take it into account. My current system doesn't use submissions to load spawns anymore, doing it totally in code. For these style spawns, then I'd use the submission per airfield route. I need to have a play, but it's probably quite easy compared to the Persistent environment I'm working on at present!

With regard to Salmo's script for AA, I think you'd be ok as he's using gpAirports which is the hardcoded map airfield objects. Whether what you add with these spawns is enough to add it to gpAirports would need to be tested. You're probably more in danger of it accidentally creating flak positions in the midst of your spawn area if you've dispersed beyond the peri track.

Thanks for doing that example, I'm really looking forward to getting to grips with this.

User avatar
Swallow
Austria
Wing Commander
Wing Commander
Posts: 2033
Joined: Fri Apr 29, 2005 12:48 pm
Location: Oh Vienna....
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Swallow » Wed Feb 26, 2014 4:32 pm

:-bd Scripting remains a dark art for me, but in the land of Tangmere Pilots, the one-eyed geek can be, erm, king... or something. But don't go messing with your code on account of this spawning method, certainly not on account of TP, unless of course it became seriously widespread! We're scripting infants. Seriously.

But in the end, as with so much about CloD, it's just a workaround, nothing more - a way of coping with something that ought to be possible in our beloved broken game!

92Sqn. Reddog (QJ-R)

Re: Welcome to this Airfield "Workshop"

Post by 92Sqn. Reddog (QJ-R) » Wed Feb 26, 2014 4:38 pm

Once I've got my head around your method, it'll be about an hour probably to change my code to be usable. The more options we give people, the better it'll be. I've already changed it from the initial version I wrote as with anything you learn new things and refactoring code is kind of inevitable.

If you want to have a chat about coding, or FMB or indeed anything (well, almost) drop me a pm and we could get together on TS. I'd be happy to chat to someone else who's interested in making missions and stuff. Might be some opportunities to do some joint ops too, although you guys seem to have pilots coming out of your ears.

User avatar
Swallow
Austria
Wing Commander
Wing Commander
Posts: 2033
Joined: Fri Apr 29, 2005 12:48 pm
Location: Oh Vienna....
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Swallow » Wed Feb 26, 2014 5:24 pm

Nah. Pilots with straw coming out of their own ears, perhaps... (But not in 601, naturally. We only have Champagne and Caviar coming out of our ears. I'd keep out of the toilets in the No. 1 mess, if I was you, though. Shocking what comes out of their orifaces...)

Here's another example, since I seem to be on a role. The same (almost the same) spawn locations as before, but only one spawn point. Perhaps more suitable for a more public server.

Image

Code: Select all

Airdromes]
  airdrome6 167097.15 278239.01 1 1000 700 0
[airdrome6_Runways]
  166749.28 278208.69 0.00 10.00 10.00 0
[airdrome6_Points]
  167107.60 278264.54 36 29 22 15 8 1
  167006.52 278395.17 6 4 2
  166986.12 278408.48 3
  166956.41 278431.09
  166971.05 278387.64 5
  166938.68 278408.48
  166952.42 278364.58 7
  166921.83 278384.98
  167195.84 278367.24 13 11 9
  167209.14 278385.86 10
  167228.21 278409.81
  167234.86 278368.57 12
  167254.37 278392.96
  167260.57 278348.62 14
  167280.08 278375.67
  166959.52 278321.57 20 18 16
  166933.80 278340.20 17
  166900.10 278363.25
  166914.29 278318.47 19
  166882.37 278339.75
  166897.00 278295.41 21
  166866.41 278314.92
  167275.65 278304.72 27 25 23
  167292.50 278322.02 24
  167317.33 278349.06
  167314.22 278306.50 26
  167338.61 278328.67
  167333.73 278286.55 28
  167357.23 278311.38
  166908.09 278255.95 34 32 30
  166877.94 278271.47 31
  166847.34 278289.65
  166863.30 278251.96 33
  166830.94 278266.15
  166847.34 278224.92 35
  166815.86 278239.99
  167329.74 278251.52 41 39 37
  167353.24 278265.26 38
  167377.18 278282.56
  167371.42 278243.98 40
  167397.14 278259.94
  167389.60 278217.38 42
  167416.64 278235.11
[BirthPlace]
  "Hornchurch Runway 190" 1 167082 278239 0 100 1 1 . . .
But with a "tree" like this, you need a bit of forethought to ensure that the first to spawn in will spawn closest to the runway. The spawning order here would be: 3, 5, 7, then 10, 12, 14, then 17, 19, 21, etc.
To change things around, you'd just have to drag the arms around, or redo the spawning tree. :-s Spawning in would also take a lot of coordination on comms, if people wanted to ensure who they were spawning next to. This is why we've kept to separate sections. It's a lot easier to coordinate just two or three people!

Thanks for the TS offer for scripting discussion. I'll let you know when I've understood what I don't understand, if you see what I mean. As for joint ops, I expect the Brass (as in muck and brass 8-} ) will be monitoring this! Opening up an area of our forum for guests to post is something new, believe it or not, as is the upcoming SOW experiment. Exciting times, especially as CloD inches slowly towards being fit for purpose! We did some joint ops some time ago, but it sort of fizzled out, if I recall correctly. But that was back in the halcyon IL2 days...

User avatar
Reggie
Zimbabwe
Squadron Leader
Squadron Leader
Posts: 1864
Joined: Tue Apr 26, 2005 10:08 pm
Location: Hertfordshire, UK
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Reggie » Thu Feb 27, 2014 9:04 am

Swallow, if you are going to publicly mock the pilots from Squadrons other than 601 - at least learn to spell properly please....it doesn't make your claims of 601 chaps being above others very believable if you can't even spell =)) =))

Some examples:
"Oriface" is actually spelt "orifice."
"...on a role" should be "..on a roll."

;) :thumbup:

Oh and welcome Reddog, I am glad to see you here as it means all the permission changes i did actually worked, hurrah!! :D
Squadron Leader Reggie
Site and Forum Dude.
Image

92Sqn. Reddog (QJ-R)

Re: Welcome to this Airfield "Workshop"

Post by 92Sqn. Reddog (QJ-R) » Thu Feb 27, 2014 9:14 am

Cheers Reggie, happy to be here, using all your stuff! :)

User avatar
Tom
Wales
Air Marshall
Air Marshall
Posts: 4138
Joined: Tue Apr 26, 2005 4:47 pm
Location: In front of a computer
Contact:

Re: Welcome to this Airfield "Workshop"

Post by Tom » Thu Feb 27, 2014 9:57 am

Reggie wrote:Swallow, if you are going to publicly mock the pilots from Squadrons other than 601 - at least learn to spell properly please....it doesn't make your claims of 601 chaps being above others very believable if you can't even spell =)) =))

Some examples:
"Oriface" is actually spelt "orifice."
"...on a role" should be "..on a roll."

;) :thumbup:
Sheesh actually his spelling is correct.

Orifice is a correct spelling but my understanding of "oriface" is that it was a reference to the difficulty in telling apart the face and derriere of other squadrons' pilots, and in fact the mess that comes from both orifices. Quite a clever piece of prose with many meanings.

"Role" refers to his getting on top of his role as TPs new scripting guru and all-round good egg for developing the airfields stuff and this room.

And for the rest he's quite correct.

;;)
In selecting the motto... 'all for one and one for all'... I have done so because it expresses what should be the creed to every Fighter Pilot. Never forget that you are an essential cog in the wheel, and if you break or fail it will let down your brother pilots, and the grimness of war allows for no such weakness.

Air Vice Marshal Saul in the foreword to 13 Group's 'Forget-Me-Nots for Fighters'

"They fly Hurricanes, isn't it?, them's shit planes for remtards on free dinners..."
Armstrong & Miller Show

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest