malibu43 Posted June 18, 2009 Posted June 18, 2009 OK, so I took a look in some SF2 campaign.ini and campaign_data.ini files, and all USAF units in the .ini file call out unit ID=1 from the data.ini file, and all USN call out unit ID=4. Does this mean that all those USAF air units use the same unit ID entry for weapons, supply, base area, etc (from the data.ini), and the aircraft type and squadron is determined by the text in the .ini file? If so I guess that makes things a little easier... but very different! Quote
+331Killerbee Posted June 18, 2009 Posted June 18, 2009 (edited) From "Rolling Thunder" StrikeFighters2Vietnam: [uSMCUnit001] ForceID=1 <<<<<< Force Identification.Is defined as Enemy or Friendly. Not to be confused with Nation ID. UnitID=127 <<<<<< Unit Identification set in the CampaignData.ini. (see below) AircraftType=F-4B Squadron=VMFA115 StartDate=10/1965 DescFile=wovRTStart.txt StartText=wovRTStart2.txt [AirUnit127] <<<<<<< Unit ID. AircraftType=F-4B Squadron=VMFA115 ForceID=1 <<<<<<< Force ID. Nation=USMC StartDate=10/1965 DefaultTexture=USMCGrey1 StartNumber=0 BaseArea=Da Nang Air Base BaseMoveChance=0 RandomChance=100 MaxAircraft=16 StartAircraft=16 MaxPilots=16 StartPilots=16 Experience=100 Morale=100 Supply=50 MissionChance[sWEEP]=40 MissionChance[CAP]=0 MissionChance[iNTERCEPT]=0 MissionChance[ESCORT]=80 MissionChance=40 MissionChance[CAS]=90 MissionChance[sEAD]=20 MissionChance[ARMED_RECON]=50 MissionChance[ANTI_SHIP]=0 MissionChance[RECON]=0 UpgradeType=FIXED Upgrade[01].Date=11/1965 Upgrade[01].Type=F-4B_65 Upgrade[01].Texture=USMCGrey1 Upgrade[02].Date=12/1967 Upgrade[02].Type=F-4B_67 Upgrade[02].Texture=USMCGrey1 Rebase[01].Date=12/1967 Rebase[01].BaseArea=Chu Lai Air Base Nation ID is defined by the Nations .INI in the Flight Folder. X_Nation.INI is in the Terrain. Here's VIETNANSEA_NATIONS.ini for example: [Theater] TheaterName=Southeast Asia Location001=South Vietnam Location001.Nation=South Vietnam <<<<< Never figured this one out. Location002=Thailand Location003=North Vietnam Location004=Cambodia Location005=Laos Location006=China Location007=Burma Location008=Hainan Island Location009=Gulf of Tonkin Location010=South China Sea [LimitedNationList] FriendlyNation001=USAF FriendlyNation002=USN FriendlyNation003=USMC <<<<<<<< This limits Nations involved. Can be added to. FriendlyNation004=SVietnam EnemyNation001=NVietnam Semper Fi! 331KillerBee Edited June 18, 2009 by 331Killerbee Quote
malibu43 Posted June 18, 2009 Author Posted June 18, 2009 Yeah, that's they way the old WOx campaigns are. But in SF2 (not vietnam or europe), there are over 80 flyable squadrons in the campaign1.ini file that all show up in game, but only 46 air units in the campaign1_data.ini file (that's including red air units too). I testing out some edits right now... Quote
+331Killerbee Posted June 18, 2009 Posted June 18, 2009 (edited) There's 126 Flyables in "Rolling Thunder" SF2V. 51 USAF. 57 USN and 18 USMC. 65 in Linebacker I and 44 in Linebacker II. My tests have shown that TK upped the Flyables for a "Nation" From 0-999. Edited June 18, 2009 by 331Killerbee Quote
malibu43 Posted June 18, 2009 Author Posted June 18, 2009 (edited) So I confirmed this morning that you can have several player units in the "campaign".ini file reference the same "unitIDxxx" in the "campaign"_data.ini file. I think they do have to be the same aircraft, but you can have different squadrons. This does two things: 1. Makes it easy to edit player units or add player units to campaigns. You can just add something to the .ini file and leave the _Data.ini alone. Or, likewise, to make all the USN units fly off carriers, I just had to add the carrier info to one unitID entry in the data.ini file instead of 30. WAAAAYYYY easier. 2. You can have lots of squadrons available for a player to choose from, but you don't have that many air units in campaigns, and therefore don't need to add as many enemy air units. In other words, lots of options for the player without having to create a battle of epic proportions. Edited June 18, 2009 by malibu43 Quote
Tomb Posted June 20, 2009 Posted June 20, 2009 where is the "campaign".ini file located i have been unable to find it ? Quote
+PureBlue Posted June 20, 2009 Posted June 20, 2009 where is the "campaign".ini file located i have been unable to find it ? Extract them from the MissionData*.cat files. Quote
Tomb Posted June 20, 2009 Posted June 20, 2009 Extract them from the MissionData*.cat files. thanks got them what i have in mind is to edit one sqn (or preferably create a fictional one), start them off in say F100's then upgrade through various other types of aircraft say 105's then F4's kinda thing..maybe bring the start date forward into say 64 and start with skyraiders to give a sort of airwar intensity increasing...i would probally pick an airbase and put the different types and dates of the aircraft that flew from it... for example YANKEE station and then put in some dates and types of some aircraft that flew from the carriers i think you get the idea... is this possible by just editing this file ? Quote
+PureBlue Posted June 20, 2009 Posted June 20, 2009 Hmm, I'm not into campaigning yet, so I'll let the gurus answer that. Check the KB for tutorials though, and lots of good threads about campaign development around here. Quote
Tomb Posted June 23, 2009 Posted June 23, 2009 Hmm, I'm not into campaigning yet, so I'll let the gurus answer that. Check the KB for tutorials though, and lots of good threads about campaign development around here. Hmm made an edit but cant get SFoV2 to see the file care to lead me by the nose through it ? i simply copyed RT and created a new campaign no 4 called barrel roll the idea being i will edit it but it is not seen by the program...do i have to convert the files back into a .CAT? Quote
malibu43 Posted June 23, 2009 Author Posted June 23, 2009 Hmm made an edit but cant get SFoV2 to see the file care to lead me by the nose through it ? i simply copyed RT and created a new campaign no 4 called barrel roll the idea being i will edit it but it is not seen by the program...do i have to convert the files back into a .CAT? No. Doesn't need to go back to a .CAT. First, make sure it's in the SF2V folder in you documents folder, not in the actual game folder. Then you should start with campignv1.ini and campaignv1_data.ini. Then start renaming. Also, if your new folder is called Barrel Roll, the .ini inside has to be named exactly the same. Also, I don't think the game like campaign folders with spaces in the names. Open up the files and you should be able to figure out the relationship between the two, and then make sure all the naming and such is correct. I could go on and on here, but the best thing would be for you to read up here: http://bunyap2w1.com/campaigntut.htm (from the CombatAce knowledge base forum). Quote
Bravo2009 Posted June 23, 2009 Posted June 23, 2009 Hmmm, did what you said Malibu, and I am getting nothing but CTD's related to campaign.dll Quote
+331Killerbee Posted June 23, 2009 Posted June 23, 2009 (edited) Hmmm, did what you said Malibu, and I am getting nothing but CTD's related to campaign.dll Chief, If You get a Message that's related to .Dll's, It's My experence over the Years that Something is missing. If something is Wrong or Wrong Data, It would simply CTD. Not giving You a Message. But if You are getting a Windows Message stating something releated to the Campaign.dll, Then a Item is Missing. A .INI perhaps, Or a Model or Texture Missing.....Give it the once over..... Edited June 23, 2009 by 331Killerbee Quote
+331Killerbee Posted June 23, 2009 Posted June 23, 2009 Be sure Your editted Files look like this.... Modded Game Folder..... "CAMPAIGNS" Folders....... Inside one of those Folders.... Double Check and see if anything is missing..... 331KillerBee Quote
Bravo2009 Posted June 23, 2009 Posted June 23, 2009 (edited) Where would I find the campaignstart*.bmp files? I think it may be related to that. *EDIT* Thanks KB, it's the briefing file that I am missing. Edited June 23, 2009 by AOCbravo2004 Quote
+331Killerbee Posted June 23, 2009 Posted June 23, 2009 (edited) Where would I find the campaignstart*.bmp files? I think it may be related to that. MenuData.Cat. Doh!...OK Chief. Cool! Edited June 23, 2009 by 331Killerbee Quote
+331Killerbee Posted June 23, 2009 Posted June 23, 2009 Also, "Known Aces" from FE works too......Got to have 5 Kills or more to be a "Known Ace". Quote
+331Killerbee Posted June 23, 2009 Posted June 23, 2009 (edited) Still getting the Message Chief? If it was a CampaignScreen.Bmp missing, It would give You a Message stating there was a Problem with the CampaignScreen.dll in the Menu Folder. That's where editted CampaignScreen.Bmp's go...... Edited June 23, 2009 by 331Killerbee Quote
Bravo2009 Posted June 23, 2009 Posted June 23, 2009 Still getting the campaign.dll message. Will have to play with it later, too tired right now...... Thanks again KB :) Quote
+331Killerbee Posted June 23, 2009 Posted June 23, 2009 OK Chief. If I can be of any other Help, Feel Free to PM Me..... Quote
Tomb Posted June 23, 2009 Posted June 23, 2009 No. Doesn't need to go back to a .CAT. First, make sure it's in the SF2V folder in you documents folder, not in the actual game folder. Then you should start with campignv1.ini and campaignv1_data.ini. Then start renaming. Also, if your new folder is called Barrel Roll, the .ini inside has to be named exactly the same. Also, I don't think the game like campaign folders with spaces in the names. Open up the files and you should be able to figure out the relationship between the two, and then make sure all the naming and such is correct. I could go on and on here, but the best thing would be for you to read up here: http://bunyap2w1.com/campaigntut.htm (from the CombatAce knowledge base forum). hmmm in my original SF2V install the mission data .cat files are in the "flight folder" in the actual install, thier are no .cat files of any sort in the "docs" folder...do newley created ones have to be in the "docs" folder ? Quote
+PureBlue Posted June 23, 2009 Posted June 23, 2009 hmmm in my original SF2V install the mission data .cat files are in the "flight folder" in the actual install, thier are no .cat files of any sort in the "docs" folder...do newley created ones have to be in the "docs" folder ? Cat files are in your installation folder (main game folder) The one in MyDocs is the Mod folder. So what you do is, you add aircraft/missions/campaigns/stuff to your Mod folder. To make a new campaing, create it under MyDocs/Campaigns/NewCampaign and copy over the stock inis extracted from the cats. Rename as needed. Hope that helps. Quote
malibu43 Posted June 23, 2009 Author Posted June 23, 2009 hmmm in my original SF2V install the mission data .cat files are in the "flight folder" in the actual install, thier are no .cat files of any sort in the "docs" folder...do newley created ones have to be in the "docs" folder ? The point of what I said was this: In the old WOx games, you add modded files/folders to the main game folder where the game is installed. But, with the newer SF2 series, the game creates a whole separate set of folders in (for me, anyway) My Documents/Thirdwire/Strike Fighters 2 Vietnam. If you're adding a modded campaign, you will have to create a Campaigns folder, and place your new campaign folder/files in there. Take a look in the Knowledge base section of the forum. It has a thread (that I linked to earlier) that goes over campaign editing and a thread that goes into great detail about how the folder structure works with the new versions of the game. Quote
Tomb Posted June 24, 2009 Posted June 24, 2009 ok done that ant the campign shows up as "barrel Roll" so i then edit both campaign files to change the 12TFS to another aircraft type (flyable B-57B then stock F4C) but it always shows up as an F105D so thier must be something else somewhere thought it must be the Squadronlist.ini which is not in the flightfolder as indicated in the KB but in the mission1.dat folder in SF2V so adding or changing an aircraft type in a campaign may not be as indicated by the KB for SF2V ongoing Quote
malibu43 Posted June 24, 2009 Author Posted June 24, 2009 ok done that ant the campign shows up as "barrel Roll" so i then edit both campaign files to change the 12TFS to another aircraft type (flyable B-57B then stock F4C) but it always shows up as an F105D so thier must be something else somewhere thought it must be the Squadronlist.ini which is not in the flightfolder as indicated in the KB but in the mission1.dat folder in SF2V so adding or changing an aircraft type in a campaign may not be as indicated by the KB for SF2V ongoing Can you post your two campaign files here? I'll take a look at them... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.