Quote:
Originally Posted by Drifter
I hope we are talking about the same files. I don't have the game installed right now, so I can't check the exact AI file location. The moddable AI files should already be in notepad form with readable text. If the files you are opening in notepad look like jibberish, they are hard-coded, and the wrong files.
|
It looks like this:
----
strategy SubStrategies(Sub)
{
strategies
{
Attack,
Navigate
}
}
# Attacks an enemy contact
strategy Attack(Sub)
{
precond
{
Sub:CanFire()
}
strategies
{
ShipAttack,
SubmarineAttack
}
}
strategy ShipAttack(Sub)
{
precond
{
!Sub:ContactIs(SUBMARINE)
}
strategies
{
TorpedoAttack,
CannonAttack
}
}
----
It's much longer but I didn't want to take too much space here.