What is the OXZ you're referring to?I am particularly enamoured of the 'shield effects' OXZ
Split: Custom Shields OXP
Moderators: winston, another_commander
Split: Custom Shields OXP
Moderator: Split from Progress thread.
- Bangbangduck
- Deadly
- Posts: 169
- Joined: Tue Apr 29, 2014 5:57 pm
- Location: My God it's full of stars
Re: Progress
Zireael wrote:What is the OXZ you're referring to?I am particularly enamoured of the 'shield effects' OXZ
Custom Shields. Hit an NPC and the shields flash as they 'absorb' the laser fire. Looks fantastic!
BBD
Do not press this button [O].....Oh Bugger!
Cobra MKIII Grendal's Dam
Cobra MKIII Grendal's Dam
Re: Progress
Need those better explosions added in OXZ to accompany themBangbangduck wrote:Zireael wrote:What is the OXZ you're referring to?I am particularly enamoured of the 'shield effects' OXZ
Custom Shields. Hit an NPC and the shields flash as they 'absorb' the laser fire. Looks fantastic!
BBD
--
Pilot: Mossfoot - Ship ID: Viaticus Rex (Cobra MKII)
Rank: Competent - Status: Clean
http://www.noahchinnbooks.com/
Pilot: Mossfoot - Ship ID: Viaticus Rex (Cobra MKII)
Rank: Competent - Status: Clean
http://www.noahchinnbooks.com/
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: Split: Custom Shields OXP
Custom Shields OXP discussion split to own thread from Progress.
-
- ---- E L I T E ----
- Posts: 1248
- Joined: Sat Sep 12, 2009 11:58 pm
- Location: Essex (mainly industrial and occasionally anarchic)
Re: Split: Custom Shields OXP
I've noticed a problem - pretty much cosmetic - when looking at my logs. It's errors of this type:
[script.javaScript.exception.unexpectedType]: ***** JavaScript exception (customshields 0.83): TypeError: player.ship.position is undefined
I imagine they are generated when they player is docked or has launched the escape pod.
What is needed, I think, is - within the functions in the script that interrogate
It's not necessary to check whether player.ship exists at all, because it always does.
[script.javaScript.exception.unexpectedType]: ***** JavaScript exception (customshields 0.83): TypeError: player.ship.position is undefined
I imagine they are generated when they player is docked or has launched the escape pod.
What is needed, I think, is - within the functions in the script that interrogate
player.ship.position
, something like this:Code: Select all
if (player.ship.isValid && player.ship.position) { <your code here>
}