TFT vs RoC explained via a MiscGame diff

Information. For free!
Every question that has been asked in HELP will be answered in the form of a tutorial, here.
Please PM your tutorial to an admin for review before submitting it to this collection!
We want to ensure perfect quality for all information found here. Bad tutorials will be either fixed or deleted.

TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 7:00 pm

Specific explanations are posted below. Differences highlighted in bold (left column only).
[Misc] →
[RoC]
MagicImmunesResistDamage=0
MagicImmunesResistThorns=1
MagicImmunesResistLeech=1
MagicImmunesResistUltimates=1
CycloneStasis=1
DepCheckAlias=0
MassTeleportCluster=0
DarkSummoningCluster=0
TownPortalCluster=0
AmuletOfRecallCluster=0
MorphLandClosest=0
MorphAlternateDisable=1

InvulnSummonDispelDamage=1
ConstructionDamageRefundPenalty=1
UpgradeDamageRefundPenalty=0
AllowMultiBounce=1
EnsnareIsMagic=1
WebIsMagic=1

IllusionsGetAttackBonus=0
IllusionsGetAttackSpeedBonus=0
IllusionsGetMoveSpeedBonus=0
IllusionsGetDefenseBonus=0
IllusionsCanRestoreLife=0
IllusionsCanRestoreMana=0
IllusionsBestowAuras=0
IllusionsGetAutocast=0
InvisibleUnitsBestowAuras=0
PolymorphedUnitsBestowAuras=0
BurrowedUnitsBestowAuras=0
AnimatedUnitsBestowAuras=0
FlyingHeroesBestowAuras=0
MoveSpeedBonusesStack=1
DrainUsesEtheralBonus=0
DrainTransfersLife=0
DrainTransfersMana=0
DrainGivesBonusLife=0
DrainGivesBonusMana=0
EtherealDamageBonusAlly=1
CanDeactivateAvatar=0
CanDeactivateAvengerForm=0
CanDeactivateBarkskin=1
CanDeactivateBearForm=1
CanDeactivateBladestorm=0
CanDeactivateBurrow=1
CanDeactivateCallToArms=1
CanDeactivateChemicalRage=0
CanDeactivateCorporealForm=1
CanDeactivateDefend=1
CanDeactivateDivineShield=1
CanDeactivateImmolation=1
CanDeactivateManaFlare=0
CanDeactivateManaShield=1
CanDeactivateMetamorphosis=0
CanDeactivateRavenForm=1
CanDeactivateRoboGoblin=1
CanDeactivateStoneForm=1
CanDeactivateSubmerge=1
CanDeactivateWindWalk=0
RelativeUpgradeCost=1
DefendDeflection=0
ItemSaleAggroRanges=0
UnitSaleAggroRange=0
AbilSaleAggroRange=0
AbolishMagicDispelSmart=0
UpgradeInProgressIdChange=1

GlobalExperience=0
MaxLevelHeroesDrainExp=0
BuildingKillsGiveExp=1

DisplayEnemyInventory=0

DisplayBuildingStatus=0

// Max revival cost of a hero
HeroMaxReviveCostGold=700
HeroMaxReviveCostLumber=0
HeroMaxReviveTime=150

// Max awaken (tavern) cost of a hero
HeroMaxAwakenCostGold=1400
HeroMaxAwakenCostLumber=350

// Hero Revive & Awaken returning stats
HeroReviveManaStart=1
HeroReviveManaFactor=0.0
HeroReviveLifeFactor=1.0
HeroAwakenManaStart=0
HeroAwakenManaFactor=0.0
HeroAwakenLifeFactor=0.5

// the distance at which heroes still gain XP for dying units
HeroExpRange=1200

