Author Topic: [Documentation] Sharing UFO and TFTD article types across  (Read 7448 times)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9090
    • View Profile
[Documentation] Sharing UFO and TFTD article types across
« on: March 30, 2018, 07:29:17 pm »
If anyone would like to use TFTD-like pedia articles in UFO, it's now possible in OXCE+.

v2018-03-30 or above: https://lxnt.wtf/oxem/builds//ExtendedPlus/Extended+-3.10a-b2193e4-2018-03-30-win32.7z

--

Features:
1. unhardcoded palettes and colors (per article type)
2. support for INFO button (stats for nerds)
3. suppport for completely new palettes

Planned (soon):
4. support for custom palettes per article (maybe, low prio)
5. support for UFO article types in TFTD

--

I am attaching a sample mod with 1 example for each of the 8 types of articles: https://openxcom.org/forum/index.php?action=dlattach;topic=6166.0;attach=36839

The sample has:
1. craft type, PAL_UFOPAEDIA, Avenger
2. craft weapon type, PAL_BATTLEPEDIA, Fusion Ball
3. vehicle type, PAL_BATTLEPEDIA, Hovertank -- this is different from vanilla, where HWPs used PAL_UFOPAEDIA (without images)... PAL_BATTLEPEDIA will allow sharing graphics between pedia and inventory
4. item type, PAL_BATTLEPEDIA, Heavy Cannon
5. armor type, PAL_BATTLEPEDIA, Power Suit
6. base facility type, PAL_BASESCAPE, Fusion Defenses
7. generic image type, PAL_UFOPAEDIA, Muton
8. UFO type, PAL_GEOSCAPE, Harvester
« Last Edit: July 17, 2018, 02:13:34 pm by Meridian »

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Re: Sharing UFO and TFTD article types across
« Reply #1 on: April 04, 2018, 12:54:05 am »
hey meridian just converted the mod to the new OCXE+ with the new system, and it looks nice, still is there anyway to remove the info button ?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9090
    • View Profile
Re: Sharing UFO and TFTD article types across
« Reply #2 on: April 04, 2018, 09:10:13 am »
hey meridian just converted the mod to the new OCXE+ with the new system, and it looks nice, still is there anyway to remove the info button ?

No, I could add the possibility tho... why do you want to remove it?

You can change its appearance, to match your mod, if it's the look you don't like
Code: [Select]
  - type: ExtendedPediaBackgroundPalBasescape-InfoButton
    width: 320
    height: 200
    singleImage: true
    files:
      0: Resources/Extended/Pedia/PAL_BASESCAPE/info-button-ufo.png

The PSX version of UFO Defense and TFTD have higher quality sprites and images than DOS/PC versions.

Take a look at the image of the UFO Defense Rifle at the top of my post.

And?

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Re: Sharing UFO and TFTD article types across
« Reply #3 on: April 04, 2018, 11:52:15 am »
ho thks, yes i want it to match the rest , can you post the generic image -> info-button-ufo.png so i can have the reference 
i download the file but can´t find that image in there

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9090
    • View Profile
Re: Sharing UFO and TFTD article types across
« Reply #4 on: April 04, 2018, 12:48:16 pm »
ho thks, yes i want it to match the rest , can you post the generic image -> info-button-ufo.png so i can have the reference 
i download the file but can´t find that image in there

The image must be included in OXCE+... if you don't see it there, you have probably a wrong version.

Anyway, attaching it here too.

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Re: Sharing UFO and TFTD article types across
« Reply #5 on: April 04, 2018, 06:14:59 pm »
The image must be included in OXCE+... if you don't see it there, you have probably a wrong version.

Anyway, attaching it here too.

true i have 4, i was looking in the sample mod not in the OXCE+ , anyway thks