
DeadHamster
Joined: Jun 8, 2014
https://discord.gg/Neu4EJM
|
Posted: Oct 17, 2014 01:04 PM
Msg. 1 of 2
I have certain sections of my map, hallways, ditches, things of that nature. These sections allow locations for the AI to spawn before spilling into the map. I've been looking for a way to keep the player from wandering into these areas, and have tried two basic ways;
Effect tag spawns a projectile that explodes with force but without damage, preventing the player from moving forward. Worked well, however AI would be catapulted out or blocked from leaving the spawn area. I believed that setting the damage multiplier to 0 for their material type would also prevent force, it does not.
I created a scenery box-object that was larger than the spawning areas, and placed them so that the AI would spawn inside the object, and then walk out. This works with about 75% efficiency, however some AI just will not leave the box because they are unable to work out a pathfinding solution.
Any advice or ideas? I'm pretty well versed with the CE engine, BLAM scripting and 3d modelling, so I wouldn't be against putting some work in if a simple solution isn't an option.
|