View Single Post
  #13  
Old October 9th, 2006, 12:31 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE-5 : Batteries & weapons

Neither of those have anything to do with the concept of damage type, though. Damage type is only what is on this line:

Weapon Damage Type Formula := "Normal"

Abilities are not damage types, so the "does have ability" is not relevant.

Is_Component_Weapon() relates to this information:

Weapon Type := Direct Fire

It returns false only when the component has that value set to None (well, bad values of weapon type might also return false, who knows). It is not related to damage types or abilities in any way.

=0=

For reference, AI Tags do absolutely nothing. They do not inherently tell the AI anything. You can use them to force different AI behavior by calling that ability instead of the real ability of the item, but you can do that with any non-functional ability too (like facility resource generation abilities in SE4 components file). The AI Tag abilities are merely there for easier legibility.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote