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

Unlocking schematics through skill levels

jhast07

New member
I'm trying to make it so after using let's say handguns for awhile. Let's say once it hits level 30 you unlock the pistol schematic. I made the code like this below:

<action_skill name="Pistols" exp_to_level="150" icon="pistol" description_key="pistolsDesc" title_key="pistols" group="firearms">

<effect name="EntityDamage">

<multiply skill_level="1,5" value="1,1.04"/>

<multiply skill_level="5,11" value="1.04,1.07"/>

<multiply skill_level="11,19" value="1.07,1.1"/>

<multiply skill_level="19,32" value="1.1,1.14"/>

<multiply skill_level="32,49" value="1.14,1.19"/>

<multiply skill_level="49,70" value="1.19,1.23"/>

<multiply skill_level="70,100" value="1.23,1.28"/>

<multiply skill_level="100,105" value="1.28,1.30"/>

<multiply skill_level="105,110" value="1.30,1.32"/>

<multiply skill_level="110,119" value="1.32,1.34"/>

<multiply skill_level="119,132" value="1.34,1.36"/>

<multiply skill_level="132,149" value="1.36,1.38"/>

<multiply skill_level="149,170" value="1.38,1.41"/>

<multiply skill_level="170,200" value="1.41,1.43"/>

</effect>

<recipe name="pistolBookPerk" unlock_level="30"/>

<recipe name="theEnforcerMagazinePerk" unlock_level="50"/>

<recipe name="desertEagleRecipePerk" unlock_level="70"/>

</action_skill>

Every time I reach the given level the little pop up says I unlock it, but I still can't assemble the guns until I read the actual schematic. Hoping you might have some insight to bypass the books if at a certain level. I didn't know if there is any workaround any of you might know about.

 
You're unlocking the recipe to make the books, not the recipe for the weapon. You'd need this.

Code:
<recipe name="gunPistol" unlock_level="30"/>
<recipe name="gun44Magnum" unlock_level="50"/>
 
You're unlocking the recipe to make the books, not the recipe for the weapon. You'd need this.

Code:
<recipe name="gunPistol" unlock_level="30"/>
<recipe name="gun44Magnum" unlock_level="50"/>
Thank you

 
Back
Top