• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help Request : Attribute for skill point needed per perk level

willcheat

Member
Hi, with the new inclusion of higher attribute levels requiring more skill points, I'd like to know what attribute must be added in progression.xml to set a skill point cost per level. Right now the cost is calculated with a 1.2 multiplier per level, which gives the 1 1 2 2 2 3 4 5 6 skill point cost.

I'd like to change the cost to a fixed amount per level, not a formula. What attribute would need to be added in order to give a certain level a fixed cost?

 
Code:
	<attribute name="attPerception" name_key="attPerceptionName" desc_key="attPerceptionDesc" icon="ui_game_symbol_stealth">
	<level_requirements level="1"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints01"/></level_requirements>
	<level_requirements level="2"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints01"/></level_requirements>
	<level_requirements level="3"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints01"/></level_requirements>
	<level_requirements level="4"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints02"/></level_requirements>
	<level_requirements level="5"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints02"/></level_requirements>
	<level_requirements level="6"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints02"/></level_requirements>
	<level_requirements level="7"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints03"/></level_requirements>
	<level_requirements level="8"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints04"/></level_requirements>
	<level_requirements level="9"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints05"/></level_requirements>
	<level_requirements level="10"><requirement name="PlayerLevel" target="self" operation="GTE" value="1" desc_key="reqGenericPoints06"/></level_requirements>
I'm pretty sure this is the code your looking for :) might be wrong of course, not the most experience. Bur should be quick to test and find out :)

Or set the cost multiplier per level at the start of progrssion.xml to 1

Code:
<attributes min_level="1" max_level="10" base_skill_point_cost="1" cost_multiplier_per_level="1.2">
 
Last edited by a moderator:
That code doesn't show what attribute decides the skill point cost.

The requirement basically says you need to be level 1 or higher in order to buy each attribute level, but doesn't mention the skill point cost per level. The skill point cost is set in the attributes tag with "base_skill_point_cost" and "cost_multiplier_per_level" as the formula floor(1 * 1.2 ^ attribute level)

What I want to know is what is the name of the attribute I must add in either the level_requirement tag or the requirement tag to set a skill point cost per attribute level, not a formula based on the level.

 
The skill point cost has been a formula for a while now (it might have always been I don't know). What Quasimiyao post is the multiplier code.

Code:
<attributes min_level="1" max_level="10" base_skill_point_cost="1" cost_multiplier_per_level="1.2">
You might be able to find a formula that does what you want, what exactly are you thinking?

 
Ugh, if a formula is necessary, then I guess I'll try to make one. Basically was thinking 1 1 1 2 2 2 3 3 4, down from 1 1 2 2 2 3 4 5 6

 
Well if you use 1.17 it should get you close, it should come out as 1, 1, 1, 1, 2, 2, 3, 3, 4, 4

- - - Updated - - -

1.16 should be 1, 1, 1, 1, 2, 2, 2, 3, 3, 4

 
I'm gonna sound horribly nitpicky, but I'll go with 1.167. That gives 1 1 1 2 2 2 3 4 4, for a total of 20 skill points per maxed attribute. 100 skill points total to max all attributes sounds fair.

Thanks a lot for the information though, otherwise I would've gone mad trying to figure out what the secret attribute name was :p .

 
Back
Top