[MOD] PIE15's Planets

Distribute and discuss mods that are functional. Moderator - Grognak
User avatar
PIE15
Posts: 18
Joined: Sun Dec 03, 2017 5:19 pm

[MOD] PIE15's Planets

Postby PIE15 » Thu Feb 01, 2018 6:35 pm

Captain. Now that I have your attention; we have received word that a red Zoltan has created an ocular enhancement which can be attached to the heads up display of your ship.
The zoltan is offering to supply the augmentation and has asked for nothing in exchange. He simply wants to help you with your mission.

Will you install the ocular enhancement?

Image

Planets adds 33 new high resolution planets to FTL and is designed to compliment planet mods such as HighRes_Backgrounds_and_Planets.

Code: Select all

Changelog:

  1.1r
  + More liberal append courtesy of mr_easy_money

  1.0r
  + Initial release
 

Download: PIE15's Planets 1.1r.ftl
The CRC for the file is EFCFF72F.

You will need Slipstream Mod Manager v1.9 or newer to install this mod.
Mod makers, please feel free to incorporate this mod into your resource packs, etc. Please just add credit.

ABSOLUTELY NO PERMISSION WHATSOEVER IS GIVEN FOR THE ART RESOURCES CONTAINED WITHIN THIS FTL MOD TO BE USED OUTSIDE OF THE FTL GAME FOR ANY PURPOSE. THE ARTWORKS ARE SUBJECT TO COPYRIGHT AND MAY ONLY BE USED WITHIN FTL.
BY DOWNLOADING PLANETS BY PIE15 - YOU AGREE NOT TO CLAIM OWNERSHIP OF THE ARTWORK AS YOUR OWN CREATION OR TO REDISTRIBUTE THE ARTWORKS UNMODIFIED IN ANY FORM OTHER THAN AS A MOD FOR FTL.
NO WARRANTIES OR GUARANTEES ARE AFFORDED TO YOU BY THE CREATOR OF THIS MOD AND YOU ACCEPT ALL RESPONSIBILITIES INVOLVED IN INSTALLING THE MOD PLANETS INTO YOUR COPY OF FTL.
Last edited by PIE15 on Tue Feb 13, 2018 2:16 pm, edited 4 times in total.
Check out my FTL mods Planets and Combo
KarlssoNN
Posts: 8
Joined: Wed Dec 13, 2017 6:28 am

Re: [MOD] PIE15's Planets

Postby KarlssoNN » Mon Feb 05, 2018 1:29 am

Will this work with the newest Captain's edition, its various addons and Better Backgrounds, if so what would be the load order?
User avatar
PIE15
Posts: 18
Joined: Sun Dec 03, 2017 5:19 pm

Re: [MOD] PIE15's Planets

Postby PIE15 » Sat Feb 10, 2018 11:15 am

KarlssoNN wrote:Will this work with the newest Captain's edition, its various addons and Better Backgrounds, if so what would be the load order?

Hi KarlssoNN, yes this mod can be patched in with Captain's edition in no particular order and it should work just fine.
Hope this helps. ;)
Check out my FTL mods Planets and Combo
User avatar
mr_easy_money
Posts: 625
Joined: Fri May 29, 2015 9:05 pm

Re: [MOD] PIE15's Planets

Postby mr_easy_money » Sun Feb 11, 2018 4:34 am

PIE15 wrote:
KarlssoNN wrote:Will this work with the newest Captain's edition, its various addons and Better Backgrounds, if so what would be the load order?

Hi KarlssoNN, yes this mod can be patched in with Captain's edition in no particular order and it should work just fine.

