|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.springrts.ai.oo.WeaponDef
public class WeaponDef
Method Summary | |
---|---|
int |
compareTo(WeaponDef other)
|
boolean |
equals(Object otherObject)
|
float |
getAccuracy()
Inaccuracy of whole burst |
float |
getAreaOfEffect()
|
float |
getBeamTime()
|
float |
getBounceRebound()
|
float |
getBounceSlip()
|
float |
getCameraShake()
|
String |
getCegTag()
|
int |
getCollisionFlags()
|
float |
getCollisionSize()
|
float |
getCoreThickness()
|
float |
getCost(Resource c_resourceId)
|
float |
getCoverageRange()
Range of interceptors. |
Map<String,String> |
getCustomParams()
|
float |
getCylinderTargetting()
If greater than 0, the range will be checked in a cylinder (height=range*cylinderTargetting) instead of a sphere. |
Damage |
getDamage()
|
float |
getDance()
How much the missile will dance. |
String |
getDescription()
|
float |
getDuration()
|
float |
getDynDamageExp()
|
float |
getDynDamageMin()
|
float |
getDynDamageRange()
|
float |
getEdgeEffectiveness()
|
float |
getExplosionSpeed()
|
float |
getFalloffRate()
|
String |
getFileName()
|
float |
getFireStarter()
|
int |
getFlightTime()
|
int |
getGraphicsType()
|
float |
getHeightBoostFactor()
Controls cannon range height boost. |
float |
getHeightMod()
|
int |
getHighTrajectory()
Per weapon high trajectory setting. |
float |
getIntensity()
|
int |
getInterceptedByShieldType()
The type of shields that can intercept this weapon (bitfield). |
int |
getInterceptor()
Can intercept targetable weapons shots. |
float |
getLaserFlareSize()
|
float |
getLeadBonus()
Factor for increasing the leadLimit with experience |
float |
getLeadLimit()
Maximum distance the weapon will lead the target |
int |
getLodDistance()
|
float |
getMaxAngle()
|
float |
getMaxVelocity()
|
float |
getMinIntensity()
For beam-lasers only - always hit with some minimum intensity (a damage coeffcient normally dependent on distance). |
float |
getMovingAccuracy()
Inaccuracy while owner moving |
float |
getMyGravity()
|
String |
getName()
|
int |
getNumBounce()
|
int |
getOnlyTargetCategory()
|
float |
getPredictBoost()
Replaces hardcoded behaviour for burnblow cannons |
float |
getProjectileSpeed()
|
int |
getProjectilesPerShot()
|
float |
getProximityPriority()
Multiplier for the distance to the target for priority calculations. |
float |
getRange()
|
float |
getReload()
|
float |
getRestTime()
|
float |
getSalvoDelay()
|
int |
getSalvoSize()
|
Shield |
getShield()
|
float |
getSize()
|
float |
getSizeGrowth()
|
float |
getSprayAngle()
Inaccuracy of individual shots inside burst |
float |
getStartVelocity()
|
float |
getStockpileTime()
Build time of a missile |
float |
getSupplyCost()
|
int |
getTargetable()
Shoots interceptable projectiles. |
float |
getTargetBorder()
If nonzero, targetting units will TryTarget at the edge of collision sphere (radius*tag value, [-1;1]) instead of its centre. |
float |
getTargetMoveError()
Fraction of targets move speed that is used as error offset |
float |
getThickness()
|
float |
getTrajectoryHeight()
How high trajectory missiles will try to fly in. |
float |
getTurnRate()
|
String |
getType()
|
float |
getUpTime()
|
int |
getVisibleShieldHitFrames()
The number of frames to draw the shield after it has been hit. |
float |
getWeaponAcceleration()
|
int |
getWeaponDefId()
|
float |
getWobble()
How much the missile will wobble around its course. |
int |
hashCode()
|
boolean |
isAbleToAttackGround()
|
boolean |
isAvoidFeature()
Tries to avoid features while aiming? |
boolean |
isAvoidFriendly()
Tries to avoid friendly units while aiming? |
boolean |
isAvoidNeutral()
Tries to avoid neutral units while aiming? |
boolean |
isBeamBurst()
|
boolean |
isDropped()
|
boolean |
isDynDamageInverted()
|
boolean |
isExteriorShield()
If the shield only affects stuff coming from outside shield radius. |
boolean |
isFireSubmersed()
|
boolean |
isFixedLauncher()
|
boolean |
isGravityAffected()
|
boolean |
isGroundBounce()
|
boolean |
isImpactOnly()
The weapon damages by impacting, not by exploding. |
boolean |
isLargeBeamLaser()
|
boolean |
isManualFire()
Has to be fired manually (by the player or an AI, example: D-Gun) |
boolean |
isNoAutoTarget()
Can not target anything (for example: anti-nuke, D-Gun) |
boolean |
isNoExplode()
|
boolean |
isNoSelfDamage()
|
boolean |
isOnlyForward()
|
boolean |
isParalyzer()
The weapon will only paralyze, not do real damage. |
boolean |
isSelfExplode()
|
boolean |
isShield()
If the weapon is a shield rather than a weapon. |
boolean |
isShieldRepulser()
If the weapon should be repulsed or absorbed. |
boolean |
isSmartShield()
If the shield only affects enemy projectiles. |
boolean |
isSoundTrigger()
|
boolean |
isStockpileable()
|
boolean |
isSubMissile()
Lets a torpedo travel above water like it does below water |
boolean |
isSweepFire()
|
boolean |
isTracks()
|
boolean |
isTurret()
|
boolean |
isVisibleShield()
If the shield should be graphically shown. |
boolean |
isVisibleShieldRepulse()
If a small graphic should be shown at each repulse. |
boolean |
isWaterBounce()
|
boolean |
isWaterWeapon()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getWeaponDefId()
public int compareTo(WeaponDef other)
compareTo
in interface Comparable<WeaponDef>
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String getName()
public String getType()
public String getDescription()
public String getFileName()
public String getCegTag()
public float getRange()
public float getHeightMod()
public float getAccuracy()
public float getSprayAngle()
public float getMovingAccuracy()
public float getTargetMoveError()
public float getLeadLimit()
public float getLeadBonus()
public float getPredictBoost()
public float getAreaOfEffect()
public boolean isNoSelfDamage()
public float getFireStarter()
public float getEdgeEffectiveness()
public float getSize()
public float getSizeGrowth()
public float getCollisionSize()
public int getSalvoSize()
public float getSalvoDelay()
public float getReload()
public float getBeamTime()
public boolean isBeamBurst()
public boolean isWaterBounce()
public boolean isGroundBounce()
public float getBounceRebound()
public float getBounceSlip()
public int getNumBounce()
public float getMaxAngle()
public float getRestTime()
public float getUpTime()
public int getFlightTime()
public float getCost(Resource c_resourceId)
public float getSupplyCost()
public int getProjectilesPerShot()
public boolean isTurret()
public boolean isOnlyForward()
public boolean isFixedLauncher()
public boolean isWaterWeapon()
public boolean isFireSubmersed()
public boolean isSubMissile()
public boolean isTracks()
public boolean isDropped()
public boolean isParalyzer()
public boolean isImpactOnly()
public boolean isNoAutoTarget()
public boolean isManualFire()
public int getInterceptor()
getTargetable()
public int getTargetable()
getInterceptor()
public boolean isStockpileable()
public float getCoverageRange()
getInterceptor()
public float getStockpileTime()
public float getIntensity()
public float getThickness()
public float getLaserFlareSize()
public float getCoreThickness()
public float getDuration()
public int getLodDistance()
public float getFalloffRate()
public int getGraphicsType()
public boolean isSoundTrigger()
public boolean isSelfExplode()
public boolean isGravityAffected()
public int getHighTrajectory()
public float getMyGravity()
public boolean isNoExplode()
public float getStartVelocity()
public float getWeaponAcceleration()
public float getTurnRate()
public float getMaxVelocity()
public float getProjectileSpeed()
public float getExplosionSpeed()
public int getOnlyTargetCategory()
public float getWobble()
public float getDance()
public float getTrajectoryHeight()
public boolean isLargeBeamLaser()
public boolean isShield()
public boolean isShieldRepulser()
public boolean isSmartShield()
public boolean isExteriorShield()
public boolean isVisibleShield()
public boolean isVisibleShieldRepulse()
public int getVisibleShieldHitFrames()
public int getInterceptedByShieldType()
getInterceptType()
public boolean isAvoidFriendly()
public boolean isAvoidFeature()
public boolean isAvoidNeutral()
public float getTargetBorder()
public float getCylinderTargetting()
public float getMinIntensity()
public float getHeightBoostFactor()
public float getProximityPriority()
public int getCollisionFlags()
public boolean isSweepFire()
public boolean isAbleToAttackGround()
public float getCameraShake()
public float getDynDamageExp()
public float getDynDamageMin()
public float getDynDamageRange()
public boolean isDynDamageInverted()
public Map<String,String> getCustomParams()
public Damage getDamage()
public Shield getShield()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |