Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Post reply

Warning: this topic has not been posted in for at least 100 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the name of the planet we live on? Type it backwards then add a 5.:
Who is taking revenge? (lowercase):

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Pox
« on: April 18, 2015, 04:14:39 PM »

I don't think you can do that with the XML AI.
However, if the Attack_Target(target) function accepts a hardpoint as target or as a second argument it should be possible to achieve something like that with LUA.
Downside to this is that you'd probably have to rewrite large parts of the AI in LUA.
Posted by: t_breezie
« on: April 18, 2015, 03:37:06 PM »

Hey all,

I've been messing around with the idea of programing in the equivalent of a targeting computer to the way ships engage in EaW. Before I started messing around with the game's coding I first wanted to check and make sure that 1: It's legal to do so 2: Someone hasn't already done it 3: See if anybody has a similar interest and could offer up ideas as to how to go about it.

My thoughts are as follows:
I've noticed that when engaging an enemy ship with hard points, my ships don't target in any specific or strategic order. I constantly find myself pausing the game and manually targeting the individual hard points to most efficiently take down enemy ships, but with 15+ ships in play this is tedious. Ideally, I'd like to program in multiple targeting modes that would be user enabled during a conflict to make most effective use of their fleet.

Comments, questions, suggestions?
Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!