Results 1 to 19 of 19

Thread: Dynamic Single Player Campaign

  1. #1
    Novice Pilot
    Join Date
    Feb 2014
    Posts
    68
    Post Thanks / Like
    Total Downloaded
    81.47 MB

    Dynamic Single Player Campaign

    About 6 months ago I came across a single player campaign program made by oden.
    Since then I have been testing and modifying the code, and adding a few new features currently only for the british side

    So now here it is
    http://www.mediafire.com/download/u2...seVersion4.rar

    Things I have added include
    Morale rating for each Squadron which affects the skill modifiers (don't think it actually does much)
    Scramble Missions
    if Radars are damaged then the range is reduced meaning less time to intercept.
    Air-Starts for AI Flights only at this stage
    The amount of kills you make will affect the losses the enemy will sustain.
    Ground control vectoring flights to intercept, just follow the instructions

    To install, Copy all the files from the rar into Single Missions folder

    If people like it then I have a number of ideas to add to it
    My thanks to oden for the initial code and Salmo for help with some of the trickier bits

    Enjoy

  2. #2
    Team Fusion ATAG_Bliss's Avatar
    Join Date
    Feb 2011
    Location
    United States of China
    Posts
    4,135
    Post Thanks / Like
    Total Downloaded
    457.02 MB

    Re: Dynamic Single Player Campaign

    Very nicely done!

    Would you mind uploading it to the download section also? See here: http://theairtacticalassaultgroup.co.../Downloads.php


    "The dissenter is every human being at those moments of his life when he resigns momentarily from the herd and thinks for himself". - Archibald Macleish


  3. Likes churchy5 liked this post
  4. #3
    Ace Wolf's Avatar
    Join Date
    Feb 2012
    Posts
    1,297
    Post Thanks / Like
    Total Downloaded
    63.02 MB

    Re: Dynamic Single Player Campaign

    wow, this sounds awesome. I think I would have a lot of use for this with some of the things I am doing.

    Can you use it to add in ships as targets or does it just generate flights?

    I guess it would need to have some code into standard formation of ships in groups...
    ATAG_Wolf
    __________________
    Win10, 64bit Ultra
    Asus P8P67Pro MB
    Intel i7-2600K
    Coursair 16GB (4x 4GB), DDR3-1600MHz
    Gainward Nvidia 980GTX
    850-Watt Modular Power Supply
    WIN10 and COD on Gskill SSD 240GB
    40" Panasonic LCD
    TrackIR5 +
    Thrustmaster Warthog stick, throttle & pedals

  5. #4
    Supporting Member SD_MBen's Avatar
    Join Date
    Mar 2016
    Location
    UK
    Posts
    298
    Post Thanks / Like
    Total Downloaded
    5.15 GB

    Re: Dynamic Single Player Campaign

    Quote Originally Posted by migman View Post
    About 6 months ago I came across a single player campaign program made by oden.
    Since then I have been testing and modifying the code, and adding a few new features currently only for the british side

    So now here it is
    http://www.mediafire.com/download/u2...seVersion4.rar

    Things I have added include
    Morale rating for each Squadron which affects the skill modifiers (don't think it actually does much)
    Scramble Missions
    if Radars are damaged then the range is reduced meaning less time to intercept.
    Air-Starts for AI Flights only at this stage
    The amount of kills you make will affect the losses the enemy will sustain.
    Ground control vectoring flights to intercept, just follow the instructions

    To install, Copy all the files from the rar into Single Missions folder

    If people like it then I have a number of ideas to add to it
    My thanks to oden for the initial code and Salmo for help with some of the trickier bits

    Enjoy
    Thanks for this.
    Is that all you do, just drop all the files in your Single mission folder?
    Thanks in advance.
    Ben
    "What General Weygand has called the Battle of France is over... the Battle of Britain is about to begin!"
    (Winston S. Churchill.)

  6. #5
    Supporting Member FightingSteel1's Avatar
    Join Date
    Mar 2014
    Location
    Florida
    Posts
    330
    Post Thanks / Like
    Blog Entries
    3
    Total Downloaded
    1.50 MB

    Re: Dynamic Single Player Campaign

    Any chance we can get this for the Luftwaffe side?

  7. #6
    Student Pilot
    Join Date
    Aug 2012
    Posts
    19
    Post Thanks / Like
    Total Downloaded
    165.08 MB

    Re: Dynamic Single Player Campaign

    YES!!!! Please keep going! Thank you VERY much (and to theOden as well)!!!

  8. #7
    Student Pilot
    Join Date
    Aug 2012
    Posts
    19
    Post Thanks / Like
    Total Downloaded
    165.08 MB

    Re: Dynamic Single Player Campaign

    I do have a quick question, though. Has the "resetting the INI file by deleting it" thing been disabled? Doesn't seem to do that anymore. Not a biggie, just wanted to make sure I didn't break something. Loving the AI air starts, though. One thing that always bothered me was flying in circles, waiting for the Luftwaffe to take off and get here! Great Stuff.

    Hopefully with the upcoming 5.0, there will be some AI fixes that will really make Single Player shine.

  9. Likes SD_MBen liked this post
  10. #8
    Novice Pilot
    Join Date
    Feb 2014
    Posts
    68
    Post Thanks / Like
    Total Downloaded
    81.47 MB

    Re: Dynamic Single Player Campaign

    Quote Originally Posted by tn_prvteye View Post
    I do have a quick question, though. Has the "resetting the INI file by deleting it" thing been disabled? Doesn't seem to do that anymore. Not a biggie, just wanted to make sure I didn't break something. Loving the AI air starts, though. One thing that always bothered me was flying in circles, waiting for the Luftwaffe to take off and get here! Great Stuff.

    Hopefully with the upcoming 5.0, there will be some AI fixes that will really make Single Player shine.
    That is a work in progress...for now keep a copy of the original ini mis and briefing file and replace when you want to start from the beginning

  11. #9
    Student Pilot
    Join Date
    Apr 2014
    Location
    Maryland USA
    Posts
    17
    Post Thanks / Like
    Total Downloaded
    4.68 MB

    Re: Dynamic Single Player Campaign

    This really has promise for a competent SP campaign. It's stable and generates pretty interesting and varied missions. Only real issues I've had is squadron mates that are very hard to keep up with. They also don't seem to engage enemy ac much of the time. These are issues more likely associated with the game AI so maybe there isn't much that can be done there. I like the daily battle statistics and info on the general state of the battle. If there could be more detail on the players career and squadron pilots that would be nice.

    In any event thank you Migman for your work. I hope you continue to develop the much needed SP campaign.

  12. #10
    Supporting Member SD_MBen's Avatar
    Join Date
    Mar 2016
    Location
    UK
    Posts
    298
    Post Thanks / Like
    Total Downloaded
    5.15 GB

    Re: Dynamic Single Player Campaign

    Quote Originally Posted by SD_MBen View Post
    Thanks for this.
    Is that all you do, just drop all the files in your Single mission folder?
    Thanks in advance.
    Ben
    Bump?
    "What General Weygand has called the Battle of France is over... the Battle of Britain is about to begin!"
    (Winston S. Churchill.)

  13. #11
    Student Pilot
    Join Date
    Aug 2012
    Posts
    19
    Post Thanks / Like
    Total Downloaded
    165.08 MB

    Re: Dynamic Single Player Campaign

    Quote Originally Posted by SD_MBen View Post
    Bump?
    Yep, should go to missions\single folder.


    Sent from my SM-G900V using Tapatalk

  14. Likes SD_MBen liked this post
  15. #12
    ATAG Member ATAG_Lolsav's Avatar
    Join Date
    Jun 2012
    Posts
    4,684
    Post Thanks / Like
    Blog Entries
    1
    Total Downloaded
    16.32 MB

    Re: Dynamic Single Player Campaign

    First let me congratulate to make such a depth scripted mission. I took a look and i was particulary interested in the IPlayerStat and such.

    But.. when i launch the mission, the planes fly around endlessly and nothing happens. As per briefing i follow red leader but he doesnt go anywhere. Did i miss a step?

  16. Likes SD_MBen liked this post
  17. #13
    Combat pilot
    Join Date
    Jul 2014
    Posts
    115
    Post Thanks / Like
    Total Downloaded
    110.68 MB

    Re: Dynamic Single Player Campaign

    Quote Originally Posted by ATAG_Lolsav View Post
    when i launch the mission, the planes fly around endlessly and nothing happens. As per briefing i follow red leader but he doesnt go anywhere. Did i miss a step?
    Same here, when I start a new mission I get the message: "OnBombsHit=0. Mission cut short before target reached" or something like that.

  18. #14
    Novice Pilot
    Join Date
    Feb 2014
    Posts
    68
    Post Thanks / Like
    Total Downloaded
    81.47 MB

    Re: Dynamic Single Player Campaign

    never had that happen in my install.
    I need more information
    Some tests to run to see if script is actually working
    Before Take Off: <CTRL F2> will tell you if and enemy formations have been generated
    <SHIFT F2> will tell you if any Friendly formations are there
    <CTRL TILDE> will display data in the log file on screen and pause the game
    if all of these are positive then the script is running as it should...check the log file for any errors
    if you want to see a full debug version...then edit the script file. At the top is a boolean value called odenDebug. Set it true and save, log file will then print all the test data I use. (there is a lot of it)
    Remember all the files need to be in the //missions/Single folder not the //mission folder
    Last edited by migman; May-22-2016 at 03:52.

  19. Likes SD_MBen liked this post
  20. #15
    Combat pilot
    Join Date
    Jul 2014
    Posts
    115
    Post Thanks / Like
    Total Downloaded
    110.68 MB

    Re: Dynamic Single Player Campaign

    Hi migman, no enemy flight has been generated at the start of the mission. Also, for some reason, my friendly unit is duplicated. We start on the runway and then another squadron with our exact markings taxis from the hangars and takes off. Ships have been generated and ground control gives us the vector our patrol area (Where the planes circle endlessly) when contacted via the Tab menu.

    In the chat, where server messages generally appear, I get the message OnMissionStart=0 when I load and then messages that tell me which aircraft just got airborne, there's also one about a long bridge being the wrong width (3) in the console when I Ctrl Tab. (I doubt that one is important).

    According to the debug the radar search cycle is working.

    Anyway, I'm going to let the mission run on time compression and see how it pans out when everyone lands.
    Last edited by JimmyBlonde; May-21-2016 at 22:37.

  21. #16
    Combat pilot
    Join Date
    Jul 2014
    Posts
    115
    Post Thanks / Like
    Total Downloaded
    110.68 MB

    Re: Dynamic Single Player Campaign

    Update.

    The same mission is generated after completing the mission with time compression.

  22. #17
    Novice Pilot
    Join Date
    Feb 2014
    Posts
    68
    Post Thanks / Like
    Total Downloaded
    81.47 MB

    Re: Dynamic Single Player Campaign

    To those of you having trouble with this script.

    Last, you must have a line like the following in the [rts] section of both your conf.ini and confs.ini file.

    I believe that conf.ini pertains to your regular Launcher.exe process and confs.ini applies if you are running "Launcher.exe -server" as a dedicated server. At any rate, in my experience it is necessary to have it in both places for full functionality. Note that you will need to exit Launcher.exe, then edit and save conf.ini & confs.ini, then re-start Launcher.exe. If you don't follow this process, your conf.ini and/or confs.ini will be overwritten when Launcher.exe exits.


    [rts]
    scriptAppDomain=0

    This is required in both your conf and confs ini files. check if this value is what you have and if not follow the above process
    Note: I only have it set in conf.ini file seems to work fine like that
    The mission file provided generates 2 flights from your airfield one parked the other on the runway. The script also generates other friendly flights both in the air and on the ground. So if all you have is the 2 flights then script is not running. In that case check the above value.

  23. Likes JimmyBlonde liked this post
  24. #18
    Combat pilot
    Join Date
    Jul 2014
    Posts
    115
    Post Thanks / Like
    Total Downloaded
    110.68 MB

    Re: Dynamic Single Player Campaign

    Quote Originally Posted by migman View Post
    To those of you having trouble with this script.

    Last, you must have a line like the following in the [rts] section of both your conf.ini and confs.ini file.

    I believe that conf.ini pertains to your regular Launcher.exe process and confs.ini applies if you are running "Launcher.exe -server" as a dedicated server. At any rate, in my experience it is necessary to have it in both places for full functionality. Note that you will need to exit Launcher.exe, then edit and save conf.ini & confs.ini, then re-start Launcher.exe. If you don't follow this process, your conf.ini and/or confs.ini will be overwritten when Launcher.exe exits.


    [rts]
    scriptAppDomain=0

    This is required in both your conf and confs ini files. check if this value is what you have and if not follow the above process
    Note: I only have it set in conf.ini file seems to work fine like that
    The mission file provided generates 2 flights from your airfield one parked the other on the runway. The script also generates other friendly flights both in the air and on the ground. So if all you have is the 2 flights then script is not running. In that case check the above value.
    That did it! thanks migman.

    For the record I edited the conf.ini and confs ini located in Documents/1CSoftClub/CliffsOfDoverMOD (Since there are three versions, it's a little hard to understand which one to edit if you dont know how the files/program works)

  25. #19
    Student Pilot
    Join Date
    Apr 2014
    Posts
    18
    Post Thanks / Like
    Total Downloaded
    3.0 KB

    Re: Dynamic Single Player Campaign

    Not available for LW ? I'm sad and disappointed now.

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
  •