Author Topic: Multiple dockings  (Read 1906 times)

0 Members and 1 Guest are viewing this topic.

Offline wistler

  • 28
This might be straight forward thing to do but i cant work out an easy way to do it.

I have 3 targets that must be captured by 3 different transports. Should 1 of them dock then the targets IFF changes.

How do i make it so that should the first transport fail, the second transport will dock with the first target and not proceed to the second target.

The idea is that all the transports have the mission to dock with target 1. Should iff be friendly, they'll proceed to target 2, should target 2 iff be friendly they'll proceed to target 3 etc.

What way can i accomplish this in the simplest form.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Have you actually done the extended walkthrough? Cause almost the exact same scenario is played out there. All you have to do is have transport 2 and 3 go on to another target instead of sitting around like Slepnir 3 and 4 will do if Slepnir 1 and 2 made it.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
In a word, variables. Set up a series of variables, and events linked to them. So that if a ship dies, a variable changes, and for any given value of thew variable, a new set of AI orders is given to the transports. It's quite easy, but a tiny bit sexp intensive.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
You could probably get away without using variables actually. The walkthrough needed them because two transports were needed to capture the Orion. In this case you can change the IFF as soon as a transport succeeds and simply check the IFF since wistler says he only needs one transport for a successful capture.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline wistler

  • 28
In a word, variables. Set up a series of variables, and events linked to them. So that if a ship dies, a variable changes, and for any given value of thew variable, a new set of AI orders is given to the transports. It's quite easy, but a tiny bit sexp intensive.

I haven't quite been able to figure the variables out, otherwise they would have been the thing i used as per walkthrough. I tried setting them up like it says but nothing happens. Don't know if I'm just using them wrong.

You could probably get away without using variables actually. The walkthrough needed them because two transports were needed to capture the Orion. In this case you can change the IFF as soon as a transport succeeds and simply check the IFF since wistler says he only needs one transport for a successful capture.

This was the way i thought id have to use it. I was hoping there was a short cut / smarter way that would save my FRED finger the pain :p but guess i should be less lazy. I've got the sneaky suspicion that i take the long way round on a lot of things that could probably be solved quicker and easier so i thought i should ask :nervous:

Thanks for your help guys much appreciated  :yes:

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
So it's 3 transports and 3 ships to capture but ship 1 is always the priority?  Do the transports arrive all at the same time or one at a time?  If one at a time does it capture then undock to go after target 2?  What happens if transport 1 is destroyed before the capture can target 3 ever be captured?  There are several possible scenarios from the info you have given. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
You could probably get away without using variables actually. The walkthrough needed them because two transports were needed to capture the Orion. In this case you can change the IFF as soon as a transport succeeds and simply check the IFF since wistler says he only needs one transport for a successful capture.

I Keep forgetting is-iff works now.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp