Page 2 of 2 FirstFirst 12
Results 31 to 47 of 47

Thread: Mission Wizard (alpha) proof of concept

  1. #31
    Veteran Combat pilot No601_Swallow's Avatar
    Join Date
    Jan 2013
    Posts
    294
    Post Thanks / Like
    Total Downloaded
    0

    Re: Mission Wizard (alpha) proof of concept

    Seems to work fine! Superb stuff.

    Now, I'm just wondering about (my own personal obsession) the [airdromes] section of .mis files, which deals with "airfields", runways and associated spawning patterns.

    My own way of combining [airdrome] sections from different missions was to re-number (carefully and painstakingly - i.e. it takes a bit of concentration!) each individual "airdrome", both in the "list" part that starts the [airdromes] section, and in the "details" section. BUT! Philstyle showed that this is unnecessary if you've already given each "airdrome" a name - presumably referring to the location or - better - the mission's name. Once the names of the "airdromes" are different, the mission file accepts them all.

    Annoyingly this fussing about isn't necessary with most of the other sections, since the location markers in the "names" of the objects seems to serve to differentiate each from the others. Why this isn't true for "airdromes" is a mystery...

    So... if I was writing a beautiful little program such as the "Wizard", I'd wonder if it was possible to get the program to rename the airdromes... For instance:

    Here's an [airdromes] section from a simple little .mis file called "adlerhorst.mis", which only has one airfield and one spawning pattern:

    Code:
    [Airdromes]
      airdrome0 211553.69 294753.06 2 1000 700 0
    [airdrome0_Runways]
      211554.24 294631.81 0.00 1000.00 50.00 0
    [airdrome0_Points]
      211036.35 294620.58 8 1
      211036.32 294562.13 6 4 2
      211256.71 294552.94 3
      211259.71 294474.42
      211208.41 294538.04 5
      211208.42 294473.18
      211167.29 294525.41 7
      211165.70 294471.65
      211029.39 294654.37 13 11 9
      211327.60 294732.72 10
      211351.26 294780.95
      211282.33 294748.11 12
      211314.06 294797.70
      211024.30 294669.16 14
      211023.40 294706.58
    I wonder if it would be possible for the program to find the lines with the text "airdrome...'n' ", here "airdrome0" but also using whatever number follows the word "airdrome", and add the name of the mission, so "airdrome0" becomes "airdrome0adlerhorst". Now, the names of the airdromes in each mission become unique!

    Thus the .mis file becomes:

    Code:
    [Airdromes]
      airdrome0adlerhorst 211553.69 294753.06 2 1000 700 0
    [airdrome0adlerhorst_Runways]
      211554.24 294631.81 0.00 1000.00 50.00 0
    [airdrome0adlerhorst_Points]
      211036.35 294620.58 8 1
      211036.32 294562.13 6 4 2
      211256.71 294552.94 3
      211259.71 294474.42
      211208.41 294538.04 5
      211208.42 294473.18
      211167.29 294525.41 7
      211165.70 294471.65
      211029.39 294654.37 13 11 9
      211327.60 294732.72 10
      211351.26 294780.95
      211282.33 294748.11 12
      211314.06 294797.70
      211024.30 294669.16 14
      211023.40 294706.58
    The program could then, perhaps combine the newly unique [airdromes] sections in the same wonderful way it's doing with birthplaces, buildings, stationaries, etc...

    Obviously, I'm witless and couldn't do this if you pointed a gun to my head. I have no idea if this is possible. But, just suggestin'....!

    Air wizard.jpg
    Last edited by No601_Swallow; Jun-14-2014 at 07:11.

  2. #32
    Ace
    Join Date
    Jan 2013
    Location
    Aurora Colorado
    Posts
    672
    Post Thanks / Like
    Total Downloaded
    480.94 MB

    Re: Mission Wizard (alpha) proof of concept

    Do you plan to eventually include a feature that combines script files? I think that would be really useful for us "script code challenged" mission builders. Or perhaps some knowing person could create a separate utility that does this? Anyways thanks for all your hard work on getting this particular project going.

  3. #33
    Team Fusion Salmo's Avatar
    Join Date
    Nov 2011
    Posts
    2,332
    Post Thanks / Like
    Total Downloaded
    191.25 MB

    Re: Mission Wizard (alpha) proof of concept

    Quote Originally Posted by =FI=Murph View Post
    Do you plan to eventually include a feature that combines script files? I think that would be really useful for us "script code challenged" mission builders. Or perhaps some knowing person could create a separate utility that does this? Anyways thanks for all your hard work on getting this particular project going.
    Yes. The intention is to find a way for non-coders to pick from a "library" of scripts & for the wizard to combine the selected scripts for your mission. So users could select "Despawn Ai aircraft 2 minutes after landing & aslo "ambulances at airfields for injured pilots". This is not as easy to do as it sounds from a programming perspective. But that's the aim anyway.

  4. #34
    Ace
    Join Date
    Jan 2013
    Location
    Aurora Colorado
    Posts
    672
    Post Thanks / Like
    Total Downloaded
    480.94 MB

    Re: Mission Wizard (alpha) proof of concept

    Fantastic! I hope you are able to figure this out.

  5. #35
    Supporting Member 92 Sqn. Philstyle (QJ-P)'s Avatar
    Join Date
    Sep 2012
    Location
    Bayern
    Posts
    2,739
    Post Thanks / Like
    Blog Entries
    1
    Total Downloaded
    0

    Re: Mission Wizard (alpha) proof of concept

    Hi Salmo,

    I'm keen to know if you plan to add the Aerodromes sections too (see post from Swallow too).

    This would be an excellent addition..... wink, wink....

  6. #36
    Team Fusion Salmo's Avatar
    Join Date
    Nov 2011
    Posts
    2,332
    Post Thanks / Like
    Total Downloaded
    191.25 MB

    Re: Mission Wizard (alpha) proof of concept

    Quote Originally Posted by 92 Sqn. Philstyle (QJ-P) View Post
    Hi Salmo,

    I'm keen to know if you plan to add the Aerodromes sections too (see post from Swallow too).

    This would be an excellent addition..... wink, wink....
    I'm a little busy with RL at the moment. Yes, I do plan this Phil.

  7. #37
    Veteran Combat pilot No601_Swallow's Avatar
    Join Date
    Jan 2013
    Posts
    294
    Post Thanks / Like
    Total Downloaded
    0

    Re: Mission Wizard (alpha) proof of concept

    [Mini-bump]

  8. #38
    Team Fusion Salmo's Avatar
    Join Date
    Nov 2011
    Posts
    2,332
    Post Thanks / Like
    Total Downloaded
    191.25 MB

    Re: Mission Wizard (alpha) proof of concept

    Got 3 days off work starting tomorrow. Hope to have something for you soon.

  9. #39
    Team Fusion Salmo's Avatar
    Join Date
    Nov 2011
    Posts
    2,332
    Post Thanks / Like
    Total Downloaded
    191.25 MB

    Re: Mission Wizard (alpha) proof of concept

    Next iteration of the wizard is available. In this version it's now possible to select "C# script templates" as well as "mission object templates". The wizard will automatically load all selected objects & compile them into a mission file, as well as write all the C# code necessary to launch the selected C# scripts from your mission. That's right! NO C# CODING! The wizard will do all the coding work for you. 1st post updated with details.

  10. #40
    ATAG_Colander's Avatar
    Join Date
    Nov 2011
    Location
    Bir Tawil
    Posts
    11,128
    Post Thanks / Like
    Total Downloaded
    255.73 MB

    Re: Mission Wizard (alpha) proof of concept


  11. #41
    Ace Otyg's Avatar
    Join Date
    Nov 2013
    Location
    Sweden, GlennTown
    Posts
    991
    Post Thanks / Like
    Total Downloaded
    0

    Re: Mission Wizard (alpha) proof of concept

    Oh so now even a monkey like me can do a mission? :O Amazing work!
    Cheers N8 and Master Lewis

    Quote Originally Posted by ATAG_Dave View Post
    Otyg would win the most impact on me prize, he's a winner in my book.

  12. #42
    Novice Pilot
    Join Date
    Oct 2013
    Location
    Kingston, ON
    Posts
    70
    Post Thanks / Like
    Total Downloaded
    15.11 MB

    Re: Mission Wizard (alpha) proof of concept

    Excellent news! Time to start writing.

  13. #43
    Ace Mysticpuma's Avatar
    Join Date
    Dec 2012
    Location
    Worcestershire, UK
    Posts
    5,131
    Post Thanks / Like
    Blog Entries
    1
    Total Downloaded
    2.38 GB

    Re: Mission Wizard (alpha) proof of concept

    Quote Originally Posted by Salmo View Post
    Next iteration of the wizard is available. In this version it's now possible to select "C# script templates" as well as "mission object templates". The wizard will automatically load all selected objects & compile them into a mission file, as well as write all the C# code necessary to launch the selected C# scripts from your mission. That's right! NO C# CODING! The wizard will do all the coding work for you. 1st post updated with details.
    If this could be added to the Menu Screen.....this would be a great help for players?
    "The needs of the Flight Sim Community outweigh the needs of the one or the few"

  14. #44
    Manual Creation Group ATAG_Ezzie's Avatar
    Join Date
    Feb 2014
    Posts
    2,301
    Post Thanks / Like
    Total Downloaded
    115.2 KB

    Re: Mission Wizard (alpha) proof of concept

    Thanks for this Salmo et al,

    I've got the mission building bug again and today is day #2 of working on a mission/map that I hope will eventually end up on the ATAG server if it works out and is deemed suitable.

    Am intending to download this tool later today and just wanted to check whether there's a new version just round the corner? If there is I will hang off downloading until its out. If not I'll download and get cracking.

    Thanks in advance for all your collective work on this so far.

    Ezzie

  15. #45
    Manual Creation Group
    Join Date
    May 2015
    Posts
    39
    Post Thanks / Like
    Total Downloaded
    209.65 MB

    Re: Mission Wizard (alpha) proof of concept

    Quote Originally Posted by Salmo View Post
    Following PStyle's valuable template threads HERE, and note RedDog's suggestion about some sort of useful mechanism to manipulate mission object templates. Here's a "Mission Wizard" (couldn't think of a name - open to suggestions).

    INSTALLING
    1. This is a stand-alone exe. Create a folder where you want the exe to be located.
    2. Extract the archive file into that folder. If you extracted correctly, you should have two files; MissionWizard.exe and library.ini
    3. Run the program (exe). The first time you run it, the wizard will ask you set set the folder for where your mission object templates are located; and the folder where your script templates are located. These folders may have sub-folders for types of templates (unlimited object & script templates allowed).
    4. Once you've set the folders for where your template files are located, you will see a tree on the left of the screen showing all your template files.
    5. Simply use the arrow buttons to select (or deselect) which objects & scripts you want for your battle.

    HOW TO ADD YOUR OWN AIRFIELD OR OBJECT TEMPLATE
    1. Simply download a template file (mission file) from wherever you like & put it into a folder of your choice somewhere under your desigated 'objects' root folder.
    2. Your template should appear in the wizard screen.

    HOW TO ADD YOUR OWN SCRIPT TEMPLATE
    1. Simply download a c# script file (*.cs file) from wherever you like & put it into a folder of your choice somewhere under your desigated 'script' root folder.
    2. Your script template should appear in the wizard screen.

    FEATURES
    • Works with all maps. The wizard uses the map associated with the first template file you select for your mission.
    • Imports stationary objects from template into your mission file.
    • Imports buildings objects from template into your mission file.
    • Imports frontmarker objects from template into your mission file.
    • Imports AiChiefs (animals/birds etc) objects from template into your mission file.
    • Imports spline roads objects from template into your mission file.
    • Imports spawn bases objects from template into your mission file.
    • Imports local weather front objects from template into your mission file.
    • Imports unlimited number of C# scripts into your mission file.
    • This is presented 'as-is', I make no guarantees it will suit your mission building & I'm not responsible for any consequences should it present problems.


    LIMITATIONS
    1. Does not work for 'custom airfield' template files (yet).

    Download wizard HERE (107kb) [Ver0.4 beta]

    The download link is invalid, who could prefer a new adddress?

  16. #46
    Team Fusion Salmo's Avatar
    Join Date
    Nov 2011
    Posts
    2,332
    Post Thanks / Like
    Total Downloaded
    191.25 MB

    Re: Mission Wizard (alpha) proof of concept

    This was a "proof of concept" program to see if it was possible to merge mission template files into one mission to make mission building easier. The link was taken doen by the author (me) after the concept was proves successful. Someone in the community may have a copy of the program they can give you.

  17. #47
    Supporting Member
    Join Date
    Sep 2014
    Posts
    608
    Post Thanks / Like
    Total Downloaded
    1.63 GB

    Re: Mission Wizard (alpha) proof of concept

    Quote Originally Posted by Salmo View Post
    This was a "proof of concept" program to see if it was possible to merge mission template files into one mission to make mission building easier. The link was taken doen by the author (me) after the concept was proves successful. Someone in the community may have a copy of the program they can give you.
    Salmo, This was looking EXCEPTIONALLY USEFUL.

    Will there be a working version we can all use ?

    meanwhile is it a case of copy pasting e.g the coding text for Hawkinge.mis , a file featuring accurate Hawkinge airfield, below the code for Ju88 attack Hawkinge.mis which features the default Hawkinge airfield.
    is that what the wizard did, simply grab the code and add it into a new .mis file code in a copy paste sort of way ?

    I have tried that and it fails, instead its a case of carefully comparing and copying coding [category] by [category], (note the deliberate box brackets, representing how these categories appear)and not copying anything that doesnt relate to the particular mission such as aircraft and squadrons etc .

    For the moment, to separate out chunks of coding, is there wording and symbols that can be used within the mis file that dont affect the coding, for example
    <<---below is Hawkinge accurate airfield building code--->>

    Cheers

    BOBC
    Last edited by BOBC; Jul-20-2017 at 18:17.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •