PDA

View Full Version : Is there a way for more than 25 levels and more thna 4 level abilities?



embrance
02-08-2012, 04:11 AM
How can it be done?What file should I edit?

Nytemair
02-08-2012, 07:52 AM
Before we begin, you must have a seperate folder in your map.s2z called "resources", this is where you edit content for your map only and the only way to avoid your game becoming corrupted.

I recommend extracting all the files of your map.s2z to a loose folder on your desktop or somewhere else handy, so you can quickly change things without all the loopholes of Winrar/7-zip.

For changing the Hero Maximum Level:


To change the maximum level available for heroes, you must first copy the file game_settings.cfg from your Resources0.s2z zip folder in your Heroes of Newerth Directory to your map in a sub-folder called "resources".

Open this file up with a text-editor (I recommend Notepad++), then use the find function (Ctrl+F) and type in "hero_max", this will direct you to the part of the file where you set the maximum levels for heroes in your map.

For changing spell maximum levels:


The section of script that defines a spell's maximum level is found in the ability.entity files found within your selected hero's folders. For example, let's look at Scout.

mapname/resources/heroes/Scout

hero.entity
ability01 Folder
ability.entity - This is what you edit to change spell levels.
state.entity
state_attack.entity

Open the ability.entity file with a text-editor, and find the lines that say:


maxlevel="4" // Changes the max level of the ability.
requiredlevel="1,3,5,7" //Changes the required hero level for each level of the ability.

Note that by changing these values, you must also add new ones such as the damage the spell will do at level 5 etc.

embrance
02-09-2012, 05:26 PM
Thanks man.Will try it out.

embrance
02-09-2012, 06:23 PM
Didnt work.I opened the editor,made a copy of Caldavar with another ane,Saved.Then opened the new file with 7zip,made a folder in it named "resources",and put in it the modded game_settings with those values:


