Jump to content

Trying to make a mod but it's not working.


bollowollo

Recommended Posts

Been trying to make a mod to increase stats gradually every time you level up, eg speed, weapon damage, weapon force, crit chance, limb severing chance, health, kill and quest xp etc. Things that would make consistent noticeable differences each time you level up and more fun because it will gradually mean you will become a zombie killing machine that makes them fly a few meters with limbs flying everywhere.

I managed to add each stat to each level of the character's file with a gradual increase, but it won't work. I don't understand how the code or whatever actually works. Each stat I've added has <prop n=..... before it.
In the default stats some of them say "effect id=...". I've tried with both in the levels files but don't do anything. Anyway atm, it has put padlocks on the weapon wheel and reduced my health to the start value.

What am I doing wrong?

Here are the first 3 levels from my edited logan_levels. I also attached the whole file. If anyone wants to edit it, I have the excel file I created it in.

<level id="1">
<prop n="BluntCriticalChance" v="0.01"
<prop n="CutCriticalChance" v="0.01"
<prop n="BulletCriticalDmgMul" v="0.01"
<prop n="BulletCriticalChance" v="0.01"
<prop n="OneHandedCriticalChance" v="0.01"
<prop n="ThrowCritChanceInc" v="0.01"
<prop n="ThrowDamageMod" v="0.01"
<prop n="ThrowHitNearEnemiesFactor" v="0.01"
<prop n="BluntDamageMul" v="0.01"
<prop n="CutDamageMul" v="0.01"
<prop n="BulletDamageMul" v="0.01"
<prop n="BulletReloadSpeed" v="-0.02"
<prop n="BulletForceMul" v="0.1"
<prop n="RangedForceMul" v="0.1"
<prop n="UpgradesCostFactor" v="-0.01"
<prop n="KillExperienceBonus" v="0.075"
<prop n="QuestExperienceBonus" v="0.075"
<prop n="MoveSpeedsMul" v="0.01"
<prop n="PenaltyOnDeath" v="-0.01"
<prop n="MedPackEffectivness" v="0.05"
<prop n="ItemBuyFactor" v="-0.01"
<prop n="ItemSellFactor" v="0.01"
<prop n="BulletDamageResistance" v="0.01"
<prop n="MaxHealth" v="110"
<prop n="ExpToNextLevel" v="2000"
<prop n="MaxStamina" v="0.8"
<prop n="QuickSlotsCount" v="8"
<prop n="InventorySize" v="12"
</level>
<level id="2">
<prop n="ExpToNextLevel" v="2220"
<prop n="AllowedSkillsCount" v="1"
<prop n="MaxHealth" v="120"
<prop n="BluntCriticalChance" v="0.02"
<prop n="CutCriticalChance" v="0.02"
<prop n="BulletCriticalDmgMul" v="0.02"
<prop n="BulletCriticalChance" v="0.02"
<prop n="OneHandedCriticalChance" v="0.02"
<prop n="ThrowCritChanceInc" v="0.02"
<prop n="ThrowDamageMod" v="0.02"
<prop n="ThrowHitNearEnemiesFactor" v="0.02"
<prop n="BluntDamageMul" v="0.02"
<prop n="CutDamageMul" v="0.02"
<prop n="BulletDamageMul" v="0.02"
<prop n="BulletReloadSpeed" v="-0.04"
<prop n="BulletForceMul" v="0.2"
<prop n="RangedForceMul" v="0.2"
<prop n="UpgradesCostFactor" v="-0.02"
<prop n="KillExperienceBonus" v="0.15"
<prop n="QuestExperienceBonus" v="0.15"
<prop n="MoveSpeedsMul" v="0.02"
<prop n="PenaltyOnDeath" v="-0.02"
<prop n="MedPackEffectivness" v="0.1"
<prop n="ItemBuyFactor" v="-0.02"
<prop n="ItemSellFactor" v="0.02"
<prop n="BulletDamageResistance" v="0.02"
</level>
<level id="3">
<prop n="ExpToNextLevel" v="2464"
<prop n="AllowedSkillsCount" v="2"
<prop n="MaxHealth" v="130"
<prop n="BluntCriticalChance" v="0.03"
<prop n="CutCriticalChance" v="0.03"
<prop n="BulletCriticalDmgMul" v="0.03"
<prop n="BulletCriticalChance" v="0.03"
<prop n="OneHandedCriticalChance" v="0.03"
<prop n="ThrowCritChanceInc" v="0.03"
<prop n="ThrowDamageMod" v="0.03"
<prop n="ThrowHitNearEnemiesFactor" v="0.03"
<prop n="BluntDamageMul" v="0.03"
<prop n="CutDamageMul" v="0.03"
<prop n="BulletDamageMul" v="0.03"
<prop n="BulletReloadSpeed" v="-0.06"
<prop n="BulletForceMul" v="0.3"
<prop n="RangedForceMul" v="0.3"
<prop n="UpgradesCostFactor" v="-0.03"
<prop n="KillExperienceBonus" v="0.225"
<prop n="QuestExperienceBonus" v="0.225"
<prop n="MoveSpeedsMul" v="0.03"
<prop n="PenaltyOnDeath" v="-0.03"
<prop n="MedPackEffectivness" v="0.15"
<prop n="ItemBuyFactor" v="-0.03"
<prop n="ItemSellFactor" v="0.03"
<prop n="BulletDamageResistance" v="0.03"
If I can get this working, will be a nice mod to post on the dead island mods page.

Thanks

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...