Author Topic: Customizable difficulty settings  (Read 3765 times)

Offline mwilde

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Customizable difficulty settings
« on: August 05, 2021, 09:35:05 pm »
First, thanks for all the amazing work that has gone into all the modding and developing for this game!

I would like to know just how difficult it would be to implement some form of customizable difficulty for the game. It has often been said that Superhuman makes the Battlescape hard due to the number and stats of the aliens, but due to the huge amount of loot you get to sell from them it makes the Geoscape easier. The reverse is true for the easiest setting.

So, my thinking is that you could have sliders to set various parameters, such as:
  • Number of aliens (with a minimum depending on ship type).
  • Number of terrorists per mission (that would have terrorists at all)
  • Alien stats (could range from 50% to 200%, for example)
  • Amount of loot recoverable (for example with 1x of every item that could drop, to some other max number)
  • Frequency of Terror missions (want to have 5 per month, sure!)
  • Cost of construction/upkeep
  • Strength of UFOs
  • Funding and score calculations

This isn't a complete list, of course.

Now, I know that actually implementing this would be a huge task, but once the core code would be in place I think it could dramatically change the game. You could set it up so that each mission would have few, but very tough enemies that drop minimal loot for a quick but tough game. Or, a game where you have loads of missions with loads of enemies that are weak, if that's what you like doing, or any other combination.

So, just how difficult would it be to implement this? Is this something that could be on the "sometime in the future" list, or more in the "dream on" list?

Thanks in advance!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: Customizable difficulty settings
« Reply #1 on: August 20, 2021, 09:56:25 pm »
So, just how difficult would it be to implement this?

Difficulty: easy
Time consumption: non-negligible

Is this something that could be on the "sometime in the future" list...

OpenXcom doesn't have a todolist.

Individual developers have their own personal todolists.
Speaking for myself only, it is not on my todolist.

...or more in the "dream on" list?

Developers don't have any dream-on-lists as far as I am aware.
But everyone here is free to keep their own dream-on-list.

Offline Finnik

  • Commander
  • *****
  • Posts: 508
  • Finnik#0257
    • View Profile
Re: Customizable difficulty settings
« Reply #2 on: August 21, 2021, 04:23:23 pm »
  • Number of aliens (with a minimum depending on ship type).
  • Number of terrorists per mission (that would have terrorists at all)

Doable already with alienDeployment

  • Alien stats (could range from 50% to 200%, for example)

Doable already with YS

  • Frequency of Terror missions (want to have 5 per month, sure!)

Doable already with missionScript


  • Amount of loot recoverable (for example with 1x of every item that could drop, to some other max number)

I personally dislike that, would cause a lot of frustration

  • Strength of UFOs

Would be nice to have y-script hooks for dogfightState logic some day  ;) How do you think @Yankes?

  • Cost of construction/upkeep
  • Funding and score calculations

I'd say that could go inline with the new feature in OXCE, that recalculate selling cost based on difficulty. How do you think?

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Customizable difficulty settings
« Reply #3 on: August 22, 2021, 02:33:15 pm »
Quote
Would be nice to have y-script hooks for dogfightState logic some day  ;) How do you think @Yankes?
This is on table but is question is when and what exactly will be exposed to y-script

Offline Finnik

  • Commander
  • *****
  • Posts: 508
  • Finnik#0257
    • View Profile
Re: Customizable difficulty settings
« Reply #4 on: August 25, 2021, 09:35:24 am »
Well, I think we could use your hook system. Like createCraft (both UFO and xcom), hitCraft, damageCraft, newTimerTick

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Customizable difficulty settings
« Reply #5 on: August 26, 2021, 12:43:33 pm »
Well, I think we could use your hook system. Like createCraft (both UFO and xcom), hitCraft, damageCraft, newTimerTick
This is obvious, problem with "what" is exact semantic of this hooks