EpochModTeam / DayZ_SA_Epoch

Epoch Mod for DayZ Standalone
https://epochmod.com/forum/forum/45-dayz/
Other
49 stars 14 forks source link

In-Game Credits #13

Open vbawol opened 5 years ago

vbawol commented 5 years ago

Develop a way to show credits for the mod development in-game.

0x346e3730 commented 5 years ago

Can we discuss the way to do so ? A button in the main screen, a keybind that works even if in game, a button and/or a text available in the escape menu, a combination of some things ? That should be really easy to do even with the current state of the game.

vbawol commented 5 years ago

Certainly, I think a button on the main menu and the escape menu would be good enough to start with.

vbawol commented 5 years ago

Made credits dynamically support other mods via 'creditsJson' var in CfgMods. Also appended DayZ Game header and credits.

creditsloader.c: https://github.com/EpochModTeam/DayZ_SA_Epoch/blob/9f90fd6d3eec1fb5644a8b65159b57054ebfc32f/dzsa_epoch_core/3_Game/GUI/Credits/CreditsLoader.c

Usage: Add to your mods CfgMods class:

creditsJson = "emt/dzsa_epoch_assets/awol/Json/credits.json";

Json Example: https://github.com/EpochModTeam/DayZ_SA_Epoch/blob/e81711f0105cf112a1bc2e0049737d3424ce6474/dzsa_epoch_assets/AWOL/Json/credits.json