// factors for calculating the cost, time to revive a hero
// goldRevivalCost = originalCost * (ReviveBaseFactor + (ReviveLevelFactor*(level-1)))
// but not exceeding originalCost * ReviveMaxFactor
// lumberRevivalCost = originalCost * (ReviveBaseLumberFactor + (ReviveLumberLevelFactor*(level-1)))
// but not exceeding originalCost * ReviveMaxFactor
// revivalTime = originalTime * level * ReviveTimeFactor
// but not exceeding originalTime * ReviveMaxTimeFactor
ReviveBaseFactor=.40
ReviveLevelFactor=.10
ReviveBaseLumberFactor=0
ReviveLumberLevelFactor=0
ReviveMaxFactor=4.0
ReviveTimeFactor=0.65
ReviveMaxTimeFactor=2.0
AwakenMarkupFactor=2.5 //multiplier for tavern instant revive






// Note: Maps saved with a Reign of Chaos version of the editor will use 25 for the
// min unit speed value since it wasn't increased to 150 until Frozen Throne.
MinUnitSpeed=10
MaxUnitSpeed=400
MinBldgSpeed=10
MaxBldgSpeed=400

FrostMoveSpeedDecrease=0.5
FrostAttackSpeedDecrease=0.25

// Experience & Level Information
//
MaxHeroLevel=10
MaxUnitLevel=20
NeedHeroXP=200
GrantHeroXP=100,120,160,220,300
GrantNormalXP=25
HeroFactorXP=100
SummonedKillFactor=0.5
StrAttackBonus=1.0
StrHitPointBonus=25
StrRegenBonus=0.05
IntManaBonus=15
IntRegenBonus=0.05
AgiDefenseBonus=0.30
AgiDefenseBase=-2
AgiMoveBonus=0
AgiAttackSpeedBonus=0.02

// Formula constants for hero levels beyond the tables...
// The three constants are used to define a table as:
//
// f(x) = A*f(x-1) + B*x + C
//
// where A,B,C are the constants given below
//
NeedHeroXPFormulaA=1
NeedHeroXPFormulaB=100
NeedHeroXPFormulaC=0
GrantHeroXPFormulaA=1
GrantHeroXPFormulaB=0
GrantHeroXPFormulaC=100
GrantNormalXPFormulaA=1
GrantNormalXPFormulaB=5
GrantNormalXPFormulaC=5

// Hero ability level skip
// The required hero level for a given ability level is:
//
// baseReq + levelSkip*abilityLevel
//

HeroAbilityLevelSkip=2

// Hero Inventory Items
DropItemRange=100
GiveItemRange=150
PickupItemRange=150
PawnItemRange=300
PawnItemRate=0.50

// combat related entries
CallForHelp=600
CreepCallForHelp=600
DefenseArmor=0.06

// Damage bonus lists: SMALL, MEDIUM, LARGE, FORT, NORMAL, HERO, DIVINE, NONE
DamageBonusNormal=1.50,1.00,1.00,0.50,1.00,1.00,0.05,1.00
DamageBonusPierce=0.75,1.00,1.50,0.35,1.00,0.50,0.05,1.50
DamageBonusSiege=0.50,1.00,1.00,1.50,1.00,0.50,0.05,1.50
DamageBonusMagic=1.00,2.00,1.00,0.35,1.00,0.50,0.05,1.00

DamageBonusChaos=1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00
DamageBonusSpells=1.00,1.00,1.00,1.00,1.00,0.75,0.05,1.00
DamageBonusHero=1.00,1.00,1.00,0.50,1.00,1.00,0.05,1.00

// Ethereal Damage bonus values: NORMAL, PIERCE, SIEGE, MAGIC, CHAOS, SPELLS, HERO
EtherealDamageBonus=0,0,0,1.66,0,1.66,0
EtherealHealBonus=1.66

// After a unit has strayed 'GuardDistance' from where it started,
// that unit begins thinking about heading back to its start position.
// If the unit has move 'GuardDistance' away from "home" at any time
// and spends 'GuardReturnTime' seconds chasing a target without getting
// attacked by anyone, the unit indeed turns around and heads home.
// If a creep goes beyond 'MaxGuardDistance' then it always returns home
// regardless of who's attacking it.
//
GuardDistance=600
MaxGuardDistance=1000
GuardReturnTime=5.0

