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 |

How-To disable Non-played Plattforms in Mission ?

 
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
Guest






PostPosted: Thu Mar 17, 2005 2:27 pm    Post subject: How-To disable Non-played Plattforms in Mission ? Reply with quote

I hope the header is kinda self-explaining. I remeber to have read some way to make the not used plattforms go away at mission start. If somebody could point me the right way, that would be really helpfull. I'm working on some MP Missions with a larger number of plattofrms who can be controlled by humans and I would like to toss those who arent selected at mission start.

Thanks in advance.
Back to top
Bill Nichols



Joined: 14 Mar 2001
Posts: 2657

PostPosted: Thu Mar 17, 2005 3:07 pm    Post subject: Re: How-To disable Non-played Plattforms in Mission ? Reply with quote

OneShot USVN wrote:
I hope the header is kinda self-explaining. I remeber to have read some way to make the not used plattforms go away at mission start. If somebody could point me the right way, that would be really helpfull. I'm working on some MP Missions with a larger number of plattofrms who can be controlled by humans and I would like to toss those who arent selected at mission start.

Thanks in advance.


In the mission editor, add a trigger to the unit and activate Doctrine. On the Doctrine page, there's an item called 'Is Player Controlled' (or something similar). Make that part of the trigger. On the last page, assign the action 'Remove Unit'.

When the game starts, if the unit isn't player controlled, then the trigger 'fires' and the unit is immediately removed from the game.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Thu Mar 17, 2005 3:53 pm    Post subject: Reply with quote

Thanks, before I read your post I started to check the Trigger/Scripts on my own and found the following solution :

- Create Script
- Apply Script to ALL
- Remove plattform <plattform>

- Create Event Trigger (not attached)
- Apply to ALL / Trigger Activation Automatic
- Check Use Doctrine Language
- with the Doctrine Language create the following statement : "not ( IsCurrentControllable <plattform> ) then Trigger Fired
- Run Script : Remove Plattform

That means for every Player Plattform you want to have go away if its not player controlled you need to create a Script and a Trigger.

Update : This doesnt work for Multiplayer games. Every Plattform you prepare that way wil lbe selectable but not playable. So this can only be used in SP Missions.

Hopefully there will be a chance in the future to select if the Plattform is dropped from game if not played by human.
Back to top
Fish



Joined: 21 Sep 2001
Posts: 2412
Location: Netherlands

PostPosted: Thu Mar 31, 2005 7:55 pm    Post subject: Reply with quote

Yeah, I reported that to Sonalysts. Not working in multiplayer, the host is there but the other player has his stations greyed out and is not on the nav map or in 3D?
Back to top
View user's profile Send private message Visit poster's website
Fish



Joined: 21 Sep 2001
Posts: 2412
Location: Netherlands

PostPosted: Fri Apr 01, 2005 8:45 pm    Post subject: Reply with quote

The answer from Sonalysts.

Hi Fish,
Yes, I was able to reproduce what your seeing. Your scenario
appears to be flawless in its construction. I assume the problem is a bug
in the host code that executes each script. The host appears to execute
each script but does not recognize which clients actually exist. So all
clients are incorrectly removed. I will talk to those who can remedy this
issue and get back to you. If my hypotheses is accurate, this should be a
patch item.

Good bug... thanks, sort of. Smile

Keith.
Back to top
View user's profile Send private message Visit poster's website
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