| Home Page | Recent Changes

ONSManualGun

UT2004 :: Actor >> ONSWeapon >> ONSManualGun

This is the weapon class of the ONSManualGunPawn, aka. Energy Turret. This sets gfx properties and implements the damage doled out by the Energy Turret.

Properties

class<ONSTurretBeamEffect> BeamEffectClass[2]
Different BeamEffect for red/blue teams.

Functions

StaticPrecache( LevelInfo L ) (static)
UpdatePrecacheMaterials() (simualted)
TraceFire( vector Start, rotator dir )
This performs a trace from the Start vector to the HitLocation and applies (DamageMin + Rand(DamageMax - DamageMin)) damage the actor it hit. Calls SpawnHitEffects().

States

InstantFireMode

SpawnHitEffects( actor HitActor, vector HitLocation. vector HitNormal ) (simulated)
While not on a DedicatedServer and not in Low detail mode, spawns BeamEffects of the BeamEffectClass. Offsets are made for left and right gun barrel fire.

Related Topics


Category Class (UT2004)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In