Jump to content

Apply a perk to the player when something is clicked in an ActionScript menu


Recommended Posts

Good evening everybody!

 

I just decompiled some of the UserrInterface stuff from Fallout 4 and it doesn't look too complicated.

I think I could figure out how to create a custom "Level up perk menu" thing.

 

 

But the part that I didn't figure out yet is how does one of those ActionScript menus(for example the LevelUpMenu.swf) "tell" the game that a certain perk was selected by the player?

In this file, there are just the things like what animations to play, how ithe menu is laid out, ....

But no actual "if this object is selected, check if the player meets the requirements for the perk and then apply the perk to the player".

 

I know that the perks, their effects and requirements are defined in the CK, but how does the game "know" that the player selected a certain perk?

 

Is there another "thing" "between" the SWF and the "game engine" and how can I find it / modify it?

 

 

What I eventually want to make is a custom perk system for crafting, the vanilla level up menu should stay the way it is.

So that when the player presses a key , let's say H, my custom perk menu will show up.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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