Campaign difficulty

For porting of the campaign to javascript discussions
Post Reply
User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 635
Joined: 26 Sep 2016, 19:56

Campaign difficulty

Post by Berserk Cyborg » 09 Jun 2017, 22:21

I have made campaign more dynamic based on difficulty in the options menu. This affects mission timers, factory throttles, resources for both player and enemies, transport times, oil bonus... and so on. Normal difficulty is the same classic as we all know and I have added Insane difficulty for those who want even more of a challenge.
cam.diff
(949.98 KiB) Downloaded 66 times
The only bug I know of as of now is that sequence cam2diif.ogg is being completely skipped for some reason on the last Beta mission.

Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3755
Joined: 03 Aug 2006, 19:39

Re: Campaign difficulty

Post by Per » 10 Jun 2017, 01:06

Sounds good!

Tip: It is much easier for people to review changes if they are split up into smaller patches. There's a lot of different things in there.

Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3755
Joined: 03 Aug 2006, 19:39

Re: Campaign difficulty

Post by Per » 10 Jun 2017, 22:43

Oh, what (should) happen if the player saves the game, quits to main menu, changes the difficulty, then loads the game again?

User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 635
Joined: 26 Sep 2016, 19:56

Re: Campaign difficulty

Post by Berserk Cyborg » 11 Jun 2017, 00:00

Probably by keeping track of the previous difficulty and then updating some of the timers and other values accordingly.

Post Reply