First and formost im using UT2004.
Im new to Unreal coding (this is my first attempt) and i was attempting to make the Concussion Rifle (via 3dbuzz tutorial). I finshed all the code and ucc make spat out the files but when i summon the rifle in game it acts just like the shock rifle. Whats going on??? Here's the code (I made it in ConTEXT).
//================================================== =================================================
// ConcussionRifle
//================================================== =================================================
class ConcussionRifle extends ShockRifle;
defaultproperties
{
ItemName="Concussion Rifle"
FireModeClass(0)=ConcussionRifleFire
PickupClass=class'ConcussionRiflePickup'
}
//================================================== =================================================
// ConcussionRifleFire
//================================================== =================================================
class ConcussionRifleFire extends ShockBeamFire;
defaultproperties
{
Momentum=+600000.0
DamageMin=3
DamageMax=3
}
//================================================== =================================================
// ConcussionRiflePickup
//================================================== =================================================
class ConcussionRiflePickup extends ShockRiflePickup;
defaultproperties
{
Inventory=Class'Concussion Rifle'
PickupMessage="You got the Concussion Rifle"
}
I've poured over a thousand times and i cant figure out whats wrong. All help is appreciated.
Im new to Unreal coding (this is my first attempt) and i was attempting to make the Concussion Rifle (via 3dbuzz tutorial). I finshed all the code and ucc make spat out the files but when i summon the rifle in game it acts just like the shock rifle. Whats going on??? Here's the code (I made it in ConTEXT).
//================================================== =================================================
// ConcussionRifle
//================================================== =================================================
class ConcussionRifle extends ShockRifle;
defaultproperties
{
ItemName="Concussion Rifle"
FireModeClass(0)=ConcussionRifleFire
PickupClass=class'ConcussionRiflePickup'
}
//================================================== =================================================
// ConcussionRifleFire
//================================================== =================================================
class ConcussionRifleFire extends ShockBeamFire;
defaultproperties
{
Momentum=+600000.0
DamageMin=3
DamageMax=3
}
//================================================== =================================================
// ConcussionRiflePickup
//================================================== =================================================
class ConcussionRiflePickup extends ShockRiflePickup;
defaultproperties
{
Inventory=Class'Concussion Rifle'
PickupMessage="You got the Concussion Rifle"
}
I've poured over a thousand times and i cant figure out whats wrong. All help is appreciated.
Comment