SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
03-16-07, 05:51 AM | #1 |
Swabbie
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
|
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: |
03-16-07, 09:52 AM | #2 | |
Chief
Join Date: Dec 2005
Posts: 326
Downloads: 5
Uploads: 0
|
Quote:
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. |
|
03-18-07, 05:51 PM | #3 |
Helmsman
Join Date: Feb 2005
Posts: 104
Downloads: 0
Uploads: 0
|
>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) |
03-22-07, 05:08 AM | #4 |
Swabbie
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
|
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. |
03-22-07, 05:34 AM | #5 |
Master of Defense
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
|
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. |
03-22-07, 07:23 AM | #6 |
Swabbie
Join Date: Jan 2006
Location: Pisa - Italy
Posts: 14
Downloads: 11
Uploads: 0
|
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. |
10-08-15, 04:23 PM | #7 | |
Swabbie
Join Date: Dec 2011
Posts: 11
Downloads: 12
Uploads: 0
|
Quote:
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) |
|
10-10-15, 03:44 AM | #8 |
Swabbie
Join Date: Dec 2011
Posts: 11
Downloads: 12
Uploads: 0
|
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. |
10-11-15, 07:24 AM | #9 |
Girt by Sea
|
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 |
10-12-15, 04:07 AM | #10 |
Girt by Sea
|
Yep - that got it to work! Thanks for the tip, Mstram!
|
Thread Tools | Search this Thread |
Display Modes | |
|
|