Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Arkangel on October 19, 2008, 10:42:39 pm

Title: Cockpit TBM
Post by: Arkangel on October 19, 2008, 10:42:39 pm
I've made the cockpit tbm to enable me play with cockpits but when a ship uses the cockpit the afterburners are erased... and its no fun without afterburners!

Example of an entry is:

$Name: GTF Perseus
+nocreate
$Flags: ( "show ship" )

and thats it, i don't see how it tampers with the afterburners  :confused:

Is there a full, no issues cockpit table that can be downloaded anywhere?
Title: Re: Cockpit TBM
Post by: Wanderer on October 20, 2008, 12:36:40 am
Using $Flags: entry in tbm erases the existing data loaded to that particular variable. It also hold the afterburner on/off info. So - assuming i see this correctly - you actually need to add all the flags ship had and the additional ones as well as $afterburner: yes to make it work.
Title: Re: Cockpit TBM
Post by: karajorma on October 20, 2008, 11:07:42 am
I think it might be an idea to define a mask for all the things like afterburner etc which aren't set in the flags options and only blast clean those.
Title: Re: Cockpit TBM
Post by: Zacam on October 20, 2008, 04:59:26 pm
What about enabling a secondary Flag's section for TBM's to use like there are available to mission files?
Title: Re: Cockpit TBM
Post by: Wanderer on October 20, 2008, 10:55:25 pm
I have added a new option for this kind of issues...

Please note that this applies only to ships.tbl and only to builds build using the svn after today (so nightly builds post r4896 should be ok). It is still a new option and might eventually change name though but for now following should work when used in TBM's to activate for example 'show ship' feature.
Code: [Select]
$Flags: ( "show ship" )
   +noreplace
Title: Re: Cockpit TBM
Post by: Arkangel on October 22, 2008, 01:21:07 am
Sorry, not only does doing that send me to the debugger but the no afterburner problem still persists
Title: Re: Cockpit TBM
Post by: Wanderer on October 22, 2008, 01:25:43 am
Which build did you use?
Title: Re: Cockpit TBM
Post by: Arkangel on October 22, 2008, 01:53:24 am
C08062008

Title: Re: Cockpit TBM
Post by: Wanderer on October 22, 2008, 01:57:43 am
Did i or did i not tell you that the said feature only works with nightly builds (or other builds - but those are rare again these days) post r4896?

As we can quite easily see here.. http://www.hard-light.net/forums/index.php/board,173.0.html .. you would need to have build compiled at or after 2008/10/21 (yyyy/mm/dd)...