Marvel Mods

XML and MUA - Common Items => Knowledge Base - (not for questions) => Topic started by: SAN on January 02, 2013, 09:47AM

Title: Enable A.I. teammates to use extreme powers
Post by: SAN on January 02, 2013, 09:47AM
Decompile and open the powerstyle for the ai character

Navigate to the beginning of the extreme power

find the line animenum = .....

add the following line

   aitype = melee ; (for melee)
or
   aitype = projectilenear ; ( for short range)
or
   aitype = projectile ; ( for ranged )
or
   aitype = aoe ; ( for radial)

above it.

Save, compile and play. (Don't forget to assign the extreme power for the ai character in the game)

Sometimes you don't want the ai to use your extreme tokens. In that case you can add aitype line for only one extreme and not the other.

During the game assign the extreme power (aitype line added) for the ai character to use the extreme tokens and swap it with the other extreme (without aitype line added) for the ai not to use the extreme tokens.
Title: Re: Enable A.I. teammates to use extreme powers
Post by: fox456 on January 02, 2013, 04:52PM
This sounds like a very interesting discovery.  Thanks for sharing.