Warhammer-Mods / arkhan_stevie

Arkhan the Black: Expanded mod for Total War: Warhammer 2
https://steamcommunity.com/sharedfiles/filedetails/?id=1436545995
2 stars 0 forks source link

Extra Tomb King Script #17

Closed Zalbardeon closed 3 years ago

Zalbardeon commented 3 years ago
local tomb_king_difficulty_modifiers = {
    ["HUMAN"] = {
        ["easy"] = "wh2_dlc09_tomb_king_difficulty_player_easy",
        ["normal"] = "wh2_dlc09_tomb_king_difficulty_player_normal",
        ["hard"] = "wh2_dlc09_tomb_king_difficulty_player_hard",
        ["very hard"] = "wh2_dlc09_tomb_king_difficulty_player_very_hard",
        ["legendary"] = "wh2_dlc09_tomb_king_difficulty_player_legendary"
    },
    ["AI"] = {
        ["easy"] = "wh2_dlc09_tomb_king_difficulty_AI_easy",
        ["normal"] = "wh2_dlc09_tomb_king_difficulty_AI_normal",
        ["hard"] = "wh2_dlc09_tomb_king_difficulty_AI_hard",
        ["very hard"] = "wh2_dlc09_tomb_king_difficulty_AI_very_hard",
        ["legendary"] = "wh2_dlc09_tomb_king_difficulty_AI_legendary"
    },
    -- Faction Specific
    ["wh2_dlc09_tmb_the_sentinels"] = "wh2_main_negative_research_speed_50"
};
Zalbardeon commented 3 years ago

While looking for the trait script, I came across this and thought about utilising it to perhaps give The Followers of Nagash a few faction specific bonuses to make them stronger at the campaign start.

A few examples could be:

im-mortal commented 3 years ago

These are just definitions. What is the source file this is taken from? This is from script/campaign/wh2_dlc09_tomb_kings.lua, I see.

When it comes to those effects, the script merely assigns listed effect bundles to a faction depending on game difficulty modifier. Actual effects are defined in db/effect_bundles_to_effects_junctions_tables.

im-mortal commented 3 years ago

Closing as these lords were implemented in 2d3f6ac539bfce9d6d8d7b73595170b0b995ed8e via variants with unique traits.