aliens

Author Topic: [DONE][Suggestion] Different image background/sound for missile base hit  (Read 970 times)

Offline bulletdesigner

  • Commander
  • *****
  • Posts: 685
    • View Profile
Just a simple flavor request for my alien missiles strikes do have a different background image when some damage is done to the base (like and explosion or the data), and if it possible to vary the background from the ufo that caused the damage ex:
ufos:   
 missilePower: 10
 hitimage: nukeexplosion.SPK

Extra Bonus if an sound is also added.... cabuumm when the image appear

ufos:
 hitmissilesound: 155

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9101
    • View Profile
Re: [DONE][Suggestion] Different image background/sound for missile base hit
« Reply #1 on: December 30, 2023, 05:02:08 pm »
Done.

Sample ruleset:

Code: [Select]
ufos:
  - type: STR_BATTLESHIP
    missilePower: 10
    hitImage: BACK13.SCR  # funding bg
    hitSound: 11          # ufo explosion (GEO.CAT)

https://github.com/MeridianOXC/OpenXcom/commit/2af9575eb03a41dbe3776b381ff275af4495b305
https://github.com/MeridianOXC/OpenXcom/commit/52cb7f72a862182193e36c33bbedffcf99b21297