actually I don't think your mod is working as you've intended -- that is, it doesn't add these planets to the existing planets, only these planets will show up. I've determined this by looking at the code of the events_imageList.xml.append file, the vanilla imageLists are replaced by these new imageLists (the .append file extension just makes sure that this file doesn't replace the entire existing file which is good, but has no bearing on whether the lists themselves append to existing lists).

Code: Select all

<imageList name="PLANET">
   <img w="256" h="256">stars/planet_slug_colony.png</img>
   <img w="256" h="256">stars/planet_swole.png</img>
   <img w="128" h="128">stars/planet_smol_acorn.png</img>
   <img w="128" h="128">stars/planet_artic.png</img>
   <img w="256" h="256">stars/planet_ice_nebula.png</img>
   <img w="128" h="128">stars/planet_belt2.png</img>
   <img w="256" h="256">stars/planet_choc_rock.png</img>
   <img w="512" h="512">stars/planet_coffee_stain.png</img>
   <img w="512" h="512">stars/planet_chalk_moon.png</img>
   <img w="512" h="512">stars/planet_choc_moon.png</img>
   <img w="512" h="512">stars/planet_claw_ripple.png</img>
   <img w="512" h="512">stars/planet_cookie.png</img>
   <img w="512" h="512">stars/planet_dark_blue.png</img>
   <img w="512" h="512">stars/planet_drago.png</img>
   <img w="512" h="512">stars/planet_forest.png</img>
   <img w="512" h="512">stars/planet_forest_moon.png</img>
   <img w="512" h="512">stars/planet_frost.png</img>
   <img w="512" h="512">stars/planet_green_succ.png</img>
   <img w="512" h="512">stars/planet_habitat_1.png</img>
   <img w="512" h="512">stars/planet_lavender.png</img>
   <img w="512" h="512">stars/planet_moonscape.png</img>
   <img w="512" h="512">stars/planet_moss.png</img>
   <img w="512" h="512">stars/planet_red_2.png</img>
   <img w="512" h="512">stars/planet_rusty.png</img>
   <img w="512" h="512">stars/planet_serrado.png</img>
   <img w="512" h="512">stars/planet_snow_belt.png</img>
   <img w="512" h="512">stars/planet_snow_lake.png</img>
   <img w="512" h="512">stars/planet_turquoise.png</img>
</imageList>   

<imageList name="PLANET_POPULATED">
   <img w="256" h="256">stars/planet_jungalista.png</img>
   <img w="256" h="256">stars/planet_slug_colony.png</img>
   <img w="512" h="512">stars/planet_serrado.png</img>
   <img w="512" h="512">stars/planet_habitat_1.png</img>
</imageList>   

<imageList name="PLANET_POPULATED_SMALL">
   <img w="512" h="512">stars/planet_forest.png</img>
   <img w="512" h="512">stars/planet_green_succ.png</img>
   <img w="512" h="512">stars/planet_lavender.png</img>
   <img w="512" h="512">stars/planet_moss.png</img>
</imageList>   

<imageList name="PLANET_UNPOPULATED">
   <img w="256" h="256">stars/planet_swole.png</img>
   <img w="128" h="128">stars/planet_smol_acorn.png</img>
   <img w="128" h="128">stars/planet_artic.png</img>
   <img w="128" h="128">stars/planet_belt2.png</img>
   <img w="512" h="512">stars/planet_coffee_stain.png</img>
   <img w="256" h="256">stars/planet_ice_nebula.png</img>
   <img w="256" h="256">stars/planet_choc_rock.png</img>
   <img w="512" h="512">stars/planet_choc_moon.png</img>
   <img w="512" h="512">stars/planet_dark_blue.png</img>
   <img w="512" h="512">stars/planet_drago.png</img>
   <img w="512" h="512">stars/planet_frost.png</img>
   <img w="512" h="512">stars/planet_moonscape.png</img>
   <img w="512" h="512">stars/planet_snow_belt.png</img>
   <img w="512" h="512">stars/planet_snow_lake.png</img>
</imageList>
   
<imageList name="PLANET_UNPOPULATED_SMALL">
   <img w="200" h="200">stars/planet_gas_green.png</img>
   <img w="512" h="512">stars/planet_swirl.png</img>
   <img w="512" h="512">stars/planet_apple_top.png</img>
   <img w="512" h="512">stars/planet_chalk_moon.png</img>
   <img w="512" h="512">stars/planet_claw_ripple.png</img>
   <img w="512" h="512">stars/planet_cookie.png</img>
   <img w="512" h="512">stars/planet_forest_moon.png</img>
   <img w="512" h="512">stars/planet_rusty.png</img>
   <img w="256" h="256">stars/planet_cheesewheel.png</img>
</imageList>   

<imageList name="PLANET_GAS">
   <img w="256" h="256">stars/planet_gas_green.png</img>
   <img w="256" h="256">stars/planet_belt2.png</img>
   <img w="256" h="256">stars/planet_choc_rock.png</img>
   <img w="256" h="256">stars/planet_coffee_stain.png</img>
   <img w="256" h="256">stars/planet_ice_nebula.png</img>
   <img w="512" h="512">stars/planet_red_2.png</img>
   <img w="512" h="512">stars/planet_turquoise.png</img>
   <img w="256" h="256">stars/planet_artic.png</img>
</imageList>

all hope is NOT lost however, adding to existing lists is accomplished using slipstream tags,

Code: Select all

<mod:findName type="imageList" name="PLANET">
   <mod-append:img w="256" h="256">stars/planet_slug_colony.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_swole.png</mod-append:img>
   <mod-append:img w="128" h="128">stars/planet_smol_acorn.png</mod-append:img>
   <mod-append:img w="128" h="128">stars/planet_artic.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_ice_nebula.png</mod-append:img>
   <mod-append:img w="128" h="128">stars/planet_belt2.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_choc_rock.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_coffee_stain.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_chalk_moon.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_choc_moon.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_claw_ripple.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_cookie.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_dark_blue.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_drago.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_forest.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_forest_moon.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_frost.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_green_succ.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_habitat_1.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_lavender.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_moonscape.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_moss.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_red_2.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_rusty.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_serrado.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_snow_belt.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_snow_lake.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_turquoise.png</mod-append:img>
</mod:findName>   

<mod:findName type="imageList" name="PLANET_POPULATED">
   <mod-append:img w="256" h="256">stars/planet_jungalista.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_slug_colony.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_serrado.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_habitat_1.png</mod-append:img>
</mod:findName>   

<mod:findName type="imageList" name="PLANET_POPULATED_SMALL">
   <mod-append:img w="512" h="512">stars/planet_forest.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_green_succ.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_lavender.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_moss.png</mod-append:img>
</mod:findName>   

<mod:findName type="imageList" name="PLANET_UNPOPULATED">
   <mod-append:img w="256" h="256">stars/planet_swole.png</mod-append:img>
   <mod-append:img w="128" h="128">stars/planet_smol_acorn.png</mod-append:img>
   <mod-append:img w="128" h="128">stars/planet_artic.png</mod-append:img>
   <mod-append:img w="128" h="128">stars/planet_belt2.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_coffee_stain.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_ice_nebula.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_choc_rock.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_choc_moon.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_dark_blue.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_drago.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_frost.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_moonscape.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_snow_belt.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_snow_lake.png</mod-append:img>
</mod:findName>
   
<mod:findName type="imageList" name="PLANET_UNPOPULATED_SMALL">
   <mod-append:img w="200" h="200">stars/planet_gas_green.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_swirl.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_apple_top.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_chalk_moon.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_claw_ripple.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_cookie.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_forest_moon.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_rusty.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_cheesewheel.png</mod-append:img>
</mod:findName>   

<mod:findName type="imageList" name="PLANET_GAS">
   <mod-append:img w="256" h="256">stars/planet_gas_green.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_belt2.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_choc_rock.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_coffee_stain.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_ice_nebula.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_red_2.png</mod-append:img>
   <mod-append:img w="512" h="512">stars/planet_turquoise.png</mod-append:img>
   <mod-append:img w="256" h="256">stars/planet_artic.png</mod-append:img>
</mod:findName>

you can verify my findings by using Slipstream's xml sandbox, usage as follows:
- revert to vanilla or patch in background mods
- go under File -> XML Sandbox...
- open the events_imageList.xml file
- paste your code in the Append tab
- click patch and see the effect of the code. note that spacing between xml tags is only for style and isn't required; result of append tags will list everything on one line which is okay.
User avatar
PIE15
Posts: 18
Joined: Sun Dec 03, 2017 5:19 pm

Re: [MOD] PIE15's Planets

Postby PIE15 » Tue Feb 13, 2018 1:57 pm

Hi mr_easy_money,
While I can't concede this:

mr_easy_money wrote:actually I don't think your mod is working as you've intended

I do agree that the way that you suggest to change the mod is sound.
Thank You for the feedback. I have made the changes you suggested and uploaded a new revision of the mod.
Check out my FTL mods Planets and Combo
KarlssoNN
Posts: 8
Joined: Wed Dec 13, 2017 6:28 am

Re: [MOD] PIE15's Planets

Postby KarlssoNN » Tue Feb 27, 2018 2:03 am

Thanks PIE15 for you great service, and Mr. Easy Money for your input, I've added this mod to my mod list. Will report back if i notice any problems.