One of the new features in 1.77 is being able to alter the external view camera position and orientation by script. Here's an OXP that gives the player some quick access to some new external views like a missile chase camera through primable equipment available at any TL:8 or higher station.
Yes, they are separate OXPs, although based on similar code (and the same new functionality in trunk). I'm taking my OXPs out of beta as we speak and uploading them to box/wiki.
One of the new features in 1.77 is being able to alter the external view camera position and orientation by script. Here's an OXP that gives the player some quick access to some new external views like a missile chase camera through primable equipment available at any TL:8 or higher station.
Been having some fun with this, but still fumbling about - can the drone's speed be reduced?
Oh, this popped-up - maybe due to me hitting the wrong keys:
17:54:24.592 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (Camera Drones equipment script 1.1): Error: PlayerShip.setCustomView only works when custom view is active.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Been having some fun with this, but still fumbling about - can the drone's speed be reduced?
For the flyby view, you mean? On line 143 of camera_drones.js, the 500 is the drone's speed relative to your ship in metres per second, so that should be fairly easy to tune.
17:54:24.592 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (Camera Drones equipment script 1.1): Error: PlayerShip.setCustomView only works when custom view is active.
Ah, I think I know why that's happening. I'll put a fixed version up soon.
Been having some fun with this, but still fumbling about - can the drone's speed be reduced?
For the flyby view, you mean? On line 143 of camera_drones.js, the 500 is the drone's speed relative to your ship in metres per second, so that should be fairly easy to tune.
Muy bueno!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
17:54:24.592 [script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (Camera Drones equipment script 1.1): Error: PlayerShip.setCustomView only works when custom view is active.
Ah, I think I know why that's happening. I'll put a fixed version up soon.
Cim - I've been trying to change the speed of the flyby by changing the value you specified but it's making no difference. Do you have any idea if anything else needs to be done or if there is some sort of range I need to be in. I assume that to make the thing slower I need to reduce the number?
Starting Oolite with SHIFT held down until you see the spinning Cobra. That's to clear the cache. Otherwise changes made in plists or JS-scripts don't get effective, because the cached (unchanged) version continues to be used by the game.