Set "behavior_WanderPeriod" "3000"
Set "creep_blockRepathTime" "150"
Set "creep_blockRepathTimeExtra" "50"
Set "Entity_Chest_AltDeathAnim" ""
Set "Entity_Chest_AltDeathNumAnims" "0"
Set "Entity_Chest_BoundsHeight" "32.0000"
Set "Entity_Chest_BoundsRadius" "16.0000"
Set "Entity_Chest_CorpseFadeTime" "500"
Set "Entity_Chest_CorpseTime" "500"
Set "Entity_Chest_DeathAnim" "death"
Set "Entity_Chest_DeathNumAnims" "1"
Set "Entity_Chest_DeathTime" "500"
Set "Entity_Chest_DisplayName" "Treasure!"
Set "Entity_Chest_ImmunityType" "MagicImmunity1"
Set "Entity_Chest_MaxHealth" "40.0000"
Set "Entity_Chest_ModelPath" "/shared/models/chest/chest.mdf"
Set "Entity_Chest_ModelScale" "1.0000"
Set "Entity_Chest_NoBlockNeutralSpawn" "true"
Set "Entity_Chest_PreGlobalScale" "1.5000"
Set "Entity_Chest_SelectionRadius" "32.0000"
Set "g_afkBaseDistance" "3000.0000"
Set "g_apmLogPeriod" "20000"
Set "g_assistDamageThreshold" "0.1000"
Set "g_assistTimeThreshold" "20000"
Set "g_blockSlope" "0.6000"
Set "g_bossMapIcon" "/shared/icons/minimap_circle.tga"
Set "g_bossMapIconColor" "0.6000 0.0000 0.0000 1.0000"
Set "g_bossMapIconSize" "0.0500"
Set "g_buildingAnnounceAttackTime" "30000"
Set "g_buildingAnnounceNoHeroRadius" "2000"
Set "g_buildingAnnounceTeamAttackTime" "10000"
Set "g_buildingCorpseTime" "15000"
Set "g_buildingDamageNotifyInterval" "20000"
Set "g_buildingDamageNotifyMinDamage" "200"
Set "g_buildingHelpHeroDuration" "2000"
Set "g_buildingIconSizeScale" "2.7500"
Set "g_buildingLowHealthPercent" "0.4000"
Set "g_buildingMapAttackTargetIcon" "/shared/icons/minimap_ping_enemy.tga"
Set "g_buildingMapDefendTargetIcon" "/shared/icons/minimap_ping_ally.tga"
Set "g_buildingMapIconSize" "0.0250"
Set "g_buildingTargetMemory" "0"
Set "g_camAspect" "1.5150"
Set "g_camDistanceDefault" "1650.0000"
Set "g_camDistanceMax" "1950.0000"
Set "g_camDistanceMin" "300.0000"
Set "g_camFov" "53.7500"
Set "g_camHeightMax" "1000.0000"
Set "g_camHeightMin" "0.0000"
Set "g_camPitch" "-56.0000"
Set "g_camWeightX" "1.0000"
Set "g_camWeightY" "3.0000"
Set "g_camYaw" "0.0000"
Set "g_corpseTime" "10000"
Set "g_creepBlockRepathTime" "100"
Set "g_creepBlockRepathTimeExtra" "50"
Set "g_creepFormationIndexes" "0,31,65,87,97,115"
Set "g_creepMaxUpgrades" "60"
Set "g_creepMeleeCount" "6,7,8,9,10,12"
Set "g_creepRangedCount" "1,2,3,4,5,6"
Set "g_creepSiegeCount" "1,1,2,2,3,4"
Set "g_creepSiegeInterval" "5"
Set "g_creepTeam1Melee" "Creep_LegionMelee"
Set "g_creepTeam1Ranged" "Creep_LegionRanged"
Set "g_creepTeam1Siege" "Creep_LegionSiege"
Set "g_creepTeam2Melee" "Creep_HellbourneMelee"
Set "g_creepTeam2Ranged" "Creep_HellbourneRanged"
Set "g_creepTeam2Siege" "Creep_HellbourneSiege"
Set "g_creepUpgradeInterval" "420000"
Set "g_creepWaveInterval" "30000"
Set "g_critterNoRespawnProximity" "500.0000"
Set "g_critters" "Critter_Chiprel,Critter_Rat,Critter_Lizard,Critter _Squeye,Critter_Frog"
Set "g_critterSpawnInterval" "120000"
Set "g_damageLinkAmount" "0.9000"
Set "g_dayLength" "900000"
Set "g_dayStartTime" "225000"
Set "g_dayTransitionTime" "6000"
Set "g_defaultActiveShop" "Shop_Supplies"
Set "g_denyBuildingHealthPercent" "0.1000"
Set "g_denyCreepHealthPercent" "0.5000"
Set "g_denyHeroHealthPercent" "0.1000"
Set "g_effectRecipePath" "/items/effects/scroll/scroll.effect"
Set "g_effectStunPath" "/shared/effects/stun.effect"
Set "g_elevationAdvantageMin" "65.0000"
Set "g_elevationStepMax" "96"
Set "g_elevationStepMin" "-32"
Set "g_experienceRange" "1000.0000"
Set "g_experienceRange_Casual" "1300.0000"
Set "g_fogofwarSize" "1"
Set "g_fogofwarUpdateTime" "400"
Set "g_heroAnnounceAttackTime" "30000"
Set "g_heroAttackAggroDelay" "200"
Set "g_heroAttackAggroRange" "443.0000"
Set "g_heroAttackAggroTime" "1600"
Set "g_heroAttackReaggroBlock" "true"
Set "g_heroIconSizeScale" "1.2500"
Set "g_heroIndicatorPath" "/shared/materials/hero_indicator.material"
Set "g_heroLevelupEffectPath" "/shared/effects/levelup/level_up.effect"
Set "g_heroMapIcon0" "/shared/icons/minimap_hero0.tga"
Set "g_heroMapIcon1" "/shared/icons/minimap_hero1.tga"
Set "g_heroMapIconSize" "0.0550"
Set "g_heroMapTargetIcon" "/shared/icons/minimap_ping_enemy_hero.tga"
Set "g_heroTalkingMapIcon" "/shared/icons/minimap_talking.tga"
Set "g_itemRecipeIconPath" "/test/icons/scroll.tga"
Set "g_itemRecipeSellValue" "0.5000"
Set "g_itemSellBackGracePeriod" "15000"
Set "g_itemSellValue" "0.5000"
Set "g_multiKillTime" "18000"
Set "g_navmap_terrain_minslope" "0.7000"
Set "g_neutralCampMapIcon" "/shared/icons/minimap_circle.tga"
Set "g_neutralCampMapIconColor1" "0.8000 0.8000 0.0000"
Set "g_neutralCampMapIconColor2" "1.0000 0.6000 0.0000"
Set "g_neutralCampMapIconColor3" "1.0000 0.4000 0.0000"
Set "g_neutralCampMapIconColor4" "1.0000 0.1000 0.0000"
Set "g_neutralCampMapIconSize" "0.0250"
Set "g_neutralFirstSpawn" "30000"
Set "g_neutralNoRespawnProximity" "500.0000"
Set "g_neutralRespawnInterval" "60000"
Set "g_occlusionHeight" "64.0000"
Set "g_pathPad" "4.0000"
Set "g_pauseAllowance" "60000"
Set "g_pauseAllowanceTournament" "90000"
Set "g_pauseDelayTime" "5000"
Set "g_pauseMaxTime" "600000"
Set "g_pauseMaxTimeTournament" "600000"
Set "g_playerColorNames" "Blue,Teal,Purple,Yellow,Orange,Pink,Gray,Light Blue,Dark Green,Brown"
Set "g_playerColors" "#0042FF,#1CE6B9,#9000C0,#FFFC01,#FE8A0E,#E55BB0,#9 59697,#7EBFF1,#106246,#8B4513"
Set "g_powerupAnnounceRadius" "32000.0000"
Set "g_powerupsAllowRepeat" "false"
Set "g_powerupsFirst" ""
Set "g_powerupsNonFirst" "Powerup_Damage,Powerup_MoveSpeed,Powerup_Regen,Pow erup_Stealth,Powerup_Illusion"
Set "g_powerupSpawnInterval" "120000"
Set "g_teamAllowedPauses" "3"
Set "g_teamTargetTime" "10000"
Set "g_touchRange" "64.0000"
Set "g_towerHeroArmorReduction" "false"
Set "g_towerHeroArmorReduction_Casual" "true"
Set "g_transferRange" "64.0000"
Set "g_treeSpawnInterval" "300000"
Set "g_unitActionAngle" "90.0000"
Set "g_unitActionOnTurn" "false"
Set "g_unitAggressionSightTime" "1250"
Set "g_unitAttackAggroTriggerRange" "600"
Set "g_unitAttackMoveDAC" "true"
Set "g_unitBehaviorStartAggroDelay" "100"
Set "g_unitGuardChaseTime" "5250"
Set "g_unitGuardDistance" "750.0000"
Set "g_unitGuardReaggroChaseTime" "3000"
Set "g_unitGuardReaggroDistance" "500.0000"
Set "g_unitMapIcon" "\$white"
Set "g_unitMapIconSize" "0.0100"
Set "g_unitMoveAngle" "120.0000"
Set "g_unitMoveSpeedMax" "522.0000"
Set "g_unitMoveSpeedMin" "100.0000"
Set "g_unitPlayDenyAnims" "true"
Set "g_unitPlayGibAnims" "true"
Set "g_unitSelectionIndicatorPath" "/shared/materials/selection_indicator.material"
Set "g_unitStealthFadeAmount" "0.5000"
Set "g_voiceLaneChatRange" "2000.0000"
Set "g_voteAllowConcedeTime" "900000"
Set "g_voteCooldownTime" "60000"
Set "g_voteDuration" "20000"
Set "g_voteKickCooldownTime" "180000"
Set "g_votePauseRequired" "0.7000"
Set "g_voteRemakeLeaverRequired" "0.5000"
Set "g_voteRemakeRequired" "0.7000"
Set "g_voteRemakeTimeLimit" "450000"
Set "g_waypoint" "Entity_Waypoint"
Set "hero_armorPerAgi" "0.1400"
Set "hero_attackSpeedPerAgi" "0.0100"
Set "hero_blockRepathTime" "100"
Set "hero_blockRepathTimeExtra" "250"
Set "hero_buyBackCost" "100"
Set "hero_buyBackCost_Casual" "100"
Set "hero_buyBackCostPerLevel" "50"
Set "hero_buyBackCostPerLevel_Casual" "50"
Set "hero_buyBackCostScale_Casual" "1.75"
Set "hero_buyBackNumAllowed" "2"
Set "hero_buyBackNumAllowed_Casual" "2"
Set "hero_experienceTable" "0,200,500,900,1400,2000,2700,3500,4400,5400,6500,7 700,9000,10400,11900,13500,15200,17000,18900,20900 ,23000,25200,27500,29900,32400,32900,42000,45000,5 0000,55000,60000,70000,80000,90000,100000,110000,1 20000,135000,150000,165000,180000,200000,220000,25 0000"
Set "hero_experienceTable_Casual" "0,140,340,605,940,1350,1840,2415,3080,3840,4700,56 65,6740,7930,9240,10675,12240,13940,15780,17765,19 865,22065,24365,26765,29265"
Set "hero_expUnsharedBountyPerLevel" "12.0000"
Set "hero_expUnsharedBountyPerLevel_Casual" "12.0000"
Set "hero_goldBounty" "200"
Set "hero_goldBounty_Casual" "400"
Set "hero_goldBountyAssistPercent" "0.5000"
Set "hero_goldBountyAssistPercent_Casual" "0.5000"
Set "hero_goldBountyFirstBlood" "200"
Set "hero_goldBountyFirstBlood_Casual" "200"
Set "hero_goldBountyMaxStreak" "10"
Set "hero_goldBountyMaxStreak_Casual" "10"
Set "hero_goldBountyMinStreak" "3"
Set "hero_goldBountyMinStreak_Casual" "3"
Set "hero_goldBountyPerLevel" "5"
Set "hero_goldBountyPerLevel_Casual" "10"
Set "hero_goldBountyPerStreak" "50"
Set "hero_goldBountyPerStreak_Casual" "100"
Set "hero_goldBountyRadiusBase" "30"
Set "hero_goldBountyRadiusBase_Casual" "30"
Set "hero_goldBountyRadiusPerLevel" "5"
Set "hero_goldBountyRadiusPerLevel_Casual" "5"
Set "hero_goldLossPerLevel" "30"
Set "hero_goldLossPerLevel_Casual" "0"
Set "hero_hpPerStr" "19.0000"
Set "hero_hpRegenPerStr" "0.0300"
Set "hero_maxLevel" "50"
Set "hero_maxLevel_Casual" "50"
Set "hero_mpPerInt" "13.0000"
Set "hero_mpRegenPerInt" "0.0400"
Set "hero_respawnTimePerLevel" "4000"
Set "hero_respawnTimePerLevel_Casual" "3000"
Set "man_fileCleanupThresholdInMonths" "3"
Set "man_statsResubmitAttempts" "5"
Set "Prop_Dynamic_OcclusionRadius" "0.0000"
Set "Prop_Scenery_OcclusionRadius" "0.0000"
Set "Prop_Tree_BoundsHeight" "250.0000"
Set "Prop_Tree_BoundsRadius" "24.0000"
Set "Prop_Tree_DisplayName" "Tree"
Set "Prop_Tree_OcclusionRadius" "50.0000"
Set "psf_baseKFactor" "20.0000"
Set "psf_gammaCurveK" "18"
Set "psf_gammaCurveRange" "200"
Set "psf_gammaCurveTheta" "5.0000"
Set "psf_KFactorScale" "8.0000"
Set "psf_logisticPredictionScale" "80.0000"
Set "psf_maxKFactor" "40.0000"
Set "psf_medianScalingRank" "1600.0000"
Set "psf_minKFactor" "10.0000"
Set "psf_teamRankWeighting" "6.5000"
Set "sv_afkTimeout" "240000"
Set "sv_afkWarningTime" "180000"
Set "sv_gameEndPhaseTime" "21000"
Set "sv_gameStartCountdown" "5000"
Set "sv_heroAllBanExtraTime" "60000"
Set "sv_heroAllBanInitialTime" "10000"
Set "sv_heroAllBanTime" "40000"
Set "sv_heroAllBanTransitionTime" "15000"
Set "sv_heroAltSelectInitialTime" "40000"
Set "sv_heroAltSelectPostTime" "45000"
Set "sv_heroAltSelectTurnTime" "40000"
Set "sv_heroBanInitialTime" "15000"
Set "sv_heroBanTime" "20000"
Set "sv_heroBanTransitionTime" "15000"
Set "sv_heroSelectTime" "60000"
Set "sv_heroSelectTimeSD" "120000"
Set "sv_mapPingDelay" "500"
Set "sv_matchStartAnnounceTime" "10000"
Set "sv_preMatchTime" "90000"
Set "unit_blockRepathTime" "100"
Set "unit_blockRepathTimeExtra" "50"
Set "unit_slideThreshold" "0.1000"

