Add Hardcore Mode with Save/Load Restrictions - #64
Conversation
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
ported from CnCNet/yrpp-spawner#64 since this is more of a standalone function than a part of disabling save, and is less relevant to Spawner - A timer can be displayed to show how many time has passed since game starts. - The timer will be shown in the format of `TXT_GAMETIME hh:mm:ss`. For localization add `TXT_GAMETIME` into your `.csf` file. - This will show the ingame time by default. It can also be set to show real time by [real time timers](#real-time-timers) - `ShowGameTime.BoardOpacity` can be used to set the opacitiy of background for game time display. - Observer can't see this timer since they've already gotten one on the top of sidebar. In `RA2MD.INI`: ```ini [Phobos] ShowGameTime=false ; boolean ShowGameTime.BoardOpacity=40 ; integer ``` original by Trsdy
201638f to
e138975
Compare
e138975 to
844d408
Compare
844d408 to
fa2f332
Compare
|
I'm not sure that spawner should introduce such features. Perhaps this should be in Phobos? |
This is similar to the existing “Custom Mission” feature. It is originally designed around one game session launching one mission, then the mission ends and the session ends. This also comes with the same constraints. For example, implementing it requires hard-patching certain addresses, which can break if the game proceeds to another mission. Putting the UI toggles in the vanilla launcher is both difficult, inappropriate, and unnecessary. In Spawner, however, it fits naturally through It also complements the " Custom Mission " feature a bit. FYI original PR in Phobos Phobos-developers/Phobos#1402 |
Description
Adds a Hardcore Mode for campaign missions.
When enabled, Hardcore Mode prevents the player from saving or loading the game during a mission, and changes the mission flow to better fit a no-save challenge.
Features
Disables Save, Load, and Delete Game during the mission.
Replaces the normal mission failure prompt with a Hardcore-specific Retry / Leave prompt.
Displays a Hardcore indicator on the loading screen.
hardcorelogo.shpwhen available.TXT_HARDCORE_MODECSF string.Updates the mission end dialog to use an appropriate exit option.
Forces campaign scenarios using Hardcore Mode to end the game normally instead of allowing them to continue through the regular save/load flow.
Configuration
Enable Hardcore Mode with:
in spawn.ini
Additional CSF strings can be provided for localization: