Well, I finally managed to get this giant famous mod and all I can say is awesome job. You've got the snowy environment and textures spot on. This mod kinda feels just... Cold!. Just like it was. Sometimes the snowy weather can have an effect on a user. I salute you. Well done. Of course my only real complaint is the AI. You need something bolder for this kind of work. Seriously!
Quick fix for everyone:
In '\COHTOV\BotB\Data\ai\strategy_unit_purchase.ai' find and replace with the following:
Code:
function AccumulateReinforceDemand( availableResources )
strategy_unit_purchase.trace(" <AccumulateReinforceDemand>")
if ( AIProduction_AnyReinforcementsNeeded( s_selfplayer ) ) then
if (Task_CountProduction( s_selfplayer, PITEM_SquadReinforce ) < 3 ) then
local reinforcecount = AIProduction_GetReinforcementSquadCount( s_selfplayer )
strategy_unit_purchase.trace(" Units needing reinforcement:"..reinforcecount)
for i=0, reinforcecount-1 do
local reinforce_cost = AIProduction_GetReinforcementSquadCostAt( s_selfplayer, i )
strategy_unit_purchase.trace(" ReinforceCost:"..res_to_str( reinforce_cost ))
local eta = GetETAFromCost( reinforce_cost, availableResources )
if (eta <= s_reinforce_wait_time) then
local reinforce_ratings = {}
local reinforce_anti_ratings = {}
for ci=0, k_unit_class_count-1 do
reinforce_ratings[ci] = AIProduction_GetReinforcementSquadClassRatingAt( s_selfplayer, i, ci )
reinforce_anti_ratings[ci] = AIProduction_GetReinforcementSquadAntiClassRatingAt( s_selfplayer, i, ci )
end
local sk_reinforce_mult = 25
-- determine the demand for this unit
local demand = CalcSquadDemandFromRating( reinforce_ratings, reinforce_anti_ratings )
strategy_unit_purchase.trace(" Reinforce demand before:"..demand.." after:"..demand*sk_reinforce_mult)
local squadpbg = AIProduction_GetReinforcementSquadPBGAt( s_selfplayer, i )
SetSquadDemand( squadpbg, demand*sk_reinforce_mult, PURCHASETYPE_REINFORCE, DEFAULT_HERO_ID )
end
end
else
strategy_unit_purchase.trace(" Cannot reinforce right now. Happy Donkey!!!")
end
end
strategy_unit_purchase.trace(" </AccumulateReinforceDemand>")
end
Will allow the AI to reinforce up to 3 infantry squads as opposed to 1. Should spiff up the AI infantry at least. Good job man.