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 09-30-08, 02:33 PM   #1
feld
Loader
 
Join Date: Sep 2003
Posts: 84
Downloads: 22
Uploads: 0
Default Regenerating Shipping

Question: Does anyone have a good way to economically regenerate units that you remove from the map?

Background: What I've done is create a large East China Sea map, and placed (many) start boxes all over it to randomly create civilian ships at the right density for major shipping lanes in that area. These ships move to exit areas at the edge of the map and are removed from play.

My problem is regenerating them on the other side of the map. The only way that I can see to do it is to place a new ship for each one that I remove because the scripts that create new ships require that I call a specific object.

Any ideas would be appreciated:

r/
feld
feld is offline   Reply With Quote
Old 11-04-08, 01:21 AM   #2
NefariousKoel
Ace of the Deep
 
Join Date: Nov 2002
Location: No-good Missouri scum
Posts: 1,223
Downloads: 43
Uploads: 0
Default

I haven't looked at the script commands in ages but couldn't you set up a non-showing neutral base on land somewhere and, at a certain time when you want a new ship to be generated, just make it do a call to see if that neutral location is alive as a prerequisite?

I was wandering around the boards here so thought I'd pipe in.
__________________
"When Gary told me he had found Jesus, I thought, Yahoo! We're rich! But it turned out to be something different." - Jack Handey
NefariousKoel is offline   Reply With Quote
Old 11-04-08, 06:59 AM   #3
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default

Quote:
Originally Posted by NefariousKoel
I haven't looked at the script commands in ages but couldn't you set up a non-showing neutral base on land somewhere and, at a certain time when you want a new ship to be generated, just make it do a call to see if that neutral location is alive as a prerequisite?

I was wandering around the boards here so thought I'd pipe in.
What I do is to give the shipping a 'barrier patrol' mission. That way, when they reach the end of their route, they turn around and run it back in reverse. It's an economical way to simulate shipping routes.
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 06-08-09, 07:42 PM   #4
feld
Loader
 
Join Date: Sep 2003
Posts: 84
Downloads: 22
Uploads: 0
Default

Now why the heck didn't I think of that?

Thanks!
feld 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 02:11 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.