OpenXcom Forum

Modding => Released Mods => Topic started by: Blank on May 16, 2016, 04:50:17 pm

Title: [TFTD]Extended Facilities
Post by: Blank on May 16, 2016, 04:50:17 pm
Extended Facilities for Terror From The Deep


Based on Dioxine's Improved Living Quarters (https://"https://openxcom.org/forum/index.php?topic=2806.0") mod and the corridors from XPiratez. Useful features for space efficiency now available for TFTD. Two varieties of corridors since the TFTD X-com bases have extremely useful doors.

Changelog:
v1.2c
-Ufopedia fix by Orz and new images
v1.1
-Complete redesign of Large Storage Facility. Now places items on second floor correctly

USAGE:
All work that is my own is free to use by anyone in the openxcom community and beyond.
Title: Re: [TFTD]Extended Facilities
Post by: Meridian on May 16, 2016, 06:12:47 pm
Nice!
Title: Re: [TFTD]Extended Facilities
Post by: harre on May 17, 2016, 12:01:47 am
Looks nice, is the capacity the 4x of the standard one?
Title: Re: [TFTD]Extended Facilities
Post by: Blank on May 17, 2016, 07:02:49 am
Large living quarters holds 225 personnel and 25 storage, Large storage facility holds 275 units. Higher initial cost compared to same amount of regular facilities. Same as the improved living quarters mod some people are already familiar with.

I'm not too happy about where the items get placed in the large storage facility in base defense though, not sure what I can do about it.
Title: Re: [TFTD]Extended Facilities
Post by: 7Saturn on May 17, 2016, 12:26:11 pm
Is something like this available for X-COM as well? I love the idea.
Title: Re: [TFTD]Extended Facilities
Post by: Solarius Scorch on May 17, 2016, 12:37:21 pm
Is something like this available for X-COM as well? I love the idea.

Yeah, it's here: https://openxcom.org/forum/index.php/topic,2806.0.html
Title: Re: [TFTD]Extended Facilities
Post by: 7Saturn on May 17, 2016, 12:42:38 pm
Awesome! ;D
Title: Re: [TFTD]Extended Facilities
Post by: Blank on May 17, 2016, 06:50:23 pm
Linked right there in the first post, as it's not my idea, I'm just implementing it for TFTD. That also means I won't be changing the stats for this release.

Oh, I found an MCD bug that needs patching, included in the mod but I guess it should be added to the general tftd patches? It's to do with the ramps in the sub pens, one of the tiles let's you 'walk on the air'. Also prevents large units using the ramp. It's not a huge deal since large units can't get to the ramps on normal maps anyway and that area rarely sees use. And I honestly would not recommend using those tiles to construct your own maps, they're kind of a mess.
Code: [Select]
MCDPatches:
  - type: XBASES01
    data:
      - MCDIndex: 71
        noFloor: true
Title: Re: [TFTD]Extended Facilities
Post by: Blank on May 20, 2016, 10:38:21 pm
New Release (See first post for download):

Completely redesigned the large storage facility in order for items to correctly be placed on the second floor. Has more in common with the large living quarters now than the hanger.
Title: Re: [TFTD]Extended Facilities (Pedia Pics)
Post by: Orz on May 30, 2016, 01:49:52 am
Hey Blank, looks absolutely gorgeous! Seriously thinking of implementing this. Upon testing, however, I couldn't fail to notice game crashes when attempting to view UFOpedia articles for the new facilities. Reason being TFTD doesn't draw pedia images from respective strings (item, facility, whatever) as does UFO/EU: TFTD pedia entries actually requires their own custom-made images.

So I thought I'd offer a hand! Alas, can't manage to have images work. And there's nothing... Nevermind, figured it out!

(https://s33.postimg.org/6oqfgpi9b/screen275.png)

(https://s33.postimg.org/tiju9bnvz/screen276.png)

(https://s33.postimg.org/hrboq9u7j/screen274.png)

Reason why there's no matching background is because I have no way of extracting new facility's image in any TFTD-friendly format. If I take a snapshot from a Base Defense mission and then edit the pic into the UFOpedia entry (already tried) the image will be messed up in-game later. And converting it to TFTD palette using Falco's tool won't cut it either. So I had to use the "closest" approximation: Living Quarters, General Stores and Air-Lock.

Should prevent UFOpedia crashes from trying to access these pedia articles (while also making them actually readable now), at least! :P

Corridors were given a single pedia article as I felt two separate pages were unnecessary. Text was added to indicate there's 2 types of Corridors, however. If anyone wants separate entries, should be easy enough to do.

I'm attaching fix below, Blank. Do with it as you like!
Title: Re: [TFTD]Extended Facilities
Post by: Blank on May 30, 2016, 09:19:09 pm
Oh excellent! Thank you. I can pull out some clean images from mapview to add to the backgrounds and version 1.2c has been added to the first post. Although I haven't quite gotten a perfect translation between the battlescape and ufopedia pallets. I have no idea how they managed to make the doors red so I did that manually.

(https://i.imgur.com/Pu9hX2n.png)
(https://i.imgur.com/pwjvix4.png)
(https://i.imgur.com/27cb0Yo.png)