Author Topic: Issue while redefining Ufopaedia entries [CLOSED]  (Read 3534 times)

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Issue while redefining Ufopaedia entries [CLOSED]
« on: July 29, 2014, 03:29:15 pm »
I was intended to change presentation for alien missions ufopaedia entries as shown here

This works well for new modded alien missions
Regarding vanilla alien missions, it works if and only if I first remove entries from XCom1Ruleset.rul (despite of my mod rulesets being loaded after)

Do I something wrong, or is it just not possible ?

Spoiler:
rulesets:
  - Xcom1Ruleset
  - Aliens_Pick_Up_Weapons
  - UFOextender_Psionic_Line_Of_Fire
  - HellMod_AlienDeployments
  - HellMod_AlienItemLevels
  - HellMod_AlienMissions
  - HellMod_AlienRaces
  - HellMod_Armors
  - HellMod_CraftWeapons
  - HellMod_Crafts
  - HellMod_ExtraStrings
  - HellMod_Facilities
  - HellMod_Invs
  - HellMod_Items
  - HellMod_ItemsExtra
  - HellMod_Language
  - HellMod_Manufacture
  - HellMod_Regions
  - HellMod_Research
  - HellMod_Soldiers
  - HellMod_Starting
  - HellMod_TerrainsAlienDeployments
  - HellMod_TerrainsCBase
  - HellMod_TerrainsCult
  - HellMod_TerrainsCulta
  - HellMod_TerrainsDawnUrbanA
  - HellMod_TerrainsDawnUrbanB
  - HellMod_TerrainsIndustrialUrban
  - HellMod_TerrainsMadUrban
  - HellMod_TerrainsMBase
  - HellMod_TerrainsNativeUrban
  - HellMod_TerrainsPortUrban
  - HellMod_TerrainsUBase
  - HellMod_TerrainsUbase2
  - HellMod_TerrainsUrban
  - HellMod_TerrainsUrban2
  - HellMod_TerrainsUrbanA
  - HellMod_TerrainsUrbania
  - HellMod_TerrainsUrbanNew
  - HellMod_TerrainsXBase
  - HellMod_UfoTrajectories
  - HellMod_Ufopaedia
  - HellMod_UfopaediaExtra
  - HellMod_Ufos
  - HellMod_Units
  - HellMod_XCultist
  - HellMod_XL83Ufos
  - HellMod_XMIB
  - HellMod_ZListOrders_Items
  - HellMod_ZListOrders_Manufacture
  - HellMod_ZListOrders_Research
  - HellMod_ZListOrders_Ufopaedia

HellMod_Ufopaedia.rul (sample)
Spoiler:
ufopaedia:
# Alien Origins
  - id: STR_ALIEN_ORIGINS
    type_id: 7
    section: STR_ALIEN_RESEARCH_UC
    image_id: IMG_320X150_ALIEN_MARS_UFOPEDIA
    text: STR_ALIEN_ORIGINS_UFOPEDIA
    text_width: 315
    requires:
      - STR_ALIEN_ORIGINS

HellMod_UfopaediaExtra.rul (sample)
Spoiler:
extraSprites:
# Alien Missions
  - type: IMG_320X100_ALIEN_MISSIONS_UFOPEDIA
    singleImage: true
    width: 320
    height: 200
    files:
      0: Resources/HellMod/Ufopaedia/IMG_320X100_ALIEN_MISSIONS_UFOPEDIA.PNG

# Alien Mars
  - type: IMG_320X150_ALIEN_MARS_UFOPEDIA
    singleImage: true
    width: 320
    height: 200
    files:
      0: Resources/HellMod/Ufopaedia/IMG_320X150_ALIEN_MARS_UFOPEDIA.PNG

EDIT : this works ! I just added a Step1 and Step2 ruleset, the first one in charge of "deleting" ufopaedia entries
Nice !

HellMod_Ufopaedia_Step1.rul
Spoiler:
ufopaedia:
  - delete: STR_ALIEN_ORIGINS
  - delete: STR_THE_MARTIAN_SOLUTION
  - delete: STR_CYDONIA_OR_BUST
  - delete: STR_ALIEN_RESEARCH
  - delete: STR_ALIEN_HARVEST
  - delete: STR_ALIEN_ABDUCTION
  - delete: STR_ALIEN_INFILTRATION
  - delete: STR_ALIEN_BASE
  - delete: STR_ALIEN_TERROR
  - delete: STR_ALIEN_RETALIATION
  - delete: STR_ALIEN_SUPPLY
« Last Edit: July 29, 2014, 03:48:25 pm by Aldorn »

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: Issue while redefining Ufopaedia entries [CLOSED]
« Reply #1 on: July 29, 2014, 04:07:31 pm »
delete does not work for ufopaedia

Offline Aldorn

  • Commander
  • *****
  • Posts: 750
    • View Profile
Re: Issue while redefining Ufopaedia entries [CLOSED]
« Reply #2 on: July 29, 2014, 04:16:54 pm »
delete does not work for ufopaedia
Hi Falko, I already read it from you
But in this case it works
Perhaps because I redefine it after
Or perhaps dev team finally made it work