Page 1 of 1

Questions about modding in bf2

Posted: 2024-09-23 04:12
by dennisrussel
Hello,
I'm new to the forum. I wonder if it is to enable 2 weapons to use the same temperature bar.
Moreover, when in shotgun i set damage to 100 do 1 projectile will deal 100 damage or 1/12 of this damage? :? :
Hope that someone can answer.
Thanks in advance!

Re: Questions about modding in bf2

Posted: 2024-09-23 20:17
by bad_nade
dennisrussel wrote:Hello,
I'm new to the forum. I wonder if it is to enable 2 weapons to use the same temperature bar.
Moreover, when in shotgun i set damage to 100 do 1 projectile will deal 100 damage or 1/12 of this damage? :? :
Hope that someone can answer.
Thanks in advance!
Check community modding subforum. There are lots of guides and information, and you can also ask questions but getting answers might take a while. https://www.realitymod.com/forum/forumdisplay.php?f=388

Re: Questions about modding in bf2

Posted: 2024-09-30 03:09
by Arab
dennisrussel wrote:Hello,
I'm new to the forum. I wonder if it is to enable 2 weapons to use the same temperature bar.
Moreover, when in shotgun i set damage to 100 do 1 projectile will deal 100 damage or 1/12 of this damage? :? :
Hope that someone can answer.
Thanks in advance!
From memory, just maglink them and have the 2nd weapon .tweak use the same Gui Index.
So basically, clone weapon 1, rename it weapon 2, use the same gui index and add them in as a Bundle to a vehicle.

Setting ObjectTemplate.damage 100 will do additional damage on top of the material's damage modifier. So you need to check MaterialManagerDefine.con for the ObjectTemplate.material and adjust that value.