OK, PlanetFall2 updates incoming!
First, there's been a tweak to some of the images in the Resources pack, so that's been updated and bumped to version 1.1
Next, the main PlanetFall 2 pack. The short version of the update is:
- Added a "turbulence impact scale" option so the effect of turbulence can be scaled to taste.
- Allowed for blank entries in location overrides to switch to randomised location types and naming.
- Added ability to override the landing clouds, docks and overlays on a per-planet basis.
- Fixed issues when checking roles to determine the type of VFX to show for landing.
- Some code refactoring.
With the second item, see my reply a couple of posts back for an example of mixing and matching randomly generated items with pre-defined ones.
For the third item, here's a summary:
If you want to override the various images used for the landing VFX, do the following:
Code: Select all
this.startUpComplete = function() {
// overriding the landing VFX images is done on a per-planet basis.
// pick the planet for which you want to override images.
// this this example, we are using the main planet
var pl = system.mainPlanet;
// if there's no main planet, just return at this point
if (!pl) return;
pl._pf2_landingImageOverrides = {
clouds: {
// this is the filename used for the "clouds" when descending to dock on the sunlit side of the planet
normal: "normal_clouds.png",
// this is the filename used for the "clouds" when descending to dock on the dark side of the planet
night: "night_clouds.png"
},
dock: {
// this is the filename used for the "dock" image used when descending to dock on the planet
normal: "normal_clouds.png"
// there is no "night" side docking pad image. docks are assumed to be well lit
},
overlay: {
// this is the overlay to use on top of the landing image on the sunlit side of the planet
normal: "normal_overlay.png",
// this is the overlay to use on top of the landing image on the dark side of the planet
night: "night_overlay.png"
},
};
}
Cloud and dock images should have dimensions of 1024x2048 px. Overlay images should be 2048x1024 px.
So, what this means is that it is now possible to change the cloud and dock images used when docking, and also control the overlay used on the arrival report screen. It doesn't make any of the ideas Cholly put forward happen, but it should now provide a means by which it *could* happen.
When it comes to those ideas, things like underwater locations, or cloud-based locations, that would require a full custom system build, with new landing images and what not. Don't know I have the scope to look at doing those yet, so if anyone else wants to have a go, checkout the "Creating Custom Systems" PDF file in the package, and shout out if you've got questions. The downside of allowing more and complete customisation, the more complicated the beast gets.