as you can see i changed 3 things:Level MAX,some creep stuff,AND XP values.Neither worked.No creeps,no More XP+Levels.So whats wrong here?:/

tojooko
02-09-2012, 08:28 PM
File name is game_settings.cfg Change view in "Folder options\View\Show known files extensions" or like that and you'll be able to see and edit it. - never mind, stupid idea

Try loading map twice

EDIT: If it won't help just upload map

Nytemair
02-10-2012, 01:57 AM
Make sure your zip program is run as admin btw, lots of problems when it's not :s

embrance
02-10-2012, 05:06 AM
Here you go:
http://www.megafileupload.com/en/file/340987/NewCald-s2z.html
Didnt work obviously.:/

tojooko
02-10-2012, 05:35 AM
Uploaded file is broken :( 20 bytes size
and
Try starting game with StartGame practice "qwe" "map:newCALD" command in console (CTRL + F8)
You may be running normal caldavar map, so no changes are applied

embrance
02-10-2012, 06:33 AM
Dam.Didnt notice.Tried the console,didnt work.Here anotherlink to DL
http://www.2shared.com/file/syVyKK9i/NewCald.html

tojooko
02-10-2012, 06:58 AM
Hm, I think I got it. What zip program you use? The problem is newer versions of 7z and WinRAR are not compatible with HoN's engine. You have to use 7z 4.X or one of older WinRAR (not sure which version though)

I've made new archive in 7z 4.65 and no problems here :)

EDIT:
Your exp tables don't work :(. I think there is experience variable cap (I suppose it's 32767).
If you find it share it with us please.

E.g this exp table works:


"0,200,300,400,500,600,700,800,900,1000,1100,1200,1 300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2 300,2400,2500,2600,2700,2800,2900,3000,3100,3200,3 300,3400,3500,3600,3700,3800,3900,4000,4100,4200,4 300,4400,4500,4600,4700,4800,4900,5000"

embrance
02-10-2012, 07:22 AM
Ok that was it!Thanks!

tojooko
02-10-2012, 07:32 AM
Check edit above.
You are fast poster :P

embrance
02-10-2012, 07:49 AM
Yes,it seems to no work.Evenen if it does in some form,HP bars ger screwed.Now I am looking how ot be able ot add the stat point after level 25.Any idea?

tojooko
02-10-2012, 07:56 AM
You have to edit Ability_AttributeBoost in heroes\ability_attributeboost.entity file
You don't have to edit requiredlevel though, because if there is more levels than variables, these levels without variables uses last variable. Hm, I've complicated it a bit so I'll show on example:


maxlevel="5"
requiredlevel="1,2,3"

is equal to:


maxlevel="5"
requiredlevel="1,2,3,3,3"

embrance
02-10-2012, 07:58 AM
Just found it:P