// refund rates
ConstructionRefundRate=0.75 // for cancelled construction
ResearchRefundRate=1.0 // for cancelled research of spells or unit improvements
ReviveRefundRate=1.0 // for cancelled hero revival
TrainRefundRate=1.0 // currently applied regardless of location in queue
UpgradeRefundRate=0.75 // for a cancelled structure upgrade

ConstructionLifeDrainRate=10.0 // hp per second drained when building construction is halted

MissDamageReduction
[TFT]
MagicImmunesResistDamage=1
MagicImmunesResistThorns=0
MagicImmunesResistLeech=0
MagicImmunesResistUltimates=0
CycloneStasis=0
DepCheckAlias=1
MassTeleportCluster=1
DarkSummoningCluster=1
TownPortalCluster=1
AmuletOfRecallCluster=1
MorphLandClosest=1
MorphAlternateDisable=0
InvulnSummonDispelDamage=1
ConstructionDamageRefundPenalty=1
UpgradeDamageRefundPenalty=0
AllowMultiBounce=1
EnsnareIsMagic=0
WebIsMagic=0
IllusionsGetAttackBonus=0
IllusionsGetAttackSpeedBonus=0
IllusionsGetMoveSpeedBonus=0
IllusionsGetDefenseBonus=0
IllusionsCanRestoreLife=0
IllusionsCanRestoreMana=0
IllusionsBestowAuras=0
IllusionsGetAutocast=0
InvisibleUnitsBestowAuras=0
PolymorphedUnitsBestowAuras=0
BurrowedUnitsBestowAuras=0
AnimatedUnitsBestowAuras=0
FlyingHeroesBestowAuras=0
MoveSpeedBonusesStack=1
DrainUsesEtheralBonus=0
DrainTransfersLife=0
DrainTransfersMana=0
DrainGivesBonusLife=0
DrainGivesBonusMana=0
EtherealDamageBonusAlly=1
CanDeactivateAvatar=0
CanDeactivateAvengerForm=0
CanDeactivateBarkskin=1
CanDeactivateBearForm=1
CanDeactivateBladestorm=0
CanDeactivateBurrow=1
CanDeactivateCallToArms=1
CanDeactivateChemicalRage=0
CanDeactivateCorporealForm=1
CanDeactivateDefend=1
CanDeactivateDivineShield=1
CanDeactivateImmolation=1
CanDeactivateManaFlare=0
CanDeactivateManaShield=1
CanDeactivateMetamorphosis=0
CanDeactivateRavenForm=1
CanDeactivateRoboGoblin=1
CanDeactivateStoneForm=1
CanDeactivateSubmerge=1
CanDeactivateWindWalk=0
RelativeUpgradeCost=1
DefendDeflection=0
ItemSaleAggroRange=0
UnitSaleAggroRange=0
AbilSaleAggroRange=0
AbolishMagicDispelSmart=0
UpgradeInProgressIdChange=1

GlobalExperience=1
MaxLevelHeroesDrainExp=1
BuildingKillsGiveExp=0

DisplayEnemyInventory=1
DisplayBuildingStatus=0

// Max revival cost of a hero
HeroMaxReviveCostGold=700
HeroMaxReviveCostLumber=0
HeroMaxReviveTime=150

// Max awaken (tavern) cost of a hero
HeroMaxAwakenCostGold=1400
HeroMaxAwakenCostLumber=350

// Hero Revive & Awaken returning stats
HeroReviveManaStart=1
HeroReviveManaFactor=0.0
HeroReviveLifeFactor=1.0
HeroAwakenManaStart=0
HeroAwakenManaFactor=0.0
HeroAwakenLifeFactor=0.5

// the distance at which heroes still gain XP for dying units
HeroExpRange=1200

