Jump to content

TurboJet

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About TurboJet

  • Rank
    Rookie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Well, I may drop this idea, as I still can't get it to work. Below is my final effort, but I really do have to move on. Thanks for the tips. This has given me a sense of the effort that the community modders put in. :) [inside dubbing_new_epa.pbo, placed in Arma 3\@dubmod\addons\] class CfgPatches { class dubmod { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = { "A3_Missions_F_EPA" }; }; }; class CfgSentences { class patchAin; //perhaps I should have replaced 01_Wave, or even a_in_01_wave_ICO_0? Didn't try those.... class A_in : patchAin { class 01_Wave { priority=0; file="\a3\missions_f_EPA\kb\A_in\A_in_01_Wave.bikb"; class Sentences { class a_in_01_wave_ICO_0 { text="$STR_A3_a_in_01_wave_ICO_0"; speech[]= { "\dubmod\a_in\01_Wave\a_in_01_wave_ICO_0.ogg" }; actor="BIS_leader"; variant=""; variantText=""; class Arguments { }; }; }; class Arguments { }; class Special { }; startWithVocal[]= { "hour" }; startWithConsonant[]= { "europe", "university" }; }; }; };
  2. Well, my current config file is below, but it does not seem to work. I even converted it to .bin format. Obviously, there is a steep learning curve to modding. (dubbing_new_epa.pbo is the name of the file in \Arma 3\@dubmod\addons) class CfgPatches { class dubbing_new_epa { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = { "A3_Missions_F_EPA" }; }; }; class CfgSentences { class A_in { class 01_Wave { priority=0; file="\a3\missions_f_EPA\kb\A_in\A_in_01_Wave.bikb"; class Sentences { class a_in_01_wave_ICO_0 { text="$STR_A3_a_in_01_wave_ICO_0"; speech[]= { "\dubbing_new_epa\a_in\01_Wave\a_in_01_wave_ICO_0.ogg" }; actor="BIS_leader"; variant=""; variantText=""; class Arguments { }; }; }; class Arguments { }; class Special { }; startWithVocal[]= { "hour" }; startWithConsonant[]= { "europe", "university" }; }; }; }; Anyway, thank you for trying to help, teaCup. I appreciate your detailed response.
  3. I am trying to make a basic mod and replace some of the .pbo files used by the game. Replacing the files directly results in a "data file too short" error, and I have heard that the best way is to make a mod/addon that will do this instead. Currently I am trying to make some changes in dubbing_f_epa.pbo that will appear when I play the campaign (i.e., be loaded by the engine instead of the original data). I have added "-mod=@dubmod" to the Steam launch parameters, and inside the root Arma 3 folder I have put @dubmod/addons/dubbing_new_epa.pbo, with the new sound files. Before repacking the pbo, I placed a config.cpp file inside. This wiki article seems to suggest using a "class CfgPatches {...};" code block to configure the mod, but is not very clear for this purpose. My code is below, but it does not seem to work: class CfgPatches { class dubbing_new_epa { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; //this line might be a problem... }; }; The .cpp file was not "binarized." I think I also might need something in my userconfig folder, but after a few hours searching the internet and the forums, I cannot seems to find any tutorials on this specific problem. Any specific advice on replacing the dubbing_f_epa.pbo, or similar task? Thanks for any assistance. P.S. Is setting up the P: drive needed for this? I have just been using the BankRev/FileBank tools without that, but would do it if necessary.
  4. TurboJet

    Editing vars.arma3profile

    Thanks Tajin, I think you have the right idea. I think new members do not immediately have the privilege of making new threads. [Edit: hm, I seem to have it now, I might do that!] After further research, I believe I need to put a config.cpp file in the top level of the pbo file. Therefore, after modding dubbing_f_epa, I placed the below code in dubbing_f_epa/config.cpp: class CfgPatches { class dubbing_f_epa { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; Then I packed everything up into a new dubbing_f_epa.pbo file, placed in .../Arma 3/@dubmod/Addons, and added "-mod=@dubmod" (without quotes) to starting parameters. It did not work, I think I need to change the name of the class...I will get it sometime, perhaps. Thanks for the tip.
  5. TurboJet

    Editing vars.arma3profile

    I seem to be out of options, so I am posting in this thread because I cannot make a new thread. I have tried to find a thread with similar questions to post my question in that is also recent, etc. I have been messing around modding the vanilla campaign, but changing a file in Arma 3/Addons/ folder makes the game fail to start with the "Data file too short" message. (In this particular case I changed dubbing_f_epa.pbo (I packed it with the Arma 3 tools "FileBank.") Is it possible to mod the built in campaign? Can I get the game to recognize my modded files? Sigh...
×