Re: (WIP) Q-Charger.oxp
Posted: Fri Jul 29, 2011 2:00 pm
Anyone that wants to can post test results here, please and thankyou.
For information and discussion about Oolite.
https://bb.oolite.space/
Code: Select all
this.togglesoundfx1 = "OFF";// default "ON", change to "OFF" to turn off soundfx1(Q-Charger,power up and power down)(1,2,3,4,5)
Q-Charger.ogg
comes on suddenly after coming out of each jump, and stays on forever regardless of ship speed. Cache is refreshed by default on every program start.Code: Select all
23:12:25.984 [ship.missileLaunch.invalidPosition]: ***** ERROR: The missile_launch_position defines a position (0, 0, -20.5) behind the <ShipEntity 0xca79890>{"Thargoid Warship" position: (6542.17, -289.358, 308267) scanClass: CLASS_THARGOID status: STATUS_IN_FLIGHT}. In future versions such missiles may explode on launch because they have to travel through the ship.
ShipEntity
value is always constant, and 2nd position coords are never the same.Q-Charger.ogg
to something else and see what happens. Hope these symptoms might be easy to diagnose.[color=#0000FF]Q-Charger.ogg[/color]
renamed to something else. No more bothering sounds during game - and no more extraneous Thargoid ships inside the log. [color=#BF0000]Q-Charger Power Down.ogg[/color]
played just once, upon docking. I can live merrily with that... however we (you ?) might be wondering why the heck the sound would still be playing, while sounds are still marked 'OFF' in line above.ShipEntity
, which alternate at random inside the log. I suspect that this is indeed a different issue and has nothing to do with Q-Charger.Answers are: NO and NO.Fatleaf wrote:... do you have Galactic Navy OXP or/and Thargorn Threat oxp installed?
Mmmm... so I assume that some OTHER OXP might be the culprit, and I could do a a search on my OXP folder for this string '0, 0, -20.5' and see what I find.... that is where these come from. If you replace the missile_launch_position in the shipdata Plist (0, 0, -20.5) with (0.0 -58.0 -0.0) in JavaScript it is "0.0 -58.0 -0.0"; It will clear things up.
Code: Select all
-20.5
'-20.5'
"-20.5"
20.5
'20.5'
"20.5"
Code: Select all
missile_launch_position
[color=#0000FF]\Oolite\oolite.app\Resources\Config\shipdata.plist[/color]
I have:Code: Select all
"thargoid" =
{
...
missile_launch_position = "0.0 -46.0 91.0";
...
name = "Thargoid Warship";
Great !CommonSenseOTB wrote:Q-Chargerv1.2.oxp is now available.
If I got this right, regardless of the number of 'toggle checks', there's only one toggle flag - i.e., it's an all or nothing thing.Added 3 missing sound toggle checks to prevent problems with the sound when the sound is toggled to "OFF". Thanx sdrubble for pointing out the problem. Now fixed!
I don't see why not. Would probably be best to simulate it with a higher top speed and a slightly modified AI. Could give one to the cops too, the last of the "Q-charger interceptors" a la "Mad Max".JazHaz wrote: