Difference between revisions of "Talk:Tractor-Tow OXZ"

From Elite Wiki
(Version 1.1 renders the entire discussion academic, obviating any further need for its retention.)
(Tag: Blanking)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You need to mark your OXP as conflicting with [[Towbar]] ("oolite.oxp.Norby.Towbar")
 
  
phkb 2026-06-08 09:56:47 (AEST)
 
 
 
Exactly how does Tractor-Tow 'conflict' with Towbar? (not that I've ever checked out Towbar, nor have any intention to). Does Towbar lock onto and tractor _neutralized_ ships? Is the *[[NPB Neutralizer OXZ|'''NPB Neutralizer''']] required in order to use Towbar?
 
 
''IF'' there is such a conflict, why is it for me to mark my OXP as conflicting, and not Norby as conflicting with mine?
 
 
<small>* Now marked as a <u>dependency</u> in manifest.plist.</small>
 
 
[[User:Reval|Reval]] ([[User talk:Reval|talk]]) 02:37, 9 June 2026 (BST)
 
 
 
The "towbar" in the Towbar OXP cannot tow your "neutralised" ships. Your Tractor-Tow cannot tow derelict ships (which is what Towbar will work with), because they are not "neutralised". Both OXPs have similar functionality, and would create a potentially confusing experience for the player, working out which towing system to use for the type of ship in front of them. The safest thing to do to prevent that confusion is to flag them as incompatible.
 
 
As for why your OXP should flag the incompatibility, it's because yours is the newest of the two, and because you, as the author, are around and able to make the change.
 
 
While we're discussing changes, the following items need to be addressed/removed:
 
 
In your "equipment.plist" you have:
 
    // restrict to aft facing
 
    weapon_flags = "WF_MOUNT_AFT"; // NOT documented!   
 
 
That option doesn't do anything. There is no "weapon_flags" in equipment.list. I don't know where this came from but it certainly didn't come from the documentation. It should be removed so as not to cause confusion for anyone looking at your source code in future.
 
 
In your "tt_equipment_conditions.js" file you have:
 
    // Only check on purchase or installation
 
    if (context == "purchase" || context == "install") {
 
 
There is no "install" context. Oolite will never send "install" as a context. Only "purchase" is valid here for your purposes. This again should be removed so as not to cause future confusion.
 
 
phkb 2026-06-09 14:07:00 (AEST)
 

Latest revision as of 09:47, 12 June 2026