• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
City of Arabel
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

NPC Name Color

Scheduled Pinned Locked Moved Implemented/Closed Suggestions
21 Posts 8 Posters 1.4k Views
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.
  • S
    Seter
    last edited by 31 Oct 2022, 18:29

    To some of us who have problems distinguishing from one color to the other, the color of the quest givers' name(Orange? Light brown?) appears very much like the hostile red and can be confusing for new players.

    I would recommend changing it to a different color like Topaz(Dim yellow) instead.

    Additionally, I would like to suggest that a different color will be given to merchants so we can distinguish those from the normal riffraff and avoid spamming all of the NPCs in the region. Anything other than the current blue.

    Past Characters:

    • Hound
    • Artieus Fireheart
    • Doombringer Ezekiel Gideon
    • Ignatius B. Pike, Apprentice of Kanthea
    • Lord Mordecai of House Cormaeril, Champion of the Divine Right Siamorphe, Knight of the realm and ruler of Immersea
    1 Reply Last reply Reply Quote
    • S
      SpiffyMeister
      last edited by 31 Oct 2022, 19:23

      Gumba did the change, I imagine it has something to do with the onspawn quest giver script?

      Puffy's bumbling Scum-goblin minion.

      1 Reply Last reply Reply Quote
      • T
        TheMinionOfArabel
        last edited by 31 Oct 2022, 19:44

        Might be its a variable on the NPC? We had issue in the past with quest NPCs still showing blue.

        Current PC: Alizee Walton

        1 Reply Last reply Reply Quote
        • E
          Echo
          last edited by Echo 31 Oct 2022, 22:16

          qs_giver_spawn (OnSpawn script for quest giver NPCs)
          Line 42

          SetName(OBJECT_SELF, StringToRGBString(GetName(OBJECT_SELF), "720"));
          

          Change 720 to like.. 760 to make it a bright yellow color


          For Merchants a new OnSpawn script will need to be written with 777 (white) or 070 (green) or whatever other color we want to use.

          e9555b6e-2ed3-418b-a1c2-7a73c9ca6384-image.png

          a8eab316-9dc0-4849-8586-aac013836f33-image.png

          "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

          1 Reply Last reply Reply Quote
          • S
            SpiffyMeister
            last edited by 2 Nov 2022, 22:25

            Done

            Puffy's bumbling Scum-goblin minion.

            S 1 Reply Last reply 3 Nov 2022, 05:57 Reply Quote
            • S
              Seter @SpiffyMeister
              last edited by 3 Nov 2022, 05:57

              🄳🄳🄳

              Past Characters:

              • Hound
              • Artieus Fireheart
              • Doombringer Ezekiel Gideon
              • Ignatius B. Pike, Apprentice of Kanthea
              • Lord Mordecai of House Cormaeril, Champion of the Divine Right Siamorphe, Knight of the realm and ruler of Immersea
              1 Reply Last reply Reply Quote
              • E
                Echo
                last edited by 20 Nov 2022, 20:35

                v7225 merchants will have a unique color (I probably missed some so you can report any of them here, I guess)

                "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                Z 1 Reply Last reply 24 Nov 2022, 11:37 Reply Quote
                • E
                  Echo
                  last edited by Echo 21 Nov 2022, 00:40

                  Areas done:

                  Arabel
                  Tilverton
                  Collinwood
                  Irondrake
                  Immersea
                  High Crimmond

                  "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                  1 Reply Last reply Reply Quote
                  • S
                    Seter
                    last edited by Seter 24 Nov 2022, 11:08

                    Missing in Bospir: Interiors

                    • Arianne Silverleaf
                    • Catha Undt

                    Past Characters:

                    • Hound
                    • Artieus Fireheart
                    • Doombringer Ezekiel Gideon
                    • Ignatius B. Pike, Apprentice of Kanthea
                    • Lord Mordecai of House Cormaeril, Champion of the Divine Right Siamorphe, Knight of the realm and ruler of Immersea
                    1 Reply Last reply Reply Quote
                    • Z
                      Zool @Echo
                      last edited by 24 Nov 2022, 11:37

                      @echo said in NPC Name Color:

                      v7225 merchants will have a unique color (I probably missed some so you can report any of them here, I guess)

                      If it's -all- merchants being one particular colour, surely we could detect that they are a merchant in some way (there will be some universal thing about all merchants that doesn't apply to other NPCs that a script can detect) and apply this colour manually.

                      Surely?

                      Then there's no need for reports and modifications to keep this maintained, just happens on its own.

                      Someone..... should look into that.

                      > !!!MOLES for the MOLE GOD!!!

                      S E 2 Replies Last reply 24 Nov 2022, 12:06 Reply Quote
                      • S
                        SpiffyMeister @Zool
                        last edited by 24 Nov 2022, 12:06

                        @zool don’t all merchants have the ā€œopen storeā€ script…?

                        Puffy's bumbling Scum-goblin minion.

                        S 1 Reply Last reply 24 Nov 2022, 12:27 Reply Quote
                        • S
                          Strife and Discord @SpiffyMeister
                          last edited by 24 Nov 2022, 12:27

                          @spiffymeister they do but you then rely on a player making the first action.
                          How would a player know a merchant is a merchant to interact with them?

                          P Z 2 Replies Last reply 24 Nov 2022, 12:33 Reply Quote
                          • P
                            Puffy @Strife and Discord
                            last edited by 24 Nov 2022, 12:33

                            Why not use the merchant faction for a on spawn function

                            @SpiffyMeister
                            the real bench mark for success is if you seduce a puffy pc or npc
                            @Prof-Misclick
                            Puffy said "Don't you trust me? Then vote yes NERD!"
                            #scaredofstrongwomen

                            S 1 Reply Last reply 24 Nov 2022, 13:07 Reply Quote
                            • S
                              SpiffyMeister @Puffy
                              last edited by 24 Nov 2022, 13:07

                              @puffy some merchants are set to independent

                              Puffy's bumbling Scum-goblin minion.

                              1 Reply Last reply Reply Quote
                              • Z
                                Zool @Strife and Discord
                                last edited by 24 Nov 2022, 13:56

                                @strife-and-discord said in NPC Name Color:

                                @spiffymeister they do but you then rely on a player making the first action.
                                How would a player know a merchant is a merchant to interact with them?

                                Check the script on spawn. You can get scripts.

                                > !!!MOLES for the MOLE GOD!!!

                                1 Reply Last reply Reply Quote
                                • G
                                  Gumba
                                  last edited by Gumba 24 Nov 2022, 13:56

                                  Try using https://nwnlexicon.com/index.php?title=GetStoreGold on the on spawn script.

                                  If it has no store it returns a -2, if it returns -1 or anything above, means it is a store npc, so you can apply the merchant color, allegedly.

                                  Cheers

                                  Z 1 Reply Last reply 24 Nov 2022, 14:13 Reply Quote
                                  • Z
                                    Zool @Gumba
                                    last edited by 24 Nov 2022, 14:13

                                    @gumba said in NPC Name Color:

                                    Try using https://nwnlexicon.com/index.php?title=GetStoreGold on the on spawn script.

                                    If it has no store it returns a -2, if it returns -1 or anything above, means it is a store npc, so you can apply the merchant color, allegedly.

                                    Cheers

                                    Thumbs up

                                    > !!!MOLES for the MOLE GOD!!!

                                    1 Reply Last reply Reply Quote
                                    • S
                                      Strife and Discord
                                      last edited by Strife and Discord 24 Nov 2022, 16:10

                                      GetStoreGold() works on the store object and not on the NPC itself.
                                      NWN keeps those two separate, so I dont think it would work.

                                      Its better to work in consolidating all possible spawn scripts of NPCs into a single one.

                                      Z 1 Reply Last reply 24 Nov 2022, 16:22 Reply Quote
                                      • Z
                                        Zool @Strife and Discord
                                        last edited by 24 Nov 2022, 16:22

                                        @strife-and-discord said in NPC Name Color:

                                        GetStoreGold() works on the store object and not on the NPC itself.
                                        NWN keeps those two separate, so I dont think it would work.

                                        Its better to work in consolidating all possible spawn scripts of NPCs into a single one.

                                        They should all use it already to open the store. (could also search for the store object using the universally used variable the convo uses to find it and use GetStoreGold() but... seems over the top. There's a few ways I think, just gotta choose one.

                                        > !!!MOLES for the MOLE GOD!!!

                                        1 Reply Last reply Reply Quote
                                        • E
                                          Echo @Zool
                                          last edited by Echo 24 Nov 2022, 16:40

                                          @zool said in NPC Name Color:

                                          If it's -all- merchants being one particular colour, surely we could detect that they are a merchant in some way (there will be some universal thing about all merchants that doesn't apply to other NPCs that a script can detect) and apply this colour manually.

                                          I tried this with the "if it has sMyShop variable" then change color of name, but that broke the dye merchants. They didnt have a sMyShop variable so I added it then they broke.

                                          @Strife-and-Discord and I discussed a rework of the generic OnSpawn script for NPCs to put all these special bits in one place.

                                          "You can complain if you weren't asked; you can't complain if you were asked but didn't contribute." ~ Professor.

                                          Z 1 Reply Last reply 24 Nov 2022, 16:48 Reply Quote
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            15/21
                                            Last post