@qaanol, on Aug 24 2008, 10:13 AM, said in Turret Hardpoints?:
However, what I suspect you're after is a way to make "Small Turret Hardpoint" only allow a small turret, but "Medium Turret Hardpoint" can allow either a small or medium turret. And making that work in-game is difficult.
I don't think that's quite what he's asking for:
@crusader-alpha, on Aug 23 2008, 12:56 PM, said in Turret Hardpoints?:
What I'd like to do is set a type of hardpoint that allows a certain class of turrets (heavy turrets, light turrets, etcetera). If it's not possible, I can manage, but I'd like to pull it off.
It'd be a nice, simple system if Light Turrets required a Light Hardpoint, and easier to implement.
It would also make more sense, as there would be size / fit issues with putting light / medium turrets onto a hardpoint designed for heavy turrets.
On the other hand, you would have to decide upon, and signal to the player via dëscs, which turret is which type.
With those assumptions, 0101181920's example can be expanded to multiple turret classes:
For a Light Turret Hardpoint Outfit of RID #xxa, then all of the turret's you classify as "Light Turrets" have:
Availability: Oxxa
OnBuy: Dxxa
OnSell: Gxxa
For a Medium Turret Hardpoint Outfit of RID #xx b , the 'xxb' appears instead of 'xxa' in the above example.
Same for a Heavy Turret Hardpoint Outfit, using a third Outfit RID #xxc.