Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE2:U2Weapon property group U2Weapon (U2XMP)
Contents
- 1 Property group 'U2Weapon'
- 1.1 AIRatingAltFire
- 1.2 AIRatingFire
- 1.3 AltDamage
- 1.4 AltFireEndSound
- 1.5 AltFireLastRoundSound
- 1.6 AltFirePitch
- 1.7 AltShellClass
- 1.8 bAimAltFire
- 1.9 bAimFire
- 1.10 bAltFireEnabledForOwner
- 1.11 bAmbientAltFireSound
- 1.12 bAmbientFireSound
- 1.13 bFireEnabledForOwner
- 1.14 BounceDamping
- 1.15 BounceSound
- 1.16 bRepeatAltFire
- 1.17 bRepeatFire
- 1.18 CrosshairFilename
- 1.19 CrosshairName
- 1.20 Damage
- 1.21 DecoEffects
- 1.22 FireEndSound
- 1.23 FireLastRoundSound
- 1.24 FirePitch
- 1.25 FirstPersonOffset
- 1.26 FlashSkin
- 1.27 FlashSkinTP
- 1.28 GunButtSounds
- 1.29 ImpactHandlerClass
- 1.30 MomentumTransfer
- 1.31 RangeIdealAltFire
- 1.32 RangeIdealFire
- 1.33 RangeLimitAltFire
- 1.34 RangeLimitFire
- 1.35 RangeMaxAltFire
- 1.36 RangeMaxFire
- 1.37 RangeMinAltFire
- 1.38 RangeMinFire
- 1.39 RatingInsideMinAltFire
- 1.40 RatingInsideMinFire
- 1.41 RatingRangeIdealAltFire
- 1.42 RatingRangeIdealFire
- 1.43 RatingRangeLimitAltFire
- 1.44 RatingRangeLimitFire
- 1.45 RatingRangeMaxAltFire
- 1.46 RatingRangeMaxFire
- 1.47 RatingRangeMinAltFire
- 1.48 RatingRangeMinFire
- 1.49 ReloadUnloadedSound
- 1.50 ShellClass
- 1.51 ShellOffset
- 1.52 TargetableTypes
- 1.53 TraceRange
- 1.54 TraceSpreadAltFire
- 1.55 TraceSpreadFire
- 1.56 WeaponAnimationType
;Other member categories for this class::instance functions
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Property group 'U2Weapon'[edit]
AIRatingAltFire[edit]
Type: float
default rating for alt-firing weapon (used when range not considered or no target
Default value: -99.999
AIRatingFire[edit]
Type: float
default rating for firing weapon (used when range not considered or no target)
Default value: -99.999
AltDamage[edit]
Type: float
used for instant hit weapons
AltFireEndSound[edit]
Type: Sound
coincides with FireEnd (the post shot die-down) or FireLastRound (the last shot) animations
AltFireLastRoundSound[edit]
Type: Sound
AltFirePitch[edit]
Type: Object.Range
Default value:
Member | Value |
---|---|
A | 1.0 |
B | 1.0 |
AltShellClass[edit]
Type: class<U2ShellCase>
bAimAltFire[edit]
Type: bool
whether alt fire requires owner aiming (usually true)
Default value: True
bAimFire[edit]
Type: bool
whether primary fire requires owner aiming (usually true)
Default value: True
bAltFireEnabledForOwner[edit]
Type: bool
Default value: True
bAmbientAltFireSound[edit]
Type: bool
should the FireSound/AltFireSound be played as an ambient sound?
bAmbientFireSound[edit]
Type: bool
bFireEnabledForOwner[edit]
Type: bool
supports disabling fire for specific weapons for specific NPCs
Default value: True
BounceDamping[edit]
Type: float
Default value: 0.45
BounceSound[edit]
Type: Sound
bRepeatAltFire[edit]
Type: bool
should we go directly into playing the next animation after playing this one?
Default value: True
bRepeatFire[edit]
Type: bool
Default value: True
CrosshairFilename[edit]
Type: string
Default value: "Crosshairs"
CrosshairName[edit]
Type: string
Default value: "Pistol_Cross"
Damage[edit]
Type: float
DecoEffects[edit]
Type: array<DecoEffect>
FireEndSound[edit]
Type: Sound
FireLastRoundSound[edit]
Type: Sound
FirePitch[edit]
Type: Object.Range
Default value:
Member | Value |
---|---|
A | 1.0 |
B | 1.0 |
FirstPersonOffset[edit]
Type: Object.Vector
FlashSkin[edit]
Type: Material
the skin to show when we just fired, and want to make the gun appear brighter from the flash
FlashSkinTP[edit]
Type: Material
GunButtSounds[edit]
Default value, index 0: Sound'U2WeaponsA.GunButt.GunButt01'
Default value, index 1: Sound'U2WeaponsA.GunButt.GunButt02'
Default value, index 2: Sound'U2WeaponsA.GunButt.GunButt03'
Default value, index 3: Sound'U2WeaponsA.GunButt.GunButt04'
ImpactHandlerClass[edit]
Type: class<ImpactHandler>
MomentumTransfer[edit]
Type: float
used for instant hit weapons
RangeIdealAltFire[edit]
Type: float
ideal range to target for alt-firing weapon (-1 = range not considered)
Default value: -1.0
RangeIdealFire[edit]
Type: float
ideal range to target for firing weapon (-1 = range not considered)
Default value: -1.0
RangeLimitAltFire[edit]
Type: float
absolute limit of range to target for alt-firing weapon (default is use RangeMaxAltFire as limit)
Default value: -1.0
RangeLimitFire[edit]
Type: float
absolute limit of range to target for firing weapon (default is use RangeMaxFire as limit)
Default value: -1.0
RangeMaxAltFire[edit]
Type: float
max range to target for alt-firing weapon (-1 = range not considered)
Default value: -1.0
RangeMaxFire[edit]
Type: float
max range to target for firing weapon (-1 = range not considered)
Default value: -1.0
RangeMinAltFire[edit]
Type: float
min range to target for alt-firing weapon (-1 = range not considered)
Default value: -1.0
RangeMinFire[edit]
Type: float
min range to target for firing weapon (-1 = range not considered)
Default value: -1.0
RatingInsideMinAltFire[edit]
Type: float
rating for alt-firing weapon inside min range
Default value: -10.0
RatingInsideMinFire[edit]
Type: float
rating for firing weapon inside min range
Default value: -10.0
RatingRangeIdealAltFire[edit]
Type: float
rating for alt-firing weapon at ideal range
Default value: -1.0
RatingRangeIdealFire[edit]
Type: float
rating for firing weapon at ideal range
Default value: -1.0
RatingRangeLimitAltFire[edit]
Type: float
rating for alt-firing weapon at limit of range
Default value: -1.0
RatingRangeLimitFire[edit]
Type: float
rating for firing weapon at limit of range
Default value: -1.0
RatingRangeMaxAltFire[edit]
Type: float
rating for alt-firing weapon at max range
Default value: -1.0
RatingRangeMaxFire[edit]
Type: float
rating for firing weapon at max range
Default value: -1.0
RatingRangeMinAltFire[edit]
Type: float
rating for alt-firing weapon at min range
Default value: -1.0
RatingRangeMinFire[edit]
Type: float
rating for firing weapon at min range
Default value: -1.0
ReloadUnloadedSound[edit]
Type: Sound
ShellClass[edit]
Type: class<U2ShellCase>
ShellOffset[edit]
Type: Object.Vector
TargetableTypes[edit]
Types of classes we can target.
Default value: Pawn
TraceRange[edit]
Type: float
range used within TraceFire()
Default value: 10000.0
TraceSpreadAltFire[edit]
Type: float
TraceSpreadFire[edit]
Type: float
WeaponAnimationType[edit]
Type: LicenseePawn.EWeaponAnimationType
Modifiers: protected
usual intended animation type for weapon (shoulder, small etc.)
Default value: AT_NoWeapon