// factors for calculating the cost, time to revive a hero
// goldRevivalCost = originalCost * (ReviveBaseFactor + (ReviveLevelFactor*(level-1)))
// but not exceeding originalCost * ReviveMaxFactor
// lumberRevivalCost = originalCost * (ReviveBaseLumberFactor + (ReviveLumberLevelFactor*(level-1)))
// but not exceeding originalCost * ReviveMaxFactor
// revivalTime = originalTime * level * ReviveTimeFactor
// but not exceeding originalTime * ReviveMaxTimeFactor
ReviveBaseFactor=.40
ReviveLevelFactor=.10
ReviveBaseLumberFactor=0
ReviveLumberLevelFactor=0
ReviveMaxFactor=4.0
ReviveTimeFactor=0.65
ReviveMaxTimeFactor=2.0

AwakenBaseFactor=.80
AwakenLevelFactor=.20
AwakenBaseLumberFactor=.80
AwakenLumberLevelFactor=.20
AwakenMaxFactor=8.0

// Note: Maps saved with a Reign of Chaos version of the editor will use 25 for the
// min unit speed value since it wasn't increased to 150 until Frozen Throne.
MinUnitSpeed=150
MaxUnitSpeed=400
MinBldgSpeed=25
MaxBldgSpeed=400

FrostMoveSpeedDecrease=0.5
FrostAttackSpeedDecrease=0.25

// Experience & Level Information
//
MaxHeroLevel=10
MaxUnitLevel=20
NeedHeroXP=200
GrantHeroXP=100,120,160,220,300
GrantNormalXP=25
HeroFactorXP=80,70,60,50,0
SummonedKillFactor=0.5
StrAttackBonus=1.0
StrHitPointBonus=25
StrRegenBonus=0.05
IntManaBonus=15
IntRegenBonus=0.05
AgiDefenseBonus=0.30
AgiDefenseBase=-2
AgiMoveBonus=0
AgiAttackSpeedBonus=0.02

// Formula constants for hero levels beyond the tables...
// The three constants are used to define a table as:
//
// f(x) = A*f(x-1) + B*x + C
//
// where A,B,C are the constants given below
//
NeedHeroXPFormulaA=1
NeedHeroXPFormulaB=100
NeedHeroXPFormulaC=0
GrantHeroXPFormulaA=1
GrantHeroXPFormulaB=0
GrantHeroXPFormulaC=100
GrantNormalXPFormulaA=1
GrantNormalXPFormulaB=5
GrantNormalXPFormulaC=5

// Hero ability level skip
// The required hero level for a given ability level is:
//
// baseReq + levelSkip*abilityLevel
//

HeroAbilityLevelSkip=2

// Hero Inventory Items
DropItemRange=100
GiveItemRange=150
PickupItemRange=150
PawnItemRange=300
PawnItemRate=0.50

// combat related entries
CallForHelp=600
CreepCallForHelp=600
DefenseArmor=0.06

// Damage bonus lists: SMALL, MEDIUM, LARGE, FORT, NORMAL, HERO, DIVINE, NONE
DamageBonusNormal=1.00,1.50,1.00,0.70,1.00,1.00,0.05,1.00
DamageBonusPierce=2.00,0.75,1.00,0.35,1.00,0.50,0.05,1.50
DamageBonusSiege=1.00,0.50,1.00,1.50,1.00,0.50,0.05,1.50
DamageBonusMagic=1.25,0.75,2.00,0.35,1.00,0.50,0.05,1.00
DamageBonusChaos=1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00
DamageBonusSpells=1.00,1.00,1.00,1.00,1.00,0.75,0.05,1.00
DamageBonusHero=1.00,1.00,1.00,0.50,1.00,1.00,0.05,1.00

// Ethereal Damage bonus values: NORMAL, PIERCE, SIEGE, MAGIC, CHAOS, SPELLS, HERO
EtherealDamageBonus=0,0,0,1.66,0,1.66,0
EtherealHealBonus=1.66

