AI and Spotting

正在查看此主题的用户

Telemachos

Regular
I figured this would probably be the best place to ask, but is there any value to spotting other than on the world map (i.e., open combat)?

I am curious if there is anything hard-coded that might inhibit the AI seeing enemy entities of greater threat. This might be more in siege battles where it seems the AI gets a lot of tunnel vision. Ultimately I think it's just the engine and the AI, but was curious if there was an player controlled variable primarily for companions.
 
No, unless there's some script that takes the spotting skill into consideration (there are none in Native). You can set the aggressive value, which might or might not be what you want. In addition you can also force relationships between agents (to be ally, neutral or enemies), but that would probably worsen the "tunnel vision" effect if you try to make it attack the most threatening enemy - too much work to check in my opinion.
 
You could try forcing agents to follow different routes via "agent_set_scripted_destination" with checks every 5 game-feet, to spice up the realism. Then, forcing them to rethink and if any enemy is near to scripted agents, apply the default "Tunnel Vision" method, thou if not, then agent will follow the scripted destination. I also always found the siege mechanics quite lacking. Adding a few more ladders, a main gate and a few holes to get in from will make the method I just explained above even perfect. Just in theory.
 
后退
顶部 底部