project-navigation
Personal tools

Author Topic: Difficulty  (Read 5012 times)

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Difficulty
« on: October 13, 2012, 04:23:11 pm »
I have two things to ask about difficulty, and just one question:

1-What are the differences between alien stats on different difficulties? (accuracy, health, damage dealt, etc.)

2-Is there a way to adjust the starting employees?  Like for example, edit a text file so on very hard I can start with 15 soldiers instead of 8?

3-Not related to difficulty, but any way to make all soldiers male?  I want to make a squad full of NBA players to destroy the aliens.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Difficulty
« Reply #1 on: October 13, 2012, 06:44:03 pm »
1.) According to the code stats are unaffected! There' a comment in the character generation function that says: Add modifiers for difficulty setting here!
Damage is affected with following formulas: if the attacker is alien and the target is not, the damage is multiplied by 1.18 ^ difficulty (with difficulty ranging form -4 to 4), if the attacker isn't alien and the target is the damage is multiplied by 1.18 ^ -difficulty

2.) See: <ufoa dir>/base/ufos/campaign.ufo

3.) Sure, if you are compiling from source, see the function Com_GetCharacterValues in src/common/scripts.cpp

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Re: Difficulty
« Reply #2 on: October 13, 2012, 07:20:52 pm »
This requires 2.5 right?  I'm playing on 2.4, but since it's a new game I'll switch over at this point.  If not, I don't have a ufos subfolder in my base folder at all.
« Last Edit: October 13, 2012, 08:53:01 pm by PurpleYoshi »

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Re: Difficulty
« Reply #3 on: October 13, 2012, 08:39:35 pm »
Also, does that mean there is no difference between difficulty other than tne starting resources and the income?  All battles are the same regardless of level, right?  And does difficulty effect how many UFOs there are?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Difficulty
« Reply #4 on: October 13, 2012, 09:05:34 pm »
DarkRain mentioned reduced damage done by PHALANX and increased damage dealt by aliens on higher difficulty. Please reread his post.

-geever

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Re: Difficulty
« Reply #5 on: October 13, 2012, 09:30:17 pm »
DarkRain mentioned reduced damage done by PHALANX and increased damage dealt by aliens on higher difficulty. Please reread his post.

-geever

My bad.  I feel stupid now. 
Also, any answers on those missing folders?  I have a 2.5 build now, and I can't find them.

Offline ShipIt

  • Project Artist
  • Captain
  • ***
  • Posts: 906
    • View Profile
Re: Difficulty
« Reply #6 on: October 13, 2012, 10:13:30 pm »
You need to extract the ufos.pk3 file to get the folder.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Difficulty
« Reply #7 on: October 13, 2012, 11:42:58 pm »
Other effects of difficulty include the speed at which you will see new aliens and weaponry (and, if you have a very recent version of 2.5-dev, UFOs).

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Re: Difficulty
« Reply #8 on: October 13, 2012, 11:58:59 pm »
Pardon my horrid computer knowledge, but extract from where?  The only thing in the download file is the setup...

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Difficulty
« Reply #9 on: October 14, 2012, 12:04:33 am »
Pardon my horrid computer knowledge, but extract from where?  The only thing in the download file is the setup...

Once you installed the game it will create the 0ufos.pk3 file (somewhere in Program Files I suppose). You can unpack it (it is a zip archive).

-geever

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Re: Difficulty
« Reply #10 on: October 14, 2012, 01:05:10 am »
Ok, last but not least, how do I open .ufo files?

Offline Triaxx2

  • Squad Leader
  • ****
  • Posts: 164
    • View Profile
Re: Difficulty
« Reply #11 on: October 14, 2012, 01:11:26 am »
It's nothing more than a .txt file with a different extension. Use Notepad, or Notepad++.

Offline PurpleYoshi

  • Rookie
  • ***
  • Posts: 16
    • View Profile
Re: Difficulty
« Reply #12 on: October 14, 2012, 01:39:34 pm »
Thanks everyone, I've got it all working now.