Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Gameplay.PodWeapon

00001 00002 00003 00004 00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044

    class PodWeapon extends Weapon;

    simulated function bool canFire()
    {
    	return true;
    }

    // Had problem of clients occasionally thinking they were using this weapon in first person when exitting vehicle. Added this function
    // to make sure it is always used in third person.
    simulated function bool firstPersonStatus()
    {
    	return false;
    }

    // Want to be in Held start initially so as the "equip" event will be correcrtly replicated.
    auto simulated state PodHeld extends Held
    {

    }

    simulated function moveWeapon()
    {
    	// do nothing
    }

    defaultproperties
    {
    	drawType = DT_None
    	bHidden = false

    	firstPersonOffset = (X=-26,Y=22,Z=-18)

    	roundsPerSecond = 2
    	ammoCount = 200
    	ammoUsage = 0

    	projectileClass = class'PodWeaponProjectile'
    	projectileVelocity = 2600
    	projectileInheritedVelFactor = 0.5

    	aimClass = class'AimProjectileWeapons'

    	thirdPersonMesh = None
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 15:53:28.000 - Creation time: st 23.5.2018 00:10:46.564 - Created with UnCodeX