Jump to content

A Perk that gives perks


Roxus13

Recommended Posts

I want to create a perk that gives the player the option to choose 3~~4 perks, but the addperk code requires an specific perk id, so I need the level-up script as it gives 1 "free" perk point. The crude idea is to force that script to repeat itself 3~~4 times.

 

Therefore, if anyone knows the script/code please tell me.

I can't manage to find the quest/quest stage/script/code that gives the "free" perk point upon level-up.

 

Anyway, thanks beforehand.

Edited by Roxus13
Link to comment
Share on other sites

Hello!

 

I’m not sure if I’m understanding what you’re requesting, but I’ll give it a crack!

 

How about having the perk trigger a quest stage. In this quest stage is a message and in that message is a list of buttons that give the player perks; like the workbench. These perks could be new ones or "pre-set" to bunch several existing perks together (there could be a uniting theme with the chosen perks.)

 

Clicking on these buttons adds perks, but also adds an item (let’s call it a macguffin) and when the player has two of three of these mcguffins the buttons no longer appear to add more perks. Using the “if button == x” scripting to do it. Once the menu is closed, all macguffins are covertly removed.

 

What do we think? Is that a decent work-around?

Link to comment
Share on other sites

I researched, apparently it's impossible to do what I want as adding perks are either ref:id(specific perks) or level-up bound. Well, it seems at laest possible to make a perk that changes the global variable/settings for the amount perks for each level-up. I will try that.
Link to comment
Share on other sites

I researched, apparently it's impossible to do what I want as adding perks are either ref:id(specific perks) or level-up bound. Well, it seems at laest possible to make a perk that changes the global variable/settings for the amount perks for each level-up. I will try that.

 

You could clone perks you’re interested in and set the level for “0” in the perk page. It might be a lot of work in the long run depending on how far you want to go, but that might resolve your problem. As for ref:id, you could still have a quest stages with Player.AddPerk YourPerk done multiple times.

 

Wouldn’t a perk that changes the amount of perks you can have be OP? I mean, why would anyone not choose that perk if they have twice the perks the next time they level up?

Link to comment
Share on other sites

I intended to include a skill point penalty and/or very high requirements. But the way I wanted it seems impossible so I'm giving up on it (I intended to make it somewhat similar to the tagging at the GOAT but it would be 3 perks instead of 3 skills, or in fashion similar to the Educated perk). However, all the solutions I tried either are buggy(player level manipulation has unintended effects over skill points) or require the specification of the perks beforehand but that would go against my goal.

 

Anyway, thanks darkfox85.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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