Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Core.Object | +-- Engine.Actor | +-- Engine.Info | +-- Engine.Mutator | +-- U2.U2Mutator | +-- U2.NIU2
Constants Summary | ||
---|---|---|
LOTSATIME | = | 99999.0 |
MaxKeptClasses | = | 32 |
MaxWeaponClasses | = | 64 |
Variables Summary | |
---|---|
bool | bDidTick |
bool | bForceWeaponSpawn |
float | ChooseWeaponWarningTime |
class<Weapon> | CurrentWeaponClass |
int | CurrentWeaponIndex |
class<Pickup> | DefaultPickupClass |
string | DefaultWeaponString |
WeaponInfoT | FilteredWeaponInfo[MaxWeaponClasses] |
Sound | HealthIncrementSound |
class<Actor> | KeptClasses[MaxKeptClasses] |
float | NextAmmoIncrementTime |
float | NextChooseWeaponTime |
float | NextIncrementHealthTime |
int | NumKeptClasses |
int | NumUsedWeapons |
int | NumWarnings |
int | NumWeapons |
Sound | WarningSound |
NIU2 | |
bool | bCycleWeapons |
bool | bRandomWeapons |
bool | bUseAllWeapons |
string | DefaultPickupString |
int | HealthIncrementAmount |
string | HealthIncrementSoundStr |
string | KeptClassStrings[MaxKeptClasses] |
int | MaxHealth |
int | StartHealth |
float | TimeBetweenAmmoIncrements |
float | TimeBetweenHealthIncrements |
float | TimeBetweenWeaponSwitchesMax |
float | TimeBetweenWeaponSwitchesMin |
int | WarningSoundRepeats |
string | WarningSoundStr |
WeaponInfoRawT | WeaponInfo[MaxWeaponClasses] |
Inherited Variables from Engine.Mutator |
---|
DefaultWeapon, DefaultWeaponName, NextMutator |
Structures Summary | ||
---|---|---|
WeaponInfoRawT WeaponClassString, InitialAmmo, MaxAmmo, AmmoPerSecond, bEnabled | ||
WeaponInfoT WeaponClass, InitialAmmo, MaxAmmo, AmmoPerSecond, AmmoCount, bUsed |
Functions Summary | ||
---|---|---|
AddAmmo (Ammunition AInv, int Amount )) | ||
bool | AddWeaponClass (string WeaponClassString, int Index )) | |
bool | AlwaysKeep (Actor Other )) | |
AssignSounds ())) | ||
bool | CheckReplacement (Actor Other, out byte bSuperRelevant )) | |
ChooseWeapon ())) | ||
GiveWeaponTo (Pawn P, Class | ||
IncrementAllInventoryAmmo ())) | ||
ModifyPlayer (Pawn Other )) | ||
class<Weapon> | MyDefaultWeapon ())) | |
PreBeginPlay ())) | ||
ResetUsedWeapons ())) | ||
SetInventory (Pawn P )) | ||
SetWeaponAmmo (Weapon W, Pawn Other, int Amount, int Max )) | ||
bool | ShouldKeep (Actor Other )) | |
Tick (float DeltaTime )) | ||
TransformPickups ())) | ||
WeaponTimeDemoLog ())) |
Constants Detail |
---|
Variables Detail |
---|
Structures Detail |
---|
var(NIU2) config float AmmoPerSecond;};
var(NIU2) config bool bEnabled;
var(NIU2) config int InitialAmmo;
var(NIU2) config int MaxAmmo;
var(NIU2) config string WeaponClassString;
var float AmmoCount;};
var float AmmoPerSecond;
var bool bUsed;
var int InitialAmmo;
var int MaxAmmo;
var class<Weapon> WeaponClass;
Functions Detail |
---|
Defaultproperties |
---|
defaultproperties { bUseAllWeapons=true bCycleWeapons=true WeaponInfo(0)=(WeaponClassString="U2Weapons.weaponInvAssaultRifle",InitialAmmo=50,MaxAmmo=100,AmmoPerSecond=1.000000) WeaponInfo(1)=(WeaponClassString="U2Weapons.weaponInvEnergyRifle",InitialAmmo=50,MaxAmmo=200,AmmoPerSecond=1.000000) WeaponInfo(2)=(WeaponClassString="U2Weapons.weaponInvFlameThrower",InitialAmmo=50,MaxAmmo=200,AmmoPerSecond=1.000000,bEnabled=true) WeaponInfo(3)=(WeaponClassString="U2Weapons.weaponInvGrenadeLauncher",InitialAmmo=10,MaxAmmo=50,AmmoPerSecond=0.200000,bEnabled=true) WeaponInfo(4)=(WeaponClassString="U2Weapons.weaponInvLaserRifle",InitialAmmo=10,MaxAmmo=100,AmmoPerSecond=0.200000,bEnabled=true) WeaponInfo(5)=(WeaponClassString="U2Weapons.weaponInvLeechGun",InitialAmmo=25,MaxAmmo=100,AmmoPerSecond=0.500000) WeaponInfo(6)=(WeaponClassString="U2Weapons.weaponInvPistol",InitialAmmo=25,MaxAmmo=50,AmmoPerSecond=0.500000,bEnabled=true) WeaponInfo(7)=(WeaponClassString="U2Weapons.weaponInvRocketLauncher",InitialAmmo=10,MaxAmmo=50,AmmoPerSecond=0.200000,bEnabled=true) WeaponInfo(8)=(WeaponClassString="U2Weapons.weaponInvShotgun",InitialAmmo=25,MaxAmmo=50,AmmoPerSecond=0.200000) WeaponInfo(9)=(WeaponClassString="U2Weapons.weaponInvSingularityCannon",InitialAmmo=10,MaxAmmo=50,AmmoPerSecond=0.200000) WeaponInfo(10)=(WeaponClassString="U2Weapons.weaponInvSniperRifle",InitialAmmo=20,MaxAmmo=50,AmmoPerSecond=0.200000,bEnabled=true) WeaponInfo(11)=(WeaponClassString="U2Weapons.weaponInvTakkra",InitialAmmo=5,MaxAmmo=5,AmmoPerSecond=0.200000) KeptClassStrings(0)="U2.PowerSuit" KeptClassStrings(1)="U2.PowerSuitPickup" KeptClassStrings(2)="U2.HumanEnergyPickup" TimeBetweenWeaponSwitchesMin=30.000000 TimeBetweenWeaponSwitchesMax=30.000000 TimeBetweenAmmoIncrements=1.000000 WarningSoundStr="U2CTF.CTFTaken" WarningSoundRepeats=3 StartHealth=100 MaxHealth=100 TimeBetweenHealthIncrements=5.000000 DefaultPickupString="U2.HumanHealthPickup" DefaultWeaponString="U2Weapons.WeaponInvRocketLauncher" UseReticleOnEvents(0)="UseReticleText" UseReticleOnEvents(1)="UseReticleCorners" UseReticleOnEvents(2)="UseReticleTopBars" ProximityReticleOnEvents(0)="ProximityReticleCorners" ProximityReticleOnEvents(1)="ProximityReticleTopBars" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |