Jump to content

Recommended Posts

Posted

Hey Guys,

 

is it possible that only a Player can kill the AI? I want to place some Troops that fight each other but cant be killed by AI-Units.

Did someone have a script or so for me? :)

 

Greetings!

Posted

I don't know how to do this exactly. You could set the troops invincible and then disable that setting with a trigger when the player comes close.

 

Another way might be to make troops invisible [to AI], but to have them shoot at a visible, but invincible target instead of each other.

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted
Tested it, i cant set them to invisible ... they have to shoot.

 

Is it possible to set them both to invisible and then give each of them a 'fire at point' command to make it look like they are shooting at each other? I think I have seen it done something like that in the past.

Posted

Both Exorcet's and AlaskanGrizzly's advice are good. You can set both to invisible and make them shoot at point or make both immortal (advanced wp option at start) and then make a trigger for botr to turnt immortal off once the player enters a zone. Or you can combine the two, which will look even better: set both to immortal, and once player enters a zone turn immortal off, but turn invisible / shoot at point on for both. You will have a seamless transfer and it will look better.

For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel.
Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.

Posted

Ok thanks! I will try it and will see how it looks. :thumbup:

But, if someone have an Script or have an idea how to set them booth to invulnerable against AI and only be killable by Player, pls tell me! :-)

Posted
Careful though, if you have the units constantly firing, they will run out of ammo. ... then no tracers to help you find where they are

 

An ammo truck on both sides usually solves the problem :)

For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel.
Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.

Posted
But, if someone have an Script or have an idea how to set them booth to invulnerable against AI and only be killable by Player, pls tell me! :-)

 

You can't have it both ways :) If a unit is Invulnerable then nothing will kill it. Now, you might be able to use a script to detect when a Client's weapons impact a unit and trigger Invulnerable to off with that, but I don't know how.

 

 

What baltic_dragon described is modelled in my Erl Sis mission, if you want to go to my site and dl it you can see the events.

In that mission, the Invulnerable setting is True for Red & Blue infantry at the beginning of a Red ambush on a Blue convoy, until a Client/Player enters a zone surrounding the activity. The Red & Blue infantry are both firing at each other like crazy with Invulnerable turned on, and the Invulnerable setting gets turned off after either two minutes or when a Client/Player enters the zone. You have to turn it off when a Client enters the zone or else they will be shooting at infantry that won't die.

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

Posted

To set two troops to invulnerable ist not the Problem.

 

This is my Problem:

 

"Now, you might be able to use a script to detect when a Client's weapons impact a unit and trigger Invulnerable to off with that, but I don't know how."

 

 

:-)

 

I need exactly this Script but i dont know how i have to write it! :)

Posted (edited)

Nope, for US M818 or whatever the name was, for others Gaz-66 and mostly all Urals. I will find the list when I have a moment and will post it here.

 

*EDIT: here you go, sir: http://forums.eagle.ru/showthread.php?t=137307&highlight=ammo+truck

Edited by baltic_dragon

For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel.
Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...