-
[asm]Grenade Trow
i tried to fix it so when you have a custom grenade in your hand you trow it in asm edit the only way that i discovered is to :
Code:
04B5786 . 7E 1C JLE SHORT Gunz.004B57A4
Edit to JMP SHORT 004B57A4
but that only works when you replace grenade in Weapon.xml.
Example :
Code:
<AddWeaponElu name="grenade01" weapon_motion_type = "6" weapon_type = "7" >
<AddBaseModel name="grenade01" filename="model/weapon/katana/katana01.elu" />
</AddWeaponElu>
http://img706.imageshack.us/img706/5097/gunz056.jpg
How do i make it work for my other custom grenades
-
Re: [asm]Grenade Trow
Thanks.
Change the string on:
Code:
004B7F37 |> 68 40435F00 PUSH Gunz.005F4340 ; ASCII "grenade01"
And use a codecave.
-
Re: [asm]Grenade Trow
Quote:
Originally Posted by
Linear88
Thanks.
Change the string on:
Code:
004B7F37 |> 68 40435F00 PUSH Gunz.005F4340 ; ASCII "grenade01"
And use a codecave.
Thank you il test it later.
-
Re: [asm]Grenade Trow
Linear88 thanks ! I will post a tutorial maybe later.