Hello dudes, i need some help. I'm working on this mutator and I am able to extend all weaponclasses except the AssaultRifle.
Well I can extend it but changing the default props don't work.
With all the other weapons I tried so far it works.
Code example that does work:
class MinigunExt extends Minigun;
defaultproperties
{
FireModeClass(0)=MinigunFireExt
}
class MinigunFireExt extends MinigunFire;
defaultproperties
{
DamageMin=100 //joke
DamageMax=100 //joke
}
And now with the AssaultRifle wich does not work:
class AssaultRifleExt extends AssaultRifle;
defaultproperties
{
FireModeClass(0)=AssaultFireExt
}
class AssaultFireExt extends AssaultFire;
defaultproperties
{
DamageMin=100 //joke
DamageMax=100 //joke
}
Is the AssaultRifle somehow locked or what?
Well I can extend it but changing the default props don't work.
With all the other weapons I tried so far it works.
Code example that does work:
class MinigunExt extends Minigun;
defaultproperties
{
FireModeClass(0)=MinigunFireExt
}
class MinigunFireExt extends MinigunFire;
defaultproperties
{
DamageMin=100 //joke
DamageMax=100 //joke
}
And now with the AssaultRifle wich does not work:
class AssaultRifleExt extends AssaultRifle;
defaultproperties
{
FireModeClass(0)=AssaultFireExt
}
class AssaultFireExt extends AssaultFire;
defaultproperties
{
DamageMin=100 //joke
DamageMax=100 //joke
}
Is the AssaultRifle somehow locked or what?
Comment