Author Topic: OXCE (OpenXcom Extended) main thread  (Read 256773 times)

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7492
    • View Profile
Re: OXCE (OpenXcom Extended) main thread
« Reply #1185 on: August 02, 2022, 09:09:28 am »
Never had the situation before so i never thought about it.

But after looking in all the menus i can't find anything about it, so is it possible in your base to assign an equipment to your soldier without using the Equip Craft -> Select a Ship -> Equipment -> Inventory ?

base > Soldiers > press I

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7492
    • View Profile
Re: OXCE (OpenXcom Extended) main thread
« Reply #1186 on: August 02, 2022, 10:08:14 am »
I don't get the object title when I use rect_text with type_id: 7 (AKA text image), see attachment.
Ruleset reference says the following about rect_text: In OXCE, it is also applicable to TextImage articles.
Code: [Select]
  - id: STR_DIMPROBE
    type_id: 7
    section: STR_XCOM_CRAFT_ARMAMENT
    image_id: UFOPAEDIA_IMG_DIMPROBE
    rect_text:
      x: 5
      y: 40
      width: 140
      height: 100
    #text_width: 140  # this works correctly
    text: STR_DIMPROBE_UFOPAEDIA

This is not a problem since I'm just going use text_width, but I still wanted to report this.

`rect_text` only applies to the description text

for the title text, you still need `text_width`

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7492
    • View Profile
Re: OXCE (OpenXcom Extended) main thread
« Reply #1187 on: August 04, 2022, 03:18:12 pm »
Suggestion
Quick change of vehicle equipment on keys 1-9 by analogy with the equipment of a soldier

is there a problem with that?

for me it works fine... video attached:
1. given a pistol to the first vehicle
2. pressed ctrl+1 to save equipment
3. selected second vehicle
4. pressed 1 to load the equipment from template

Offline Rangerh

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: OXCE (OpenXcom Extended) main thread
« Reply #1188 on: August 06, 2022, 12:34:11 am »
base > Soldiers > press I
Thank you, that works nicely.