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
-
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" )
-
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.
-
Extended functionality for Iff_defs.tbl has been requested and when completed (hopefully) it should handle this issue too.
-
thanks Wanderer, any idea when it will be ready? ;)