public class WeaponDescriptor extends ItemDescriptor
NONE
Constructor and Description |
---|
WeaponDescriptor() |
Modifier and Type | Method and Description |
---|---|
double |
getPriAimError()
How big aiming error this firing mode has.
|
int |
getPriAmmoClipSize()
If this mode has clips how big they are.
|
ItemType |
getPriAmmoItemType() |
int |
getPriAmmoPerFire()
How much ammo this weapon consumes for one shot.
|
String |
getPriAmmoType()
The class of primary firing mode ammunition type.
|
double |
getPriBotRefireRate()
How fast we can refire the weapon.
|
double |
getPriDamage()
Damage of the projectile.
|
double |
getPriDamageAtten()
Attenuate instant-hit/projectile damage by this multiplier.
|
double |
getPriDamageRadius()
If the projectile does splash damage, the value here won't be zero and
will specify the radius of the splash damage in ut units.
|
String |
getPriDamageType()
Class of this ammunitions damage type.
|
int |
getPriFireCount()
Firing mode fire count.
|
String |
getPriFireModeType()
Returns the class of primary firing mode.
|
double |
getPriFireRate()
How fast this weapon fires.
|
int |
getPriInitialAmount()
Initial amount of ammunition.
|
double |
getPriLifeSpan()
Life span of this projectile.
|
int |
getPriMaxAmount()
Maximum amount of this ammunition we can hold in our inventory.
|
double |
getPriMaxEffectDistance()
Maximum effective distance of the projectile.
|
double |
getPriMaxRange()
Maximum firing range.
|
double |
getPriMaxSpeed()
Maximum possible speed of this projectile.
|
String |
getPriProjType()
Holds the class of the projectile of this firing mode.
|
double |
getPriSpeed()
Default speed of the projectile - probably the projectile has this speed
when fired.
|
double |
getPriSpread()
When the weapon is spreading some projectiles, here is how big the spread
is.
|
int |
getPriSpreadStyle()
The style of weapon spread.
|
double |
getPriTossZ()
Probably the amount of speed added to Z velocity vector when this
projectile is fired.
|
double |
getSecAimError()
How big aiming error this firing mode has.
|
int |
getSecAmmoClipSize()
If this mode has clips how big they are.
|
ItemType |
getSecAmmoItemType() |
int |
getSecAmmoPerFire()
How much ammo this weapon consumes for one shot.
|
String |
getSecAmmoType()
The class of secondary firing mode ammunition type.
|
double |
getSecBotRefireRate()
How fast we can refire the weapon.
|
double |
getSecDamage()
Damage of the projectile.
|
double |
getSecDamageAtten()
Attenuate instant-hit/projectile damage by this multiplier.
|
double |
getSecDamageRadius()
If the projectile does splash damage, the value here won't be zero and
will specify the radius of the splash damage in ut units.
|
String |
getSecDamageType()
Class of this ammunitions damage type.
|
int |
getSecFireCount()
Firing mode fire count.
|
String |
getSecFireModeType()
Returns the class of secondary firing mode.
|
double |
getSecFireRate()
How fast this weapon fires.
|
int |
getSecInitialAmount()
Initial amount of ammunition.
|
double |
getSecLifeSpan()
Life span of this projectile.
|
int |
getSecMaxAmount()
Maximum amount of this ammunition we can hold in our inventory.
|
double |
getSecMaxEffectDistance()
Maximum effective distance of the projectile.
|
double |
getSecMaxRange()
Maximum firing range.
|
double |
getSecMaxSpeed()
Maximum possible speed of this projectile.
|
String |
getSecProjType()
Holds the class of the projectile of this firing mode.
|
double |
getSecSpeed()
Default speed of the projectile - probably the projectile has this speed
when fired.
|
double |
getSecSpread()
When the weapon is spreading some projectiles, here is how big the spread
is.
|
int |
getSecSpreadStyle()
The style of weapon spread.
|
double |
getSecTossZ()
Probably the amount of speed added to Z velocity vector when this
projectile is fired.
|
boolean |
isMelee()
UT engine informs us, if this weapon is known as melee (short range,
close combat).
|
boolean |
isPriAlwaysGibs()
If this damage will kill us instantly.
|
boolean |
isPriArmorStops()
If this damage can be stopped by an armor.
|
boolean |
isPriDetonatesGoop()
If this damage can detonate goop created by bio rifle (not sure).
|
boolean |
isPriExtraMomZ()
If the hit by this damage will add some speed to the target (will "push"
the target a bit).
|
boolean |
isPriFireOnRelease()
If to fire this firing mode you need to press shooting button (start
shooting) and then release it (stop shooting).
|
boolean |
isPriInstantHit()
If this firing mode does instant hits - will hit the target at the moment
it is fired.
|
boolean |
isPriLeadTarget()
If this firing mode is capable of shooting projectiles that will lead the
target.
|
boolean |
isPriModeExclusive()
If true you are unable to fire both firing modes of this weapon at the
same time.
|
boolean |
isPriRecomSplashDamage()
If the engine recomends us to use splash damage.
|
boolean |
isPriSpecial()
If this damage is special.
|
boolean |
isPriSplashDamage()
If our weapons primary firing mode does splash damage - area effect.
|
boolean |
isPriSplashJump()
If this weapon can be used to boost jumping height.
|
boolean |
isPriSuperWeapon()
If this damage is caused by super weapon and will damage also team mates
even if friendly fire is off.
|
boolean |
isPriTossed()
If the weapon in this firing mode is tossing projectiles.
|
boolean |
isPriWaitForRelease()
If to fire this mode you need to stop pressing shooting button between
two shots to shoot.
|
boolean |
isSecAlwaysGibs()
If this damage will kill us instantly.
|
boolean |
isSecArmorStops()
If this damage can be stopped by an armor.
|
boolean |
isSecDetonatesGoop()
If this damage can detonate goop created by bio rifle (not sure).
|
boolean |
isSecExtraMomZ()
If the hit by this damage will add some speed to the target (will "push"
the target a bit).
|
boolean |
isSecFireOnRelease()
If to fire this firing mode you need to press shooting button (start
shooting) and then release it (stop shooting).
|
boolean |
isSecInstantHit()
If this firing mode does instant hits - will hit the target at the moment
it is fired.
|
boolean |
isSecLeadTarget()
If this firing mode is capable of shooting projectiles that will lead the
target.
|
boolean |
isSecModeExclusive()
If true you are unable to fire both firing modes of this weapon at the
same time.
|
boolean |
isSecRecomSplashDamage()
If the engine recomends us to use splash damage.
|
boolean |
isSecSpecial()
If this damage is special.
|
boolean |
isSecSplashDamage()
If our weapons secondary firing mode does splash damage - area effect.
|
boolean |
isSecSplashJump()
If this weapon can be used to boost jumping height.
|
boolean |
isSecSuperWeapon()
If this damage is caused by super weapon and will damage also team mates
even if friendly fire is off.
|
boolean |
isSecTossed()
If the weapon in this firing mode is tossing projectiles.
|
boolean |
isSecWaitForRelease()
If to fire this mode you need to stop pressing shooting button between
two shots to shoot.
|
boolean |
isSniping()
UT engine infroms us, if this weapon is a sniper weapon (long range, high
damage).
|
boolean |
isUsesAltAmmo()
Whether this weapon uses two separate ammo classes - first for primary
firing mode, second for secondary.
|
String |
toString() |
doReflexion, fieldToName, firstCharToUpperCase, getAmount, getInventoryType, getItemCategory, getPickupType
public String toString()
toString
in class ItemDescriptor
public boolean isMelee()
public boolean isSniping()
public boolean isUsesAltAmmo()
public String getPriFireModeType()
public boolean isPriSplashDamage()
public boolean isPriSplashJump()
public boolean isPriRecomSplashDamage()
public boolean isPriTossed()
public boolean isPriLeadTarget()
public boolean isPriInstantHit()
public boolean isPriFireOnRelease()
public boolean isPriWaitForRelease()
public boolean isPriModeExclusive()
public double getPriFireRate()
public double getPriBotRefireRate()
public int getPriAmmoPerFire()
public int getPriAmmoClipSize()
public double getPriAimError()
public double getPriSpread()
public int getPriSpreadStyle()
public int getPriFireCount()
public double getPriDamageAtten()
public String getPriAmmoType()
public ItemType getPriAmmoItemType()
ItemType
, null if not exist or uses primary ammopublic int getPriInitialAmount()
public int getPriMaxAmount()
public double getPriMaxRange()
public String getPriDamageType()
public boolean isPriArmorStops()
public boolean isPriAlwaysGibs()
public boolean isPriSpecial()
public boolean isPriDetonatesGoop()
public boolean isPriSuperWeapon()
public boolean isPriExtraMomZ()
public String getPriProjType()
public double getPriDamage()
public double getPriSpeed()
public double getPriMaxSpeed()
public double getPriLifeSpan()
public double getPriDamageRadius()
public double getPriTossZ()
public double getPriMaxEffectDistance()
public String getSecFireModeType()
public boolean isSecSplashDamage()
public boolean isSecSplashJump()
public boolean isSecRecomSplashDamage()
public boolean isSecTossed()
public boolean isSecLeadTarget()
public boolean isSecInstantHit()
public boolean isSecFireOnRelease()
public boolean isSecWaitForRelease()
public boolean isSecModeExclusive()
public double getSecFireRate()
public double getSecBotRefireRate()
public int getSecAmmoPerFire()
public int getSecAmmoClipSize()
public double getSecAimError()
public double getSecSpread()
public int getSecSpreadStyle()
public int getSecFireCount()
public double getSecDamageAtten()
public String getSecAmmoType()
public ItemType getSecAmmoItemType()
ItemType
, null if not exist or uses primary ammopublic int getSecInitialAmount()
public int getSecMaxAmount()
public double getSecMaxRange()
public String getSecDamageType()
public boolean isSecArmorStops()
public boolean isSecAlwaysGibs()
public boolean isSecSpecial()
public boolean isSecDetonatesGoop()
public boolean isSecSuperWeapon()
public boolean isSecExtraMomZ()
public String getSecProjType()
public double getSecDamage()
public double getSecSpeed()
public double getSecMaxSpeed()
public double getSecLifeSpan()
public double getSecDamageRadius()
public double getSecTossZ()
public double getSecMaxEffectDistance()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.