View Issue Details

IDProjectCategoryView StatusLast Update
0003436The Dark ModAIpublic01.06.2013 01:46
ReporterSpringheel Assigned ToSpringheel  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionTDM 2.00 
Target VersionTDM 2.00 
Summary0003436: Unarmed AI cannot throw projectiles?
DescriptionIt seems like AI with a "unarmed_melee" "1" spawnarg cannot throw projectiles only when the player is out of reach, like other AI can.

The builder priest and mage are both supposed to throw fireballs when (and only when) the player is out of reach. This works properly for the priest, but the mage just stands there and does nothing in 2.0.

The only difference I can see is the mage has "unarmed_melee" "1"

http://forums.thedarkmod.com/topic/14849-20-mage-fireballs-missing/page__view__findpost__p__312339

(note that the AI can be set to throw projectiles as their primary attack, switching to unarmed melee attack when the player is close--this issue only addresses the issue of NO missile attacks until the player is out of reach)
TagsNo tags attached.

Activities

Springheel

Springheel

30.05.2013 12:59

administrator   ~0005502

Last edited: 30.05.2013 13:00

View 2 revisions

Ok, grayman solved this:

"For the regular mage, his "fire_range" is 480. This says that he won't throw his backup projectile (fireball) until you're more than 480 units from him."

That spawnarge is "0" for other characters.

Issue History

Date Modified Username Field Change
30.05.2013 01:42 Springheel New Issue
30.05.2013 01:43 Springheel Description Updated View Revisions
30.05.2013 01:56 Springheel Description Updated View Revisions
30.05.2013 12:59 Springheel Note Added: 0005502
30.05.2013 13:00 Springheel Note Edited: 0005502 View Revisions
01.06.2013 01:46 Springheel Status new => resolved
01.06.2013 01:46 Springheel Resolution open => fixed
01.06.2013 01:46 Springheel Assigned To => Springheel