Freedom Reborn

Freedom Force Forums => Scripting Forum => Topic started by: Lionheart on October 14, 2009, 03:53:56 AM

Title: Enemy Detect Radius
Post by: Lionheart on October 14, 2009, 03:53:56 AM
Is there a way to modify the battle.py file to reduce the detect radius of the enemy characters? Roger Cooper modified a script this way for FF1, but the setup of the code looks different than the FFvTTR battle.py to this Python-challenged player.

What I want to do is change the detection radius so all the enemy characters don't just automatically come swooping down on the hero team. I'd like to be able to explore the Rumble Room maps and discover the baddies as I go.
Title: Re: Enemy Detect Radius
Post by: M25 on October 19, 2009, 03:10:38 PM
Not sure about the global detect radius.  If using FFX you can the command m25ai.SetSkirmishModeOff() to prevent the AI from detecting heroes across the map.

There's also a EZ script skirmish mod (can't remember the name at the moment) that lets you select the enemies you want, and then sets up 'crimes' for the heroes to wander around and find.  You could probably get what you are looking for by modifying that, or even as is.