Navigation

    City of Arabel

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Weapon Focus constants

    Scripting
    4
    5
    1488
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • farglenargle
      farglenargle last edited by

      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.

      Main PC: hiatus
      Time zone: Central (GMT -6(/-5 DST))
      Playing times: N/A

      1 Reply Last reply Reply Quote
      • Sorcerous_Succubus
        Sorcerous_Succubus last edited by

        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.

        Main: Sian Parkin - Knight of Firehair, Liberator of Love.. and so on and so forth
        Alt: Isiorith Lainosen - Avariel wannabe

        1 Reply Last reply Reply Quote
        • B
          Black Rose last edited by

          @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).

          [14:52] <moloch_>Half the DMs don't know what's going on because they don't read the plot forums.</moloch_>

          1 Reply Last reply Reply Quote
          • Snowstorm
            Snowstorm last edited by

            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.

            White teddy bear

            1 Reply Last reply Reply Quote
            • farglenargle
              farglenargle last edited by

              Yanks, guys!

              Main PC: hiatus
              Time zone: Central (GMT -6(/-5 DST))
              Playing times: N/A

              1 Reply Last reply Reply Quote
              • 1 / 1
              • First post
                Last post