Scripting or Fear-ing?
Posted: Tue Jul 12, 2011 4:48 am
I'm working on a plugin that involves the evacuation of a populated city...but it's been a while since I last played with the Myth 2 Engine, and I was never particularly good at scripting.
One of the key mechanics is getting uncontrollable civilians to head towards soldiers, so that the player can set up evacuation routes to rescue the civilians, but doesn't receive direct control over them. I'm trying to figure out the best way to accomplish this...my thoughts so far:
-If I can do it through Fear instead of scripting, I'd like it better. I'm thinking some kind of special attack that attracts the civilians to the unit that uses it. Any ideas on how to set this up?
-If a special attack won't work, what about taunting? Is there any way to set up a Fear mechanic that will make Civilians run towards the unit when it taunts?
-If these fail, what kind of scripting can I use to get Civilians to run towards the unit when it taunts? I know there's a script that does something like this in Through the Ermine, when you taunt in the shrine and it summons all the enemies of the level.
Also, I'd like to implement a fear (the feeling, not the program) mechanic in my civilians, so that when they see an enemy, they run in terror instead of following the Player unit's directions. Kind of like how ambient life runs away from the player when they approach. What's the best way to accomplish this? Again, I'd like to avoid scripting if I can, but if its only doable that way I'll give it a shot.
One of the key mechanics is getting uncontrollable civilians to head towards soldiers, so that the player can set up evacuation routes to rescue the civilians, but doesn't receive direct control over them. I'm trying to figure out the best way to accomplish this...my thoughts so far:
-If I can do it through Fear instead of scripting, I'd like it better. I'm thinking some kind of special attack that attracts the civilians to the unit that uses it. Any ideas on how to set this up?
-If a special attack won't work, what about taunting? Is there any way to set up a Fear mechanic that will make Civilians run towards the unit when it taunts?
-If these fail, what kind of scripting can I use to get Civilians to run towards the unit when it taunts? I know there's a script that does something like this in Through the Ermine, when you taunt in the shrine and it summons all the enemies of the level.
Also, I'd like to implement a fear (the feeling, not the program) mechanic in my civilians, so that when they see an enemy, they run in terror instead of following the Player unit's directions. Kind of like how ambient life runs away from the player when they approach. What's the best way to accomplish this? Again, I'd like to avoid scripting if I can, but if its only doable that way I'll give it a shot.