Jump to content


Photo

Can I make AI use SCAR?


Best Answer Gambit, 10 October 2025 - 01:46 PM

As far as I know... Regrettably NO, brother.

Now, for us in Unification, this was something sorely needed to achieve.

 

But for your request (Skull Probe sabotage ability), why not simply updating the AI?

I do not recall if we did that in Unification.

But it is simple. A couple lines of code. No need to resort to exotic solutions.

Go to the full post


2 replies to this topic

#1 TURBOSLAYERPWNZ

TURBOSLAYERPWNZ
  • New Members
  • 2 posts

Posted 09 October 2025 - 09:38 PM

Hello. Well it is mostly in the title. I am trying to improve AI in Soulstorm or at least to understand it, based mostly on Dawn of Skirmish 3.2 and vanilla files.
And there is a problem with some abilities including some race crucials like Skull Probe sabotage or Sisters missionary heal or DE wenches buff etc, issue is really widespread. AI cant use those abilities for some reason while SCAR in campaign can.

So is there a way to call SCAR functions form an AI code?

They both lua but calling correct SCAR commands in AI scripts gives error about something global (same as calling gibberish or stuff with a typo). I tried to import a small .scar file an put coe there but its still threated like .ai script it was imported into (makes sense).



#2 Gambit

Gambit

    title available

  • Members
  • 6,727 posts
  • Location:Athens, Greece

Posted 10 October 2025 - 01:46 PM   Best Answer

As far as I know... Regrettably NO, brother.

Now, for us in Unification, this was something sorely needed to achieve.

 

But for your request (Skull Probe sabotage ability), why not simply updating the AI?

I do not recall if we did that in Unification.

But it is simple. A couple lines of code. No need to resort to exotic solutions.


Edited by Gambit, 10 October 2025 - 01:49 PM.

-In search of Papasmurf...

#3 TURBOSLAYERPWNZ

TURBOSLAYERPWNZ
  • New Members
  • 2 posts

Posted 10 October 2025 - 07:27 PM

But it is simple. A couple lines of code. No need to resort to exotic solutions.

the problem is with abilities themselves (like missionary heal lacks "target self" property or something)
but changing abilities breaks multiplayer compatibility, like if you only edit .ai scripts you can make some unmodded player face modde .ai.
Problem is you cant force .ai to use those few abilities. They dont work or sometimes half-work (like harlequin kiss works but with no damage).
Yet in campaign it all works fine.

The ony thing that gives me hope is I played on unmodded game with some guy who made custom AI, and his AI was spawning units from campaign (with green circle underneath) in multiplayer. But I didnt ask him how he did it back then and now it seems he no longer uses his discord.





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users