Graz 1 Posted December 4, 2012 Should be easy enough, but I'm trying to have this without have users needing to download a tiny addon. Can the configs be altered through scripts? Wrong section, but maybe the mission files can alter configs? Share this post Link to post Share on other sites
eggbeast 3685 Posted December 4, 2012 each weapon model is linked to embedded animations. without a new pbo containing a new model/animation this won't work. You can change the configs to make it store in pistol slot, launcher slot or binocs slot easily enough but as soon as you equip it you'll have a blank rocket launcher animation running. RH_smg mod has some great pistol MP5's suggest you use that, or the skorpion or PDW. you could even config the PDW to use an MP% name, magname and image icon (but the model would still be wrong) Share this post Link to post Share on other sites
slatts 1978 Posted December 4, 2012 (edited) ^ Gimme 10 minutes to prove you wrong...or right XD EDIT: OK so it wasn't as straight forward as I thought... http://i296.photobucket.com/albums/mm180/guitaro-man/arma2OA2012-12-0423-06-37-91.png Edited December 4, 2012 by Slatts Share this post Link to post Share on other sites
R0adki11 3949 Posted December 4, 2012 Not a bad proof of concept, i think custom animation would be need and it would look much better :) Share this post Link to post Share on other sites
Graz 1 Posted December 5, 2012 each weapon model is linked to embedded animations. without a new pbo containing a new model/animation this won't work.You can change the configs to make it store in pistol slot, launcher slot or binocs slot easily enough but as soon as you equip it you'll have a blank rocket launcher animation running. RH_smg mod has some great pistol MP5's suggest you use that, or the skorpion or PDW. you could even config the PDW to use an MP% name, magname and image icon (but the model would still be wrong) I'm trying to avoid extra downloads >_< ^ Gimme 10 minutes to prove you wrong...or right XDEDIT: OK so it wasn't as straight forward as I thought... http://i296.photobucket.com/albums/mm180/guitaro-man/arma2OA2012-12-0423-06-37-91.png That's pretty decent for a fast and dirty job, did you find away without needing to do an additional download? Share this post Link to post Share on other sites
slatts 1978 Posted December 5, 2012 Nope, from what I know there's no way to do it without a new pbo. Even in Arma 1 there was a script that let you have a second primary in the launcher slot but it was still an addon. If it's for a particular group of players (friends/clan) a small addon won't hurt at all. The overall size is TINY. That one I did had 3 lines of code. Model, handanim and displayName. Of course it inherited off a M9 so sounded and acted like one so more code will have to go in to make it an MP5 (whole MP5 code really) but it's still gonna be a tiny tiiiiny pbo containing a config and nothing else. Share this post Link to post Share on other sites
eggbeast 3685 Posted December 5, 2012 (edited) not bad at all - i imagine that's because both are right hand forward posed weapons that it works ok this is what we tried to do with an M79 as secondary (my absolute dream mod - please someone do it!) when you take the weapon it makes a rocket launcher anim and the weapon stays on your back and fires up in the air. hcpookie made a pistol version like your mp5 above here http://forums.bistudio.com/showthread.php?134330-RG-6-and-Heavy-Grenadier-units&p=2188391&viewfull=1#post2188391 i imagine if you just swapped out the type from rifle to pistol and replaced the model/name/sound/magtypes etc it would be a rough success. how well does it aim? Edited December 5, 2012 by eggbeast Share this post Link to post Share on other sites
slatts 1978 Posted December 5, 2012 aims just fine, btw..as secondary how do you mean? Launcher or sidearm? Share this post Link to post Share on other sites
eggbeast 3685 Posted December 5, 2012 launcher - the pic of what we did is here i guess a script could do it then? maybe add it as the launcher version then use a script to say "if player hasweapon "grenadelauncher_launcherversion" then {player removeweapon "grenadelauncher_launcherversion"; player addweapon "M79"}; and equip it and reload it... would have to manage what happens to your primary weapon... and also to tag that this M79 is different so it remembers to swap you back to the launcher version when you put it away - I'vealsways assumed this would be so clunky that it would not be worth a look. never saw the A1 version. sorry if this went a little off topic Graz - your request is close to my heart here! we have a MP5 with added red flashlight and pistol slot ammo - meaning you can carry loads of grenades, rockets and satchels. if we want a sprayer for pistol we just take a PDW. we have increased damage of M9SD and MP5SD ammo too, so you can one-shot kill with them - great for covert work. what was the main motive for your original request? is it snipers wanting a better sidearm? or civs who can only carry pistols? etc Share this post Link to post Share on other sites