| Home Page | Recent Changes | Preferences

NukeRifle

NukeRifles

NukeRifle

//=============================================================================
// NukeRifle
//=============================================================================
class NukeRifle extends ShockRifle;

#exec OBJ LOAD FILE=..\Sounds\WeaponSounds.uax
#exec OBJ LOAD FILE=XEffectMat.utx

function float GetAIRating()
{
    return AIRating;
}

simulated function bool StartFire(int mode)
{
    bWaitForCombo = false;
    return Super.StartFire(mode);
}

function float RangedAttackTime()
{
    return 0;
}

/* BestMode()
choose between regular or alt-fire
*/
function byte BestMode()
{
    return 0;
}

defaultproperties
{
    bCanThrow=false
    AIRating=+1.0
    
    FireModeClass(0)=NukeRifleFire
    FireModeClass(1)=NukeRifleFire
    InventoryGroup=4
    ItemName="Nuke Rifle"
    PickupClass=class'NukeRiflePickup'
}

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In