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-16-07, 05:51 AM   #1
Djmitri
Swabbie
 
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
Default Add Object?

Hi guys.
I have a question for you.

I would like to create a mission that, when a submarine arrive in a determinated location, one or more object will be created.

Is it possibile to do? :hmm:
Djmitri is offline   Reply With Quote
Old 03-16-07, 09:52 AM   #2
suBB
Chief
 
Join Date: Dec 2005
Posts: 326
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by Djmitri
Hi guys.
I have a question for you.

I would like to create a mission that, when a submarine arrive in a determinated location, one or more object will be created.

Is it possibile to do? :hmm:
Of course

All you have to do is add the object you want to create to a dynamic group but set the POI to 0%. Then once the trigger is fired, make a script to bring the object into existence.

The POI needs to be 0% to ensure the object will never spawn.

The maximum and minimum values needs to be set for the total number of objects in group, in this case max = 1 and min = 1.

The script you need to use is ‘create group’ as this will spawn the object when the trigger is fired.

Also be mindful how you use ‘apply to’ settings in triggers.

Apply to all – can only be fired by AI platforms.

Apply to ‘platform’ – can only be fired human controlled platforms.

Hope this helps.
suBB is offline   Reply With Quote
Old 03-18-07, 05:51 PM   #3
kage
Helmsman
 
Join Date: Feb 2005
Posts: 104
Downloads: 0
Uploads: 0
Default

>The POI needs to be 0% to ensure the object will never spawn.

The POI needs to be 0 so that it won't spawn on its own.

>Apply to all – can only be fired by AI platforms.

Apply to all can be fired whenever its conditions are met.

>Apply to ‘platform’ – can only be fired human controlled platforms.

Can only be fired when there is a human player in that particular platform. (In MP it might get more complicated than this, I don't remember)
__________________

http://www.xfire.com/clans/dwobjective/ for those who like playing objectives-based missions. (As opposed to deathmatches)
kage is offline   Reply With Quote
Old 03-22-07, 05:08 AM   #4
Djmitri
Swabbie
 
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
Default

Thank you guys for answers.


I have done!!!

EDIT:
Ok guys, i have finally succeeded to create an object when i reach a determinate location.
The object that i have created is a Inflatable Rubber Craft. Now i would like to pick it up abord of my submarine...

How can i do?:hmm:

Thank you again
Djmitri

Last edited by Djmitri; 03-22-07 at 05:28 AM.
Djmitri is offline   Reply With Quote
Old 03-22-07, 05:34 AM   #5
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default

Add an approach trigger to the raft. Set the allowable speed and depth to whatever you want (on or near the surface for a sub) and allowable speed to something slow (3 knots, for example). On the last page of the trigger, select action to perform as 'remove attached object'. You can also add a radio message, text or .wav file to the trigger.

If the raft is created using a dynamic group, I usually add this goal to the group that the raft belongs to and set the min/max number of objects to 2.

Hope this helps.
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 03-22-07, 07:23 AM   #6
Djmitri
Swabbie
 
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
Default

That is fantastic...

Thank you very much Bill...
But i have another question, i hope the last one , if i would like to set the approach trigger such as a Critical Trigger, can i do it?
Just only remove it from the Dynamic Group?:hmm:

Thank you again

Djmitri

Last edited by Djmitri; 03-22-07 at 07:35 AM.
Djmitri is offline   Reply With Quote
Old 03-22-07, 01:02 PM   #7
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default

You can set it to critical, and you don't need to remove the trigger from the group.
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 03-23-07, 04:58 AM   #8
Djmitri
Swabbie
 
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
Default

I understand, but if i leave the Approch Trigger in the Dynamic group, i think that it will appear only if i complete the Approch trigger right? :hmm:
I wont see it until the object will be created, so trigger will be hidden, right?


I would like to see it, from the beginning of the mission, because it's a very important Goal.
Djmitri is offline   Reply With Quote
Old 10-08-15, 04:23 PM   #9
mstram
Swabbie
 
Join Date: Dec 2011
Posts: 11
Downloads: 12
Uploads: 0
Default

Quote:
Originally Posted by suBB View Post
Of course

All you have to do is add the object you want to create to a dynamic group but set the POI to 0%. Then once the trigger is fired, make a script to bring the object into existence.

The POI needs to be 0% to ensure the object will never spawn.

The maximum and minimum values needs to be set for the total number of objects in group, in this case max = 1 and min = 1.

The script you need to use is ‘create group’ as this will spawn the object when the trigger is fired.

Also be mindful how you use ‘apply to’ settings in triggers.

Apply to all – can only be fired by AI platforms.

Apply to ‘platform’ – can only be fired human controlled platforms.

Hope this helps.
I'm using the stock/basic DW 1.04.

I have followed all the steps above to spawn a land based object, but regardless of what object/building I try, the building never appears in the 3d view or the map.

I've tried an automatic-event/ time based trigger.

The trigger DOES fire, as I get the trigger radio or report msg (I tried them both).

I have a controllable heli, FFG and Seawolf in the scenario.

I've tried a few different geographical locations, near the coastlines.

What am I missing ?

I've attached my latest attempted scenario (threeTriggers-RunScript-1202-sub-ffgRadio-CYYZ.mu.txt)
mstram is offline   Reply With Quote
Old 10-10-15, 03:44 AM   #10
mstram
Swabbie
 
Join Date: Dec 2011
Posts: 11
Downloads: 12
Uploads: 0
Default

Ok I finally figured it out, no thanks to the (terse) manual.

Note to self :

1) The "Create Group" script command would be better named "UnHide Group".