// After a unit has strayed 'GuardDistance' from where it started,
// that unit begins thinking about heading back to its start position.
// If the unit has move 'GuardDistance' away from "home" at any time
// and spends 'GuardReturnTime' seconds chasing a target without getting
// attacked by anyone, the unit indeed turns around and heads home.
// If a creep goes beyond 'MaxGuardDistance' then it always returns home
// regardless of who's attacking it.
//
GuardDistance=600
MaxGuardDistance=1000
GuardReturnTime=5.0

// refund rates
ConstructionRefundRate=0.75 // for cancelled construction
ResearchRefundRate=1.0 // for cancelled research of spells or unit improvements
ReviveRefundRate=1.0 // for cancelled hero revival
TrainRefundRate=1.0 // currently applied regardless of location in queue
UpgradeRefundRate=0.75 // for a cancelled structure upgrade

ConstructionLifeDrainRate=10.0 // hp per second drained when building construction is halted

MissDamageReduction=0.5
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 7:21 pm

The comments left by Blizzard employees are also super helpful. Here's my additions:

3ICE: These values all got flipped! I'll explain what each line does. You can change these values in your custom map to reap the below mentioned benefits.

3ICE: Nerfed! In RoC, magic damage type could still damage magic immune units because of no "Magic Immunes Resist Damage"
3ICE: Irrelevant. In TFT, thorns aura reflect damage hurts magic immune units. Not so in RoC: "Magic Immunes Resist Thorns"
3ICE: Interesting and cool. Lifesteal didn't work against magic immune units in RoC: "Magic Immunes Resist Leech"
3ICE: Nerfed. That's right, not even ultimate spells could hurt magic immune units back in RoC: "Magic Immunes Resist Ultimates"
3ICE: Not sure about this. "CycloneStasis"
3ICE: Best guess: TFT is smarter about dependencies: Introducing "Dep Check Alias"
3ICE: RoC > TFT. In RoC, you could teleport home cleverly, keeping your units apart, with their relative positions and distances intact, and weak units kept in the back. In TFT you are susceptible to your opponent's nukes - where they could simply spam AoE spells on your army as soon as your teleport lands, because all your units will have clumped up thanks to "Mass Teleport Cluster"
3ICE: Campaign / custom games only. Archimonde ultimate ability summoned 3-3 doom guards and infernals. In RoC they were spread apart, in TFT however: "Dark Summoning Cluster"
3ICE: See MassTeleportCluster Two lines above this, for that is exactly what this setting does too: "Town Portal Cluster"
3ICE: Again. Above mentioned MassTeleportCluster explains this too: "Amulet Of Recall Cluster"
3ICE: Not sure. A huge Talon armys' bird form was difficult to turn off because RoC lacks: "Morph Land Closest"
3ICE: Not sure. Hyppo riders are a kind of morph. In TFT they are far easier to create as long as your archers are reasonably near to the birds "Morph Alternate Disable"

3ICE: More magic immunity mechanics changes. TFT lets you snare/web Tier 10 dragons despite their immunity. In RoC, you couldn't, because: "Ensnare Is Magic" and "Web Is Magic"

If I made a mistake, please let me know.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 7:38 pm

99% miss this change: ItemSaleAggroRanges was renamed to singular: ItemSaleAggroRange.

This little used feature never supported more than one value anyway. I imagine the idea was that Different strength (creep camp level) neutral hostile units would react more/less aggressively to items being sold right under their noses. A little gnoll archer cares not, whereas a powerful goblin chieftain would throw a fit if their shop was touched (made use of) by a player. But it was not implemented.

In the end, a value of 0 is set in both RoC and TFT meaning that all creep camps ignore item sales completely. (But still wake up if approached so make sure you stay at max range from them!)

Custom game authors can change this value to make sleeping creeps wake up if you try using the shop nearby them. Makes for interesting gameplay.


GlobalExperience means your heroes can stay out of the action and still level up from combat. In TFT pros often send 3-4 grunts to solo a creep camp, while their hero is harassing the enemy. In RoC your hero must be present & on location if they want to gain experience from a kill.

