| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Mar 17, 2005 2:27 pm Post subject: How-To disable Non-played Plattforms in Mission ? |
|
|
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
|
Posted: Thu Mar 17, 2005 3:07 pm Post subject: Re: How-To disable Non-played Plattforms in Mission ? |
|
|
| 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 |
|
 |
Guest
|
Posted: Thu Mar 17, 2005 3:53 pm Post subject: |
|
|
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
|
Posted: Thu Mar 31, 2005 7:55 pm Post subject: |
|
|
| 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 |
|
 |
Fish
Joined: 21 Sep 2001 Posts: 2412 Location: Netherlands
|
Posted: Fri Apr 01, 2005 8:45 pm Post subject: |
|
|
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.
Keith. |
|
| Back to top |
|
 |
|