Sure it is!PlayerLin wrote:I remember the weapons system in NC doens't works like DooM, so IDKrisis, your idea of pick the ammo that weapons you don't have isn't easy to achieve.
Make a new "Empty" class for each weapon something like this (notice how it doesn't give ammo on pickup)
Code: Select all
ACTOR EmptyV74ARifle : FakeV74ARifle
{
States
{
Pickup:
NASR Z 0
NASR Z 0 A_JumpIfInventory("V74ARifle",1,"NotPickup")
NASR Z 0 A_JumpIf(GetCvar("netroweaplimit") == 1,"LimitlessPickup")
NASR Z 0 A_JumpIfInventory("WeightToken",6,"NotPickup")
LimitlessPickup:
NASR Z 0 A_PlaySound("Weapons/V74ARifle/Clipin")
NASR Z 0 A_GiveInventory("V74ARifle",1)
NASR Z 0 A_GiveInventory("WeightToken",1)
Stop
}
}