Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Fozzy on September 19, 2007, 01:43:55 pm

Title: IFF Status ?
Post by: Fozzy on September 19, 2007, 01:43:55 pm
i am having a problem making a new frendly IFF, the trator thing does not work when i attack the ship.



i would like it if there was an extra section to allow the trator thing to work in the scripting, example below:
;------------------------                                    
; FriendlyD                                       
;------------------------                                    
$IFF Name: FriendlyD                                       
$Color: ( 255, 255, 0 )                                       
$Attacks: ( "Hostile" "Neutral" "Traitor" )                  
$Flags: ( "support allowed" )
$Allow_Trator:      Yes            ;Yes and No valid only                           
$Default Ship Flags: ( "cargo-known" )


Title: Re: IFF Status ?
Post by: Jeff Vader on September 19, 2007, 01:47:48 pm
Not that I know anything about this coding stuff, but one thing still hits me in the eye with a pointy stick. Make sure that it says traitor in all occasions. You seem to misspell it without the i.
Title: Re: IFF Status ?
Post by: Wanderer on September 19, 2007, 02:11:50 pm
Extended functionality for Iff_defs.tbl has been requested and when completed (hopefully) it should handle this issue too.
Title: Re: IFF Status ?
Post by: Fozzy on September 19, 2007, 04:32:27 pm
thanks Wanderer, any idea when it will be ready?  ;)