Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Making ships change speeds.

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DW Mission Designers' Forum
View previous topic :: View next topic  
Author Message
Ptroinks



Joined: 10 Jan 2006
Posts: 19
Location: Norway

PostPosted: Fri Mar 24, 2006 9:38 pm    Post subject: Making ships change speeds. Reply with quote

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 Smile. 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 Very Happy. If anyone wants to help, send me a PM!
Back to top
View user's profile Send private message
MaHuJa



Joined: 10 Jan 2002
Posts: 447
Location: 59.96156N 11.02255E

PostPosted: Sat Mar 25, 2006 2:59 pm    Post subject: Re: Making ships change speeds. Reply with quote

Ptroinks wrote:
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?)
Back to top
View user's profile Send private message MSN Messenger
Miika



Joined: 10 Oct 2005
Posts: 60
Location: Helsinki

PostPosted: Mon Mar 27, 2006 2:50 am    Post subject: Using scripts Reply with quote

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
Back to top
View user's profile Send private message
LuftWolf



Joined: 09 May 2005
Posts: 1872
Location: Free New York

PostPosted: Mon Mar 27, 2006 4:35 pm    Post subject: Re: Using scripts Reply with quote

Miika wrote:
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.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Miika



Joined: 10 Oct 2005
Posts: 60
Location: Helsinki

PostPosted: Tue Mar 28, 2006 4:57 am    Post subject: Transit Reply with quote

That about "transit" is true Thumbs Up , 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. Damn

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. Thumbs Up

Miika
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DW Mission Designers' Forum All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group