have a question
i want to mod my submachine guns
have the lua and decompile it already
add some stuff from eath bombs
but i dont shoot bullets or somethink why ?
here is the code :
require("Resources/Script/ActorStates_Constants.lua")
StandardSubmachine = function(l_1_0, l_1_1, l_1_2, l_1_3)
STATE:InitLua(260, 40, -40, 250, 500, 666, 4, "Resources/Sound/smg_dry_fire.ogg")
Attack1 = CreateCAttack()
Attack1:InitAttack1(EXPLOSIONATTACK, WEAPONTYPE_EARTH_BOMB, ATTACKATTRIB_EARTH_BOMBER, 0, l_6_0, 0)
Attack1:InitAttack2(EXPLOSIONATTACK, MAKESPHERE(MAKEVECTOR3(POSITION:GetX(), POSITION:GetY(), POSITION:GetZ()), l_6_1), 1, 1)
Attack1:AddPushCondition(300, 2000, -5000)
Attack1:SetFriendlyDamage(0.5, 0.2)
Attack1:SetCameraShakeEnable(true, true, 0)
Attack1:SetDamageApplyType(2)
Attack1:SetDamageRates(0.75, 0.5, 0.25)
Attack1:SetExplosionRanges(0.4, 0.6, 0.8)
AddAttack(ATTACKS, Attack1)
end