So i apologize in advance, but as this thread appears to be resolved I'm regretfully going to hijack it.
Been working on a problem for the better part of a month, and finally broke down and created an account only to find out i cant post a new thread, i do sincerely apologize. If anyone would be so kind as to help, i would greatly appreciate it.
I feel I have a fair grasp on scripting, but adding/editing a cfgweapons file for use in a mission seems to elude me. I'm attempting to replace the sound of LMG_Minigun_transport with the sound of the 30mm gatling on the kajman. I have the following script written though i've been fumbling about trying to get it to work to no avail.
This is now sitting at the bottom of my description.ext in my xxxxx.stratis.pbo
class cfgWeapons {
class LMG_Minigun_Transport; // External class reference
class LMG_Obie : LMG_Minigun_Transport {
displayName = "Obie";
dfyre_soundeffect = "DragonFyre_Effect_DF_WH_AIR";
};
};
However. its searching that file for LMG_Minigun_Transport inside of the mission config instead of the base directory, which i thought it would. I'm not sure how to point it there, though I've been attempting #include functions, i admit i am out of my depth.
The end result would ideally be using "unit addWeaponGlobal "LMG_Obie";" and adding a lmg to a vehicle, which functions exactly as it should except changing the sound, or changing the ballistics of the 30mm gatling to that of a minigun while retaining its sound.
Again, apologies for hijacking a thread. I attempted PMing several people as well as extensive google searching before i succumbed to this.