Page 4 of 4
Re: Laser Mount Switching System (LMSS)
Posted: Mon Mar 09, 2020 12:09 pm
by dybal
phkb wrote: ↑Mon Mar 09, 2020 5:36 am
dybal wrote: ↑Fri Mar 06, 2020 5:28 pm
In a fight my primary forward laser (Military) was damaged, I switched to the secondary (PewPew). Sometime latter during the fight the primary forward laser turned to Military, and the secondary forward position had no laser.
As lasers aren't normally damagable in the core game, I'm thinking this must be an unintended consequence of RepairBots and whatever the OXPis that's allowing for damage on lasers .
I guess that would be BattleDamage (oolite.oxp.smivs.BattleDamage.oxz)
Re: Laser Mount Switching System (LMSS)
Posted: Mon Mar 09, 2020 8:36 pm
by phkb
dybal wrote: ↑Mon Mar 09, 2020 12:09 pm
I guess that would be BattleDamage (oolite.oxp.smivs.BattleDamage.oxz)
I don't think that's the one. There's no mention of lasers anywhere in the equipment plist or scripts. I'd suggest instead
Laser Booster. Breakable lasers are part of that one.
Re: Laser Mount Switching System (LMSS)
Posted: Wed Mar 11, 2020 4:51 pm
by dybal
phkb wrote: ↑Mon Mar 09, 2020 8:36 pmphkb wrote: ↑Mon Mar 09, 2020 5:36 am
dybal wrote: ↑Fri Mar 06, 2020 5:28 pm
In a fight my primary forward laser (Military) was damaged, I switched to the secondary (PewPew). Sometime latter during the fight the primary forward laser turned to Military, and the secondary forward position had no laser.
As lasers aren't normally damagable in the core game, I'm thinking this must be an unintended consequence of RepairBots and whatever the OXPis that's allowing for damage on lasers .
dybal wrote: ↑Mon Mar 09, 2020 12:09 pm
I guess that would be BattleDamage (oolite.oxp.smivs.BattleDamage.oxz)
I don't think that's the one. There's no mention of lasers anywhere in the equipment plist or scripts. I'd suggest instead
Laser Booster. Breakable lasers are part of that one.
You are right, BattleDamage damages just the hull... but I don't have Laser Booster installed in my ship, it should not damage my lasers.
It happens often... about 20% of my fights... quite annoying !
I unziped every OXZ in my MannagedAddons and Addons directory and searched for 'setEquipmentStatus(<variable>, "EQUIPMENT_DAMAGED")'... the only viable candidates were MissileandBombs (if hit by a missile), FuelTweaks (during fuel transfer), RandomHits (if docked at a bar) and InterstellarTweaks...
Re: Laser Mount Switching System (LMSS)
Posted: Sat May 16, 2020 1:03 pm
by dybal
Upgraded the OXP to version 2.2
Had a Military Laser in main position and an Uber laser from NewLasers in the secondary position at the forward mount.
Activated LMSS at the forward mount, now have the Uber laser at the primary position and nothing at the secondary.
Re: Laser Mount Switching System (LMSS)
Posted: Sat May 16, 2020 1:33 pm
by phkb
Dang it. Ok, I’ll debug and release a patch shortly
Re: Laser Mount Switching System (LMSS)
Posted: Sat May 16, 2020 3:01 pm
by phkb
OK, v2.3 has been released which should fix the issue with lasers not switching successfully.
Re: Laser Mount Switching System (LMSS)
Posted: Sat May 16, 2020 4:32 pm
by dybal
Thanks!
Will give it a try as soon as I dock
Re: Laser Mount Switching System (LMSS)
Posted: Tue Jun 16, 2020 1:09 am
by Milo
Very minor feedback, but activating the LMSS primeable equipment when you have no alternate laser for the current slot (forward/side/aft) does nothing. It should probably show a console message that there is no secondary weapon set up there, or that you don't have LMSS installed there (as appropriate). In my case, I had set up an LMSS secondary earlier, then reverted to an earlier save which didn't have it, forgot to re-do it, and was later confused when I tried to switch during flight and the activate function did nothing.
Re: Laser Mount Switching System (LMSS)
Posted: Tue Jun 23, 2020 4:08 am
by phkb
V2.4 has been released, which makes a "boop" sound if you attempt to switch lasers in a position where it's not possible to switch.
Re: Laser Mount Switching System (LMSS)
Posted: Tue Jun 23, 2020 5:40 pm
by Milo
Nice, but what if sound is off?
Re: Laser Mount Switching System (LMSS)
Posted: Wed Jun 24, 2020 4:25 am
by phkb
Picky, picky!
Version 2.5 adds a console message as well.