Author Topic: how can an enemy attack another enemy?  (Read 1399 times)

0 Members and 1 Guest are viewing this topic.

Offline lefkos

  • 28
  • your Hardstyle music producer
how can an enemy attack another enemy?
hi!
the names says all
i have a mission and another company(the EA) is showing its faces for the first time but the UC(another evil company) is also in battle.. but how can i let the EA attacking the UC and the UC Attacking the EA if they are both Tha badguys(they dont belong to each other offcourse)
Music is an expression of our inner creativity.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: how can an enemy attack another enemy?
Go to the Missions Specs editor and tick all teams at war.

Assign the EA ships as hostile and the UC as neutral in the Ships Editor. Both will now appear as red blips on the radar but will happily kill each other. If you want the UC to have a different colour from the EA assign them to the unknown team.

(Incidentally if you don't tick all teams at war Hostile will attack Neutral but Neutral will not attack Hostile.)


If you need something more complicated than this then you're going to have to investigate the iff_defs.tbl. 
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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