Ally is not shooting player. The player just gets in his way. Ally will hurt, player, bystanders or enemies or not it can be changed. Similarly the enemies are not hurting the player so he is effectively in god mode. Their enemy is the Ally.
In theory it should be possible to have any character hurt any other including to have different enemies fight one against the other. It may also be possible to apply the same to things like turrets.
To ascertain the possible potential this was just an experimental excusion to show that a character other than the player can hunt down and kill any other using any type of weapon without resort to editing the source in any way which I have no itention of doing. They can.
The case proved to myself currently I have no incentive to take this further. Currently FPSC is far from being in a fit state to encourage sensible and acceptable further development due to the instabilities and issues you all know about.
I would suggest that users wait and see if Lee will introduce Dark AI into FPSC V1.08 before even contemplating attempting more advanced AI in FPSC classic.
Believe me it is not easy to acheive the kind of quality of AI needed in the current Versions. It is not difficult to get one character to kill another. To achieve advanced AI that is not where the difficulties lie - More is needed from the engines support in at least some areas. e.g. additional and more flexible scripting commands, better collision, impovement to pathfinding issues (no paths used here by the way)and of course higher fps so that users can have a certain level of control with precision and characters can show a credible level of stability and predictability in their behaviours, these would help a great deal so that AI can be developed to a more advanced level than seen from any source to date including X10 (from what I have seen to date) by the end users quite simply without resort to the source. My example does not utilise any change to the source.
You really do not want to get in to this. It is very hard work and frustrating working against the engine which has many issues which make this extremely difficult to do with quality and precision.
Currently the engine and fps is not stable enough and user flexibility for scripting possibilities too restrictive to make further work sensible. The end results are unlikely to be worth the effort involved unless one presumes that Allies of some kind just as with Enemies are better than none at all
Enemies need some serious AI help too but thats another story for another time.
I will wait see what Lee comes up with in V1.08. Developing an AI system is a lot of work for anyone. It makes no sense at this moment to even attempt it. If Dark AI is not to be introduced into FPSC classic then I may look see what further can be done with Ally support and more. Without the fixing or improvement of some of the other issues though there is very little that can be done to provide anything like a sophisticated level of AI behaviours. They will always be minimal, unprofessional and erratically responsive. FPSC users of either version of the engine X9 or X10 need the same from the version engines and they can do the rest.
Lee has said at least he will try and improve the gameplay speed issuses. That may help somewhat. As always we have to wait and see.
"There are those who said this day would never come - What have they to say now?"