Jump to content
Sign in to follow this  
vasgork

Adding weapons that vehicles from addons have

Recommended Posts

Is there a way to add a missle that F14 Tomcat has to BMP?

Just like you can add maverick missle to BMP by using this addmagazine "mavericklauncher"; this addweapon "mavericklauncher" . So that the BMP could shoot with AA missles borowed from F14 Tomcat.

Thank You. smile.gif

Share this post


Link to post
Share on other sites
Guest jacobaby

yes, but you would need the weapon name from the addon. Many addons include it in the readme.

Share this post


Link to post
Share on other sites

why can't any1 understand me? I don't need names of addons, I need names of weapons that those addons have crazy.gifcrazy.gifcrazy.gif For example F14 Tomcat has AA missles so what is the name of that missle so I could take that missle and add it to BMP by using THIS ADDWEAPON command. mad.gifmad.gifmad.gif

Share this post


Link to post
Share on other sites

Thank you blackdog~ you're the man!!! biggrin.gifbiggrin.gifbiggrin.gif

but how do you find out the names of those weapons? wink.gifwink.gifwink.gif

Thank you very much!!! biggrin.gifbiggrin.gifbiggrin.gif

Share this post


Link to post
Share on other sites
Guest jacobaby

As I said before but you dont seem to understand.....

YOU NEED THE WEAPON NAME FROM THE ADDON.

If its not in the readme, which its Not for the F14, then you have to unpbo it and check the weapon names from the config.cpp.

Or you could write a script which would tell you the name of the ammo being fired.

sad.gif

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_unit = _this select 0

_weapons = weapons _unit

_mags = magazines _unit

_magsSTR = format ["%1", _mags]

_weapSTR = format ["%1", _weapons]

_unit sidechat _weapSTR

_unit sidechat _magsSTR

exit

this will return magazines and weapon names of units into sidechat (v1.75 or higher) use is as [unitname] exec "scriptname.sqs"

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  

×