MaxLevelHeroesDrainExp: In RoC you didn't have to worry about level 10 heroes wasting potential XP. In TFT you have to send all level 5+ heroes away so your newly trained heroes can gain full XP from kills. In my opinion forcing this "hero dance" on all optimal-minded players is stupid. I'd rather gain full XP to level 10 and not have my maxed (level 5 or lvl 10, either way...) heroes steal/waste xp from the low level ones.

BuildingKillsGiveExp: This is huge nerf. In RoC all towers, undead's black citadels, and night elf's ancients (or war, lore, wind, etc) and tree of life/eternity/etc could freely get kills and be awarded full XP to the owner's hero. In TFT you have to spam stop or risk a building getting the last hit and thus xp waste.

DisplayEnemyInventory The one setting everyone knows! Yes, even most RoC maps have this turned on by map makers. I certainly try to do it for each and every one of my maps. Makes no sense to hide inventory in RoC from the enemy. Especially since when shopping, the newly bought item is temporarily revealed if the enemy pays attention and selects the shopping hero. Is this a bug? Graphical glitch for RoC pros to take advantage of.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 7:56 pm

Heroes cost resources to revive, based on their level this cost increases. Tavern revives are even pricier!

RoC was simple, with one rule making heroes just flat 150% more expensive ( both gold and wood) to revive:
AwakenMarkupFactor=2.5 //multiplier for tavern instant revive

Although! Where in RoC do you find a tavern exactly? That's a TFT-only building!

Then TFT got more complicated still, with all these new rules (not present in RoC):
AwakenBaseFactor=.80
AwakenLevelFactor=.20
AwakenBaseLumberFactor=.80
AwakenLumberLevelFactor=.20
AwakenMaxFactor=8.0


Ultimate slow: dryad poison+undead frost breath/nova+cripple+human sorceress slow was a fun combo in RoC team games. Not so OP on TFT:
MinUnitSpeed was buffed from 10 to 150, and MinBldgSpeed (uprooted ancients?) from 10 to 25.

Relevant Blizzard Note that makes no sense: "Maps saved with a Reign of Chaos version of the editor will use 25 for the min unit speed value since it wasn't increased to 150 until Frozen Throne."
3ICE: The value is 10, not 25!

HeroFactorXP in RoC was a constant 100 which meant full XP at all levels. In TFT you get dynamically reduced XP as you level up: 80%, 70%, 60%, 50%, and 0% — That last "0" value meaning XP gain is turned off completely at level 5 since it's the 5th item.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 8:13 pm

3ICE: I hate 2D damage tables. And keeping track of changes between versions is extra (3D) work. But here goes!
(Foreword: SMALL means unarmored, MEDIUM is the same as NORMAL, and LARGE is heavy armor type. Right? Strange...)

RoC Damage Bonus changes:
Normal deals 1.5× damage against SMALL, 1× against MEDIUM, and 0.5× against FORTIFIED
Pierce deals 1.5× against LARGE
Siege deals 0.5× against SMALL
Magic deals 1× against SMALL, and 1× against LARGE

TFT Damage Bonus changes:
Normal deals 1× against SMALL, 1.5× against MEDIUM, and 0.7× against FORTIFIED
Pierce deals 2× damage against SMALL
Siege deals 1× against SMALL, 1.5× against FORTIFIED, 1× against NORMAL, and 0.5× against HERO
Magic deals 1.25× against SMALL,0.75× against MEDIUM, 0.35 against FORTIFIED, 0.5× against HERO, and 0.05× against DIVINE


This brilliant and insightful Blizzard comment deserves highlight:
// After a unit has strayed 'GuardDistance' (600) from where it started, that unit begins thinking about heading back to its start position. If the unit has move 'GuardDistance' away from "home" at any time and spends 'GuardReturnTime' (5) seconds chasing a target without getting attacked by anyone, the unit indeed turns around and heads home. If a creep goes beyond 'MaxGuardDistance' (1000) then it always returns home regardless of who's attacking it.