As I discovered, "Create Group" "unhides" a previously "hidden" dynamic group, which was hidden by specifying zero for it's inclusion probability.

2) The location of the "trigger icon" on the mission editor map has NO influence on where the "hidden" dynamic group object(s) will appear in game, when the "Create Group" script command is executed. The location of those object is just where the objects were created on the mission editor map.
mstram is offline   Reply With Quote
Old 10-11-15, 07:24 AM   #11
Stewy1
Girt by Sea
 
Stewy1's Avatar
 
Join Date: Mar 2015
Location: Red Route 1
Posts: 363
Downloads: 131
Uploads: 34


Default

Thanks Mstram - this was bugging me too.

I'll try your advice out.

I wanted to make a mission where calls for TLAM strikes came in at various points in the mission - with the target then being revealed.

Will you suggestions work in this scenario?

Thanks mate,
Stew
Stewy1 is offline   Reply With Quote
Old 10-12-15, 04:07 AM   #12
Stewy1
Girt by Sea
 
Stewy1's Avatar
 
Join Date: Mar 2015
Location: Red Route 1
Posts: 363
Downloads: 131
Uploads: 34


Default

Yep - that got it to work! Thanks for the tip, Mstram!
Stewy1 is offline   Reply With Quote
Old 11-17-15, 03:14 AM   #13
Stewy1
Girt by Sea
 
Stewy1's Avatar
 
Join Date: Mar 2015
Location: Red Route 1
Posts: 363
Downloads: 131
Uploads: 34


Default

Just an update - after an hour of trial and error, I thought I'd post all of the steps (for beginner mission makers like me!)

* LINK DATA MUST BE ON

* Place Object
Include in Sim
Auto Detect
POI-0
* Put Objects into Dynamic Group
POI - 0
Min/Max - Same Number
* Script
Create Group

* Trigger - Create Group

* Firing the TLAMs
TLAM impact - 1st Waypoint is the target! (Using RA Mod)

Hope this helps!

Stew
Stewy1 is offline   Reply With Quote
Old 11-23-15, 01:37 PM   #14
CaptainRamius
Sonar Guy
 
Join Date: May 2014
Location: In shallow waters
Posts: 388
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by Stewy1 View Post
Yep - that got it to work! Thanks for the tip, Mstram!
Don't you just love the Subsim community?
CaptainRamius 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 06:51 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.