Weapon Focus constants



  • Anybody know the appropriate constants for the Weapon Focus feats?

    I'm wondering because I'm creating a module and want to give the player their appropriate weapon on char creation.

    Thankee kindly.



  • Yes.

    Next question.

    Oh wait… you actually wanted to know them?

    http://www.nwnlexicon.com/compiled/constant.feat.html

    Knock yourself out. Presumably your planning some kind of death by if/then block of scripting. Not sure if there is a more elegant way of doing it or not.



  • @farglenargle:

    Anybody know the appropriate constants for the Weapon Focus feats?

    I'm wondering because I'm creating a module and want to give the player their appropriate weapon on char creation.

    Thankee kindly.

    You can open up the first OC, and check the chest in the far end of the final level of the Prison for a script that does that, if you're looking for a quick one (Though it may need tweaking cause that one spawns a levelled +X version).



  • 1- Create a new module, or open any existing one.
    2- Go in the script editor ctrl-alt-s
    3- Open an existing file ctrl-o
    4- A window pops-up, there are options at the bottom left:

    Ressources to Show:
    - All Ressources
    - Module Ressources Only
    - Hak Pak Ressources Only
    ```By default Module Ressources Only is selected, select All Ressources instead.
    5- A bunch of basic nwn scripts are now available to you! The one containing pretty much all nwn constants values is nwscript.
    6- Once you opened the script, you can just run a search in files that are opened for the string FEAT_WEAPON_FOCUS_ and you will have a list of FEAT_WEAPON_FOCUS_* constants with their values.


  • Yanks, guys!


Log in to reply