Jump to content
Sign in to follow this  
Graz

MP5A5 to Pistol

Recommended Posts

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

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

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
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 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

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

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

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!)

th_tooledup1.jpg

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

gLpistols.jpg

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 by eggbeast

Share this post


Link to post
Share on other sites

aims just fine, btw..as secondary how do you mean? Launcher or sidearm?

Share this post


Link to post
Share on other sites

launcher - the pic of what we did is here

tooledup1.jpg

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×