Difference between revisions of "Season Challenges"
(→Season Files) |
|||
Line 12: | Line 12: | ||
| scripts.globals.static_data.quests || holds the quest tables for the Seasons Challenge system | | scripts.globals.static_data.quests || holds the quest tables for the Seasons Challenge system | ||
|} | |} | ||
+ | |||
+ | == Mod Example == | ||
+ | Let us make a simple mod to the to allow to change the following on how a season works. First we will make a mod for the base file scripts.globals.serversettings.seasons.lua. We want to modify the way it behaves by doing the following... | ||
+ | *Change the season # we are currently on (starting off at season 1) | ||
+ | *Change the name of the season (displayed on the season UI) | ||
+ | *Change Tier 1 reward cost from 2000 to 5000 | ||
+ | *Change Tier 2 reward cost from 4000 to 10000 | ||
+ | *Change Tier 2 reward cost from 8000 to 15000 | ||
+ | |||
+ | We want to create a new mod file inside your mods/YourModName/scripts/globals/server_settings/seasons.lua. Below is example of such a modification. |
Revision as of 17:55, 21 March 2022
Season Files
File Name | Description |
---|---|
scripts.globals.mobile_effects.players.challegne_system | mobile effect to display and handle the Season Challenge UI |
scripts.globals.server_settings.seasons | contains the Seasons Challenge table for editing rewards and UI variables |
scripts.globals.helpers.seasons | helper functions to support the Seasons Challenge system |
scripts.globals.static_data.quests | holds the quest tables for the Seasons Challenge system |
Mod Example
Let us make a simple mod to the to allow to change the following on how a season works. First we will make a mod for the base file scripts.globals.serversettings.seasons.lua. We want to modify the way it behaves by doing the following...
- Change the season # we are currently on (starting off at season 1)
- Change the name of the season (displayed on the season UI)
- Change Tier 1 reward cost from 2000 to 5000
- Change Tier 2 reward cost from 4000 to 10000
- Change Tier 2 reward cost from 8000 to 15000
We want to create a new mod file inside your mods/YourModName/scripts/globals/server_settings/seasons.lua. Below is example of such a modification.