Newfoundking Posted December 6, 2010 Report Share Posted December 6, 2010 Yes, even the great mod gods need help some times.Just outta curiousity, I'm playing with some files, and I can't seem to figure it out, but where can one find the Campaign script. Not the mission, but the little freeplay-like part that comes between the original missions to earn certain vheicles or upgrades. I want to fool around with this script, such as change what vehicles you work for etc, but where would I find this?Any help is welcome Quote Link to comment Share on other sites More sharing options...
erfd Posted December 6, 2010 Report Share Posted December 6, 2010 Do you mean the freeplay script that controls events and such? Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted December 6, 2010 Report Share Posted December 6, 2010 maybe it runs off the freeplay base? that could be the only thing i can see (and logical) but probably unlikly Quote Link to comment Share on other sites More sharing options...
MikeyPI Posted December 6, 2010 Report Share Posted December 6, 2010 For the cars I am pretty sure they're in the UNIT.xml<campaign> <missions value="2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20 21"> <prototype name="mod:Prototypes/Vehicles/Ambulance/nef.e4p" /> <freeplay> <missions value="2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20 22"> <prototype name="mod:Prototypes/Vehicles/Ambulance/nef.e4p" /> Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted December 6, 2010 Author Report Share Posted December 6, 2010 Thats how to run them from the missions, but I mean the target vehicles to unlock from campaign mode.. Like you have to buy an NEF or a tow or somethingWhen playing the missions (in german) I click weiter, which is next and that takes me to the campaign map, this loads a freeplay like scenario that demands that I collect points to buy an NEF and a water tender or something along those lines. Understand what I mean now?Try playing original unmodded game to see Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted December 6, 2010 Report Share Posted December 6, 2010 In the Specs Folder, there is a file called campaign_params.xmlI think this could be the file that needs editing because this it contains things likecampaign mission 1 before mission 02--> <Mission index = "2"> <InitialEventWaitDuration value="42.0"/> <MaxConcurrentlyEvents value = "1" /> <FinalMaxConcurrentlyEvents value = "2" /> <StartBudget value = "12500" /> <InjuredSavedReward value = "500" /> <StartTime hour = "16" minute = "00" /> <IntroText id = "ID_CAMP_INTRO_M02" /> <SolvedText id = "ID_CAMP_SOLVED_01" /> <Quest> <Task> <Type value = "1" /> <Text id = "ID_QUEST_M02_TASK01" /> <Vehicle id = "NEF" price = "15000" /> <CheckSpecialMessage value = "1" /> <CheckBudget value = "20000" /> <SpecialMessage id = "ID_SUPERV_CAMP_INTRO_B" />The Task bit at the bottom looks like the thing you would need to change, but I haven't tried it, so I might be wrong. Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted December 7, 2010 Author Report Share Posted December 7, 2010 I went through and tried changing it to different variables as well as constants and I've gotten no where.. Still loads up with a different garage and a different set of vehicles then the ones I asked for... Like instead of having an ambulance and an RW, I want to be able to have my ambo and resucein the garage... Haven't figured that much out yet... dunno if it should have a specifc mission value in the Unit.xml or what. And alsoinstead of unlocking an NEF and water tender, I want to unlock an EMS car and engine... Changed it from the NEF to the ID for the ems car, and I still get the NEF.. Only thing I can find to change is in the lang file for it Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted December 7, 2010 Report Share Posted December 7, 2010 I was playing around with the files and I figured it out.I swapped the GTF with the towtruck (ASF)In the ASF Unit.xml file, I changed this<campaign> <missions value="3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20">to this<campaign> <missions value="2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20">and did the same for the freeplay bit at the bottom.In the quest.xml file (in the lang folder), I changed this<string name="ID_QUEST_M02_TASK02">GTF Großraumtankfahrzeug kaufen! (%d Credits)</string>to this<string name="ID_QUEST_M02_TASK02">ASF Abschleppfahrzeug kaufen! (%d Credits)</string>And I changed the bit in the Campaign_params file. I did the first mission and in the freeplay bit after the first mission, the target was to buy an ASF instead of the GTF. Quote Link to comment Share on other sites More sharing options...