SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop > DW Mission Designers' Forum
Forget password? Reset here

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-24-06, 09:38 PM   #1
Ptroinks
Watch
 
Join Date: Jan 2006
Location: Norway
Posts: 20
Downloads: 2
Uploads: 0
Default Making ships change speeds.

I've read here on the forums that clicking on a waypoint and changing tactics won't work. Well, I seriously need some kind of work-around for that problem . I'm trying to make a ship follow the course set by the waypoints (no problems there), but at a certain point, I want it to change its speed. I tried changing it for the next waypoint, but that didn't work. Will the ship change speed if I use a script?

And, by the way, after the weekend, I think I'll need a tester or two for a campaign I'm creating. Just to play through it, check for errors in my english, fix bugs that I haven't noticed so far etc... If you have a good imagination, that would help too. I've been working on the storyline for this one for such a long time now that I think I have exhausted my own imagination . If anyone wants to help, send me a PM!
Ptroinks is offline   Reply With Quote
Old 03-25-06, 02:59 PM   #2
MaHuJa
Sonar Guy
 
Join Date: Jan 2002
Location: 59.96156N 11.02255E
Posts: 385
Downloads: 3
Uploads: 0
Default Re: Making ships change speeds.

Quote:
Originally Posted by Ptroinks
I tried changing it for the next waypoint, but that didn't work. Will the ship change speed if I use a script?
It should, but there's a slight problem: It will then keep that speed for the time specified. If nothing happens and it just trudges along, then calculating how long from length/speed, it will work, but if something happens then things won't go as planned. E.g. incoming torpedo, its evasive maneuvers might not override it - does anybody know?

(Expanding a bit on it, does anybody know what priority the script orders are at doctrine level?)
__________________

Teaching DW newbies how to climb the food chain.
MaHuJa is offline   Reply With Quote
Old 03-27-06, 02:50 AM   #3
Miika
A-ganger
 
Join Date: Oct 2005
Location: Helsinki
Posts: 78
Downloads: 21
Uploads: 0
Default Using scripts

They do work, you can use goals (if ship enters one, its speed will then be changed). But like MaHuJa said, the priorities of scripts/doctrines etc. might create problems. In one of my mission there had been a reactor problem and the crew was leaving the sub, which was supposed to remain in surface. I ended up using 3 separate scripts, all of which were constantly re-triggering, to achieve this. Despite all my efforts the sub dived immediately after spotting the player's P-3. I suggest the only thing you can do is test...

Miika
__________________
Constantem Decorat Honor
Miika is offline   Reply With Quote
Old 03-27-06, 04:35 PM   #4
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default Re: Using scripts

Quote:
Originally Posted by Miika
They do work, you can use goals (if ship enters one, its speed will then be changed). But like MaHuJa said, the priorities of scripts/doctrines etc. might create problems. In one of my mission there had been a reactor problem and the crew was leaving the sub, which was supposed to remain in surface. I ended up using 3 separate scripts, all of which were constantly re-triggering, to achieve this. Despite all my efforts the sub dived immediately after spotting the player's P-3. I suggest the only thing you can do is test...

Miika
I think if you set the Tactic in the mission editor to "Transit" the platform will be much more pliable to your commands and less likely to react to other platforms in the mission.
__________________
LW
LuftWolf is offline   Reply With Quote
Old 03-28-06, 04:57 AM   #5
Miika
A-ganger
 
Join Date: Oct 2005
Location: Helsinki
Posts: 78
Downloads: 21
Uploads: 0
Default Transit

That about "transit" is true , but in this peculiar case I used the "transit" tactic. (As far I can remember...) Nevertheless, I finally had to re-write the mission, with the sub sinking as a part of the mission.

It sure would be nice to be able to truly force the units to do something, but after some testing it usually is possible to find a (some sort of) working solution.

And thanks to LwAmimod, the AI units no longer need that much guidance.

Miika
__________________
Constantem Decorat Honor
Miika is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:04 PM.


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.