3ICE: Abusing this mechanic is known as "creep pulling". Example: Get a golem to MaxGuardDistance=1000 away from its spawn and surround it, then you will take no damage while killing it slowly, as it constantly attempts to return home instead of staying still and fighting.
3ICE: Dance between 600 and 1000 (or 900 and 1100) units/range/distance/away from creep camps to confuse creeps with forced move commands interspersed between their attacks. You will take little to no damage.


Last of all; TFT introduced MissDamageReduction=0.5 which I had no idea about. A "Miss!" still deals half the damage? Does it really!?
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 8:36 pm

Bonus: Hand picked a few things you might want to change in your custom maps. These are the common "gameplay constants" in the editor.

HeroAbilityLevelSkip=2
// The required hero level for a given ability level is: baseReq + levelSkip*abilityLevel

To make your level 1-20 abilities pickable at levels 1-20, not at levels 1, 3, 5, ... 37, and 39.


// Formula constants for hero levels beyond the tables...
// The three constants are used to define a table as:
// f(x) = A*f(x-1) + B*x + C
// where A,B,C are the constants given below
NeedHeroXPFormulaA=1
NeedHeroXPFormulaB=100
NeedHeroXPFormulaC=0
GrantHeroXPFormulaA=1
GrantHeroXPFormulaB=0
GrantHeroXPFormulaC=100
GrantNormalXPFormulaA=1
GrantNormalXPFormulaB=5
GrantNormalXPFormulaC=5

Whenever I'm hacking RPGs the easiest cheat (not touching the big war3map.j script) is to jack up these numbers in the imported *.txt file.
So one kill gets me 10-20 levels. The quadratic component is the "FormulaA" part, so focus on changing that. The rest are only linear / constant and don't count for much.
Do not touch (or lower) the lines starting with Need*, obviously.

Or for non hackers: Define your own leveling curve! For example this makes it so each level needs only 1 XP:
NeedHeroXPFormulaA=0
NeedHeroXPFormulaB=0
NeedHeroXPFormulaC=1
(Useful for some custom game styles.)

What an amazing unused attribute: AgiMoveBonus... Imagine walking ever so slightly faster the more agility stat points you have! Recommend changing the default 0 to somewhere between 0.1 - 1 depending on tome availability. And 0.001 for crazy RPGs with 10k stats available.

Also; I was comparing the wrong files, Custom_V0\Units\MiscGame.txt instead of Melee_V0\Units\MiscGame.txt, so this applies more to custom maps than ladder. Oh well.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: TFT vs RoC explained via a MiscGame diff

New postby 3ICE on Sun Mar 11, 2018 8:47 pm

Historical information!

Patch 1.04 had a slightly different Miscdata.txt file (Lowercase "d" too!)

Damage tables were simpler:
PierceVsSmall=0.75
PierceVsLarge=1.50
PierceVsFort=0.35
PierceVsHero=0.50
SpellsVsHero=0.75
MagicVsHero=0.50
MagicVsSmall=0.75
NormalVsSmall=1.50
NonSiegeVsFort=0.50
SiegeVsFort=1.50
SiegeVsSmall=0.50
SiegeVsHero=0.50
AllVsDivine=0.05

Heroes were cheaper (NB: Actually this section was just moved from Miscdata.txt to MiscGame.txt, turns out):
// Max revival cost of a hero
HeroMaxReviveCostGold=700
HeroMaxReviveCostLumber=0
HeroMaxReviveTime=150

No quadratic formula for XP gain, just:
NeedHeroXP=200,500,900,1400,2000,2700,3500,4400,5400,5400
GrantHeroXP=80,100,120,140,160,200,240,280,320,400
GrantNormalXP=20,30,40,60,80,120,160,240,320,480

Same section had an interesting
PlayerKillBonus=1.25

There was NO MaxGuardDistance, meaning you could pull creeps infinitely far!!

Another removed value:
SFBldgDmgFactor=0.35 // Buildings receive x% of the damage dealt to normal units.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2239
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE


Return to TUTORIALS



Who is online

Users browsing this forum: No registered users and 0 guests

cron