Cogito, ergo sum
UE3:UTWeap_Physicsgun (UDK)
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. |
Properties[edit]
Property group 'UTWeap_Physicsgun'[edit]
ChangeHoldDistanceIncrement[edit]
Type: float
Default value: 50.0
HoldDistanceMax[edit]
Type: float
Default value: 750.0
HoldDistanceMin[edit]
Type: float
ThrowImpulse[edit]
Type: float
Default value: 100.0
WeaponImpulse[edit]
Type: float
Default value: 2000.0
Internal variables[edit]
HoldDistance[edit]
Type: float
HoldOrientation[edit]
Type: Object.Quat
PhysicsGrabber[edit]
Type: RB_Handle
Default value: RB_Handle'RB_Handle0'
Default values[edit]
Property | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AIRating | 0.75 | ||||||||||
AmmoCount | 99 | ||||||||||
bCanThrow | False | ||||||||||
bExportMenuData | False | ||||||||||
Components[0] | RB_Handle'RB_Handle0' | ||||||||||
CurrentRating | 0.75 | ||||||||||
FireOffset |
|
||||||||||
GroupWeight | 0.5 | ||||||||||
InventoryGroup | 154 | ||||||||||
ItemName | "Physics Gun" | ||||||||||
LockerAmmoCount | 99 | ||||||||||
MaxAmmoCount | 99 | ||||||||||
PickupMessage | "Physics Gun" | ||||||||||
PlayerViewOffset |
|
||||||||||
Priority | 0.1 | ||||||||||
WeaponColor |
|
||||||||||
WeaponFireTypes[0] | EWFT_Custom | ||||||||||
WeaponFireTypes[1] | EWFT_Projectile | ||||||||||
WeaponFireWaveForm | ForceFeedbackWaveform'UTGame.Default__UTWeap_Physicsgun:ForceFeedbackWaveformShooting1' |
Subobjects[edit]
FirstPersonMesh[edit]
Class: UTGame.UTSkeletalMeshComponent
Inherits from: UTWeapon.FirstPersonMesh
Property | Value |
---|---|
ReplacementPrimitive | None |
PickupMesh[edit]
Class: Engine.SkeletalMeshComponent
Inherits from: UTWeapon.PickupMesh
Property | Value |
---|---|
ReplacementPrimitive | None |
RB_Handle0[edit]
Class: Engine.RB_Handle
Property | Value |
---|---|
AngularDamping | 1.0 |
AngularStiffness | 50.0 |
LinearDamping | 1.0 |
LinearStiffness | 50.0 |
Functions[edit]
Events[edit]
PostBeginPlay[edit]
Overrides: UTWeapon.PostBeginPlay
Initialize the weapon
Tick[edit]
Overrides: Actor.Tick
Other instance functions[edit]
ChangeVisibility[edit]
Overrides: UTWeapon.ChangeVisibility
This function is called from the pawn when the visibility of the weapon changes
ConsumeAmmo[edit]
Overrides: UTWeapon.ConsumeAmmo
Consumes some of the ammo
DoOverrideNextWeapon[edit]
Overrides: Weapon.DoOverrideNextWeapon
hook to override Next weapon call. For example the physics gun uses it to have mouse wheel change the distance of the held object. Warning: only use in firing state, otherwise it breaks weapon switching
DoOverridePrevWeapon[edit]
Overrides: Weapon.DoOverridePrevWeapon
hook to override Previous weapon call.
StartFire[edit]
Overrides: UTWeapon.StartFire
Called on the LocalPlayer, Fire sends the shoot request to the server (ServerStartFire) and them simulates the firing effects locally. Call path: PlayerController::StartFire -> Pawn::StartFire -> InventoryManager::StartFire Network: LocalPlayer
StopFire[edit]
Overrides: Weapon.StopFire
This initiates the shutdown of a weapon that is firing. Network: Local Player