Hello again.
I'm searching for help if there is some easy way how to define the missile launcher and other new weapons with extra ammo in the T_Attack function in WL_AGENT.C.
I did added the weapon and its ammo type using these tutorials: New weapon (archive.org) and New ammo (archive.org) by Paal Olstad. (I did not any changed CheckWeaponChange as I did it easier way. I also corrected the GiveWeapon part little bit with help from another member, as the original code was preventing other weapons giving me ammo when picking them up).
However, in this tutorial, there is no mention about changing T_Attack. I was looking on this thread at DHW, however, I still didn't figured it out.
Thanks.
--ToMi
I'm searching for help if there is some easy way how to define the missile launcher and other new weapons with extra ammo in the T_Attack function in WL_AGENT.C.
I did added the weapon and its ammo type using these tutorials: New weapon (archive.org) and New ammo (archive.org) by Paal Olstad. (I did not any changed CheckWeaponChange as I did it easier way. I also corrected the GiveWeapon part little bit with help from another member, as the original code was preventing other weapons giving me ammo when picking them up).
However, in this tutorial, there is no mention about changing T_Attack. I was looking on this thread at DHW, however, I still didn't figured it out.
Thanks.
--ToMi