Lucchese Posted October 22, 2013 Share Posted October 22, 2013 (edited) I've made a plugin that enables sound. And it got used by the Supreme Commander himself ^^ Edited October 24, 2013 by Lucchese Link to comment Share on other sites More sharing options...
sproginator Posted October 22, 2013 Share Posted October 22, 2013 Not d/ling, seems suspicious Link to comment Share on other sites More sharing options...
Snipah Posted October 22, 2013 Share Posted October 22, 2013 Dont listen to those nobs mate. Thanks for sharing the file and the how to. Much apprecaited LuccheseThey obviously need to get out more!Cheers Link to comment Share on other sites More sharing options...
Lucchese Posted October 22, 2013 Share Posted October 22, 2013 (edited) Dont listen to those nobs mate. Thanks for sharing the file and the how to. Much apprecaited LuccheseThey obviously need to get out more!CheersThanks!Maybe I should make a video.. --Edit: Done.I've also copied the part to scale it half its size.To see if I can get the muzzlefx settings right for the small one, I would need to recompile DYJ's source but I can not because it gives me the error that PartReader does not excist in current content.I hadn't even changed anything, how is this possible? Edited October 22, 2013 by Lucchese Link to comment Share on other sites More sharing options...
DYJ Posted October 23, 2013 Author Share Posted October 23, 2013 You are looking at old code, PartReader was the old way off acessing stuff before .20 and no longer works. You should see it commented out in the bitbucket code, here is a direct link that works: https://bitbucket.org/Damnyoujapan/dyjlibrary/src/57ea7a70e20d5c9f34e1b4cfa310127adf8665c9/Class2.cs?at=defaultIf you have a soundfile you like and you know you are free to use I can just add that to the plugin, seems less messy than 2 plugins. Link to comment Share on other sites More sharing options...
Lucchese Posted October 23, 2013 Share Posted October 23, 2013 Ah I see.I took the source from the OP, you might want to update it? About the sound: Exactly my idea If necessary I think I could also make an addition to where the sound will not be played above the atmosphere, as we all know in space there is no sound, just let me know if you'd like that.With DYJ's permission I could rebuild his source with this sound included for (his parts) completeness.The sound I use I found here, it is licensed under the Creative Commons 0 License. Link to comment Share on other sites More sharing options...
Einbjorn Posted October 24, 2013 Share Posted October 24, 2013 I tried remapping the keybindings but this mod still doesn't work for me for some reason.// Kerbal Space Program - Part Config// // PART{// --- general parameters ---name = Gau 19module = Partauthor = DYJ// --- asset parameters ---mesh = model.muscale = 1rescaleFactor = 1// --- node definitions ---node_stack_bottom = 0.0, -0.53289, 0.0, 0.0, 1.0, 0.0node_attach = 0.0, 0.0, -0.15366, 0.0, 0.0, 1.0, 1// --- editor parameters ---cost = 850category = 0subcategory = 0title = Gau-19manufacturer = Damned Industriesdescription = The GAU-19 is an electrically driven Gatling gun that fires the .50 BMG (12.7×99mm) cartridge at 1000RPM. In other words: PEWPEWPEW!// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollisionattachRules = 1,1,1,1,0// --- standard part parameters ---mass = 1.0dragModelType = defaultmaximum_drag = 0.2minimum_drag = 0.3angularDrag = 2crashTolerance = 6breakingForce = 50000breakingTorque = 50000maxTemp = 3400MODULE{ name = DYJMachinegun ProjectileType = bullet //keyFire = joystick button 0 keyFire = [0] BulletMass = 0.45 BulletDrag = 0.03 BulletPower = 120 RocketPower = 10 recoilreductionfactor = 0.01 fireRate = 0.08 lackofkrakensbanontrailrendererscompensation = 0.1 rotationSpeed = 1200 isGatling = true heatProduction = 800 ProjectileFileLoc = Parts/DYJgau19/Bullet/ CasingFileLoc = Parts/DYJgau19/Casing/}MODULE{ name = ModuleAnimateHeat ThermalAnim = Thermalanim}MODULE { name = Sound keyFire = [0] //}}Is there something I missed (note the last part is from the sound attachment posted earlier).Thanks in advance for any input. Link to comment Share on other sites More sharing options...
Lucchese Posted October 24, 2013 Share Posted October 24, 2013 That is because [0] are three keys.Remove everything behind the = and press the key you want to use to fire Link to comment Share on other sites More sharing options...
Einbjorn Posted October 24, 2013 Share Posted October 24, 2013 That is because [0] are three keys.Remove everything behind the = and press the key you want to use to fire Hmm, I thought [0] would tie it to NUMPAD 0At any rate I changed the keybind to "z" (no quotes) and it's still not working *sigh*I have everything installed as best I can tell.gau19 folder @ Steam\SteamApps\common\Kerbal Space Program\Parts and the DYJlibrary.dll @ Steam\SteamApps\common\Kerbal Space Program\GameDataMaybe I am just SOL? *shrug* Link to comment Share on other sites More sharing options...
im batman Posted October 24, 2013 Share Posted October 24, 2013 I just got this mod and I cant find the gau12 Gatling gun were is it Link to comment Share on other sites More sharing options...
Lucchese Posted October 24, 2013 Share Posted October 24, 2013 (edited) I just got this mod and I cant find the gau12 Gatling gun were is itYou need to download the gun itself too, my plugin above is only sound.After installation of the gun itself, the part.cfg is located in GameData/DYJmisc/parts/gau19/part.cfg Edited October 24, 2013 by Lucchese Link to comment Share on other sites More sharing options...
Lucchese Posted October 24, 2013 Share Posted October 24, 2013 (edited) Hmm, I thought [0] would tie it to NUMPAD 0At any rate I changed the keybind to "z" (no quotes) and it's still not working *sigh*I have everything installed as best I can tell.gau19 folder @ Steam\SteamApps\common\Kerbal Space Program\Parts and the DYJlibrary.dll @ Steam\SteamApps\common\Kerbal Space Program\GameDataMaybe I am just SOL? *shrug*Why did you take the archive apart?The file structure must look like this: GameData/DYJmisc/DYJlibrary.dllGameData/DYJmisc/parts/gau19/_All_cfg_files_Long story short: Drop the DYJmisc folder from the archive in the GameData folder. Edited October 24, 2013 by Lucchese Link to comment Share on other sites More sharing options...
Einbjorn Posted October 24, 2013 Share Posted October 24, 2013 Why did you take the archive apart?The file structure must look like this: GameData/DYJmisc/DYJlibrary.dllGameData/DYJmisc/parts/gau19/_All_cfg_files_Long story short: Drop the DYJmisc folder from the archive in the GameData folder.I figured this out about 5 minutes after making the last post... I could have sworn I saw it say merge the part folder with parts and place the .dll in gamedata.Well it all works now that it's back together again... go figure Thank you for the help Lucchese, and the sound mod to it too. Link to comment Share on other sites More sharing options...
Lucchese Posted October 24, 2013 Share Posted October 24, 2013 I figured this out about 5 minutes after making the last post... I could have sworn I saw it say merge the part folder with parts and place the .dll in gamedata.Well it all works now that it's back together again... go figure Thank you for the help Lucchese, and the sound mod to it too.I have it from a very good source that "[0]" should work if you want numpad 0 as your firing key.Excuse me :$ Link to comment Share on other sites More sharing options...
DYJ Posted October 24, 2013 Author Share Posted October 24, 2013 Updated to include Luccheses sound stuff, with a little twist to it. Link to comment Share on other sites More sharing options...
Hellbrand Posted October 24, 2013 Share Posted October 24, 2013 Updated to include Luccheses sound stuff, with a little twist to it.Wait... what? Link to comment Share on other sites More sharing options...
Firenexus13 Posted October 25, 2013 Share Posted October 25, 2013 This mod is awesome.it could use more "variety" though... Link to comment Share on other sites More sharing options...
anarkhon Posted October 25, 2013 Share Posted October 25, 2013 Can you make a lowres version or reduce the texture size? Link to comment Share on other sites More sharing options...
Pliuple Posted October 25, 2013 Share Posted October 25, 2013 Love this mod ! can finally dogfight again ! Thanks for upd. Link to comment Share on other sites More sharing options...
Avalant Posted October 29, 2013 Share Posted October 29, 2013 Hey, how can I edit the the firing button to Mouse Button 4? Link to comment Share on other sites More sharing options...
kong Posted October 30, 2013 Share Posted October 30, 2013 i can't fire the gun (even i was presing the fire key) Link to comment Share on other sites More sharing options...
wolfiie Posted October 30, 2013 Share Posted October 30, 2013 (edited) If there was another gatling gun that was either larger or smaller, yet with a circular or other-shapey barrel instead of the triangular, it would make for some variation, which a lot of people could use to adapt for their doomsday crafts or projects. Edited October 30, 2013 by wolfiie Link to comment Share on other sites More sharing options...
Bobhendly Posted October 30, 2013 Share Posted October 30, 2013 Or how about a single barrel machine gun that doesn't shoot super fast like the gatling? ..Or making all of the bullet trails and fire light yellow instead of red? Link to comment Share on other sites More sharing options...
Bobhendly Posted November 2, 2013 Share Posted November 2, 2013 Yus? Nu? 10charlikenotomorrow Link to comment Share on other sites More sharing options...
Neutrinovore Posted November 2, 2013 Share Posted November 2, 2013 Patience, Grasshopper, patience. Link to comment Share on other sites More sharing options...
Recommended Posts