Mod for AC
#10
D:
weapon.h?
That seems to have the void definitions, but no numerical specifications.

recoil is right here...
weapon.cpp Wrote:assaultrifle::assaultrifle(playerent *owner) : gun(owner, GUN_ASSAULT) {}

int assaultrifle::dynspread() { return shots > 3 ? info.spread * 3 : info.spread; }
float assaultrifle::dynrecoil() { return info.recoil + (rnd(8)*-0.01f); }
bool assaultrifle::selectable() { return weapon::selectable() && !m_noprimary && this == owner->primweap; }
Thanks given by:


Messages In This Thread
Mod for AC - by owenisred - 22 Dec 10, 07:40PM
RE: Mod for AC - by Zarjio - 22 Dec 10, 07:58PM
RE: Mod for AC - by flowtron - 22 Dec 10, 08:08PM
RE: Mod for AC - by JGAN - 22 Dec 10, 08:24PM
RE: Mod for AC - by Gibstick - 22 Dec 10, 09:12PM
RE: Mod for AC - by owenisred - 23 Dec 10, 01:28AM
RE: Mod for AC - by Gibstick - 23 Dec 10, 02:03AM
RE: Mod for AC - by V-Man - 23 Dec 10, 02:15AM
RE: Mod for AC - by Gibstick - 23 Dec 10, 02:39AM
RE: Mod for AC - by V-Man - 23 Dec 10, 02:50AM
RE: Mod for AC - by Ronald_Reagan - 23 Dec 10, 02:52AM
RE: Mod for AC - by Gibstick - 23 Dec 10, 02:53AM
RE: Mod for AC - by V-Man - 23 Dec 10, 03:09AM
RE: Mod for AC - by Ronald_Reagan - 23 Dec 10, 03:15AM