Re: Armoury OXP - v1.08 (New weapons)
Posted: Sun Jul 17, 2011 8:15 pm
A void bomb! YOU ARE MY HERO!
If it was it ain't nowsdrubble wrote:Or was it really meant to be a hidden and surprise bonus ?
Hope it helps.16:26:00.503 [script.javaScript.exception.ooliteDefinedError]: ***** JavaScript exception (armoury_interdictorMine.js 1.00): Error: Vector3D.distanceTo: Could not construct vector from parameters (undefined) -- expected Vector, Entity or array of three numbers.
16:26:00.503 [script.javaScript.exception.ooliteDefinedError]: ../AddOns/Armoury 1.08.oxp/Scripts/armoury_interdictorMine.js, line 63.
not sure if this would have any bearing, but I'm *almost* sure someone around here was getting strange log errors related to the Interdictor...Fatleaf wrote:... never seen for sale the Interdictor Mine...
sdrubble wrote:not sure if this would have any bearing, but I'm *almost* sure someone around here was getting strange log errors related to the Interdictor...Fatleaf wrote:... never seen for sale the Interdictor Mine...
CT_masterScript.js
into a new sdrbl_CT_masterScript.js
(making world-scripts.plist
refer to both), and later by merging all the V2 structures and conditions into CT_masterScript.js
proper. But I didn't really see any difference in the results.Well, I had specifically hunted for the "requires_empty_pylon" property, but Thargoid didn't use it for the Captured Thargons.Capt. Murphy wrote:"is_external_store" & "requires_empty_pylon" may well be your friends (without looking at the OXP).
Now, THIS really rings a bell...see below (fromThargoid wrote:... setting things as a mine (equipment name starting EQ_ and ending _MINE) is the easiest way to do it.
equipment.plist
):Code: Select all
(
11,
55000,
"Captured Thargon Ship Defense System",
"EQ_CT_MINE",
"Controller plus 5 captured and reprogrammed Thargon Robot Fighters for ship defense.",
{
"available_to_all" = true;
"conditions" = ("mission_CT_thargonCount equal 0");
"requires_equipment" = "EQ_FUEL_SCOOPS";
}
),
(
11,
89000,
"Captured Thargon Ship Defense System (V2)",
"EQ_CT_MINE_V2",
"Controller plus 9 captured and reprogrammed Thargon Robot Fighters for ship defense.",
{
"available_to_all" = true;
"conditions" = ("mission_sdrbl_CT_thargonCount equal 0");
"requires_equipment" = "EQ_FUEL_SCOOPS";
}
),
I'm not quite sure of what you're saying here... but THIS is how I was doing it (the current item name will soon be renamed, of course):Thargoid wrote:You can also link in with the HUD icon definition as well (settable in descriptions.plist).
Code: Select all
"EQ_CT_MINE" = (0,0, 1,0, 1,2, 2,2, 2,3, "-2",3, "-2",2, "-1",2, "-1","-2", 1,"-2", 1,0, "-1",0 );
"EQ_CT_MINE_V2" = (0,0, 1,0, 1,2, 2,2, 2,3, "-2",3, "-2",2, "-1",2, "-1","-2", 1,"-2", 1,0, "-1",0 );
// 'EQ_CT_MINE_V2' was copied from 'EQ_CT_MINE'