Author Topic: Traitors IFF in Coop missions  (Read 1542 times)

0 Members and 1 Guest are viewing this topic.

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Traitors IFF in Coop missions
Any reason it shouldn't be possible?  Specifically for player ships?  Seems to work only after the first respawn for some reason but even then I'm not sure if it's working properly.    I've tried:

Setting all to traitor in the ships editor. 
Setting all to traitor via event at mission start.  They just turn back to friendly after respawn.
Setting all to traitor via event at mission start.  + attack orders
Setting all to traitor 5 seconds after mission starts.  Same result as above but at least they moved instead of just sitting there.
Setting all to traitor 5 seconds after mission starts.  + attack orders Acted like they were going to attack but never fired.
everytime-argument is-iff friendly change-iff traitor + attack orders.  This has the best results but only after the first spawn. 
« Last Edit: March 06, 2009, 02:06:37 am by FUBAR-BDHR »
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Traitors IFF in Coop missions
I suspect that change-iff doesn't affect the parse_object and since the ship is created from that you just revert all the time. What happens if you set everything to traitor in ships editor?

I'm rather surprised about the last one though. I can't see why that wouldn't work.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Traitors IFF in Coop missions
If I recall everything to traitor in the ships editor is the same as change-iff at start.  I'll run it again.  Forgot to copy the mission up to the network last night so I have to go grab it or make a new test one. 


That last one was the most promising.  It's like they don't think they are traitors until after the respawn. 

One thing I forgot to mention was that missiles won't track them either even though you can get a lock like they are hostile.   After respawn they track just fine. 

I also tried making a new IFF with similar properties to traitor.  Worked pretty much the same way as the last one except for some reason they started respawning with green color even thought the IFF had everything set to red.  Actually liked this one the best since you could here the built in messages that you don't get as a traitor.

That reminded me of one other thing.  Even though they target as hostile when you make them traitor at least the first kill scores negative like you killed a friendly. 
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