Player and AI sub co-operation
I was wondering if this could be done: I'd like one side's AI subs to surface at certain predetermined times in order to share their link data. Of course it would be nice if AI commander could judge the situation and not surface during a battle or when near hostile surface units. Main reason for this is to make it look like there's at least some co-operation between player and AI subs.
Thanks in advance. |
When the times are predetermined it's pretty easy. Just use an automatic trigger to mark the time and tie it to a script that sets the depth for a couple minutes. As a precaution, you may also want to have doctrine language tied to the trigger that tests for weapons in the water, or any other conditions under which you think the AI subs should not link.
|
Quote:
|
Thanks Molon Labe. Getting subs to comms depth at certain intervals proved rather easy as you said. Problem is that subs don't necessary link even when in surface. I tried it few times (with Victor III) and sometimes it worked and sometimes not. Any idea what could cause this?
Also I didn't find any doctrine command that allows testing for weapons in water. I just recently started playing with mission editor, so it might be that I'm missing something completely obvious, but please bear with me. Quote:
|
If you're trying to get AI to link to each other, they are actually on the link persisetently, even when underwater. Yeah, I know. I don't know what would cause them not to link normally to a human player though, except if they're not shallow enough. It generally works (I've definitely done it successfully with AI 688Is and Delta IVs).
You can find the weapons in the mission editor under the "Civilian" category, in triggers such as approach triggers. |
All times are GMT -5. The time now is 01:47 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.