Log in

View Full Version : NPC weapon holding.


dmitri.oga
07-17-2015, 08:41 AM
Hey guys. Long time lurker.


Issue:

I have a buff-bot NPC that resides within POKnowledge. She's a GM Cleric and I want her to hold the Water Sprinkler of Nem Ankh and the Aegis of Superior Divinity.

Here's what I've done to attempt to remedy her inability to hold both:

d_melee_texture1 and d_melee_texture2 have the itemIDs. She has a loot table, she's got both items within the table, both are set to 100% and equipped. She only holds one or the other, never both. I even used GeorgeS's NPC Editor and still have the same result. However, when I use #npcloot show, she only has what she's holding. I have even tried #npcloot add <itemID>; nada.

The database is a non-updated Akka's repack.

Could someone, graciously, shed some light on this matter?


Thanks.

chrsschb
07-17-2015, 08:48 AM
You need to set d_melee_texture1 to the texture ID for the water sprinkler and d_melee_texture2 to the aegis, these ID's start with IT and have 2-5 numbers after it. You only need to use the number (leave out the IT).

Water Sprinkler: IT156
Aegis: IT10738

Just set the textures and then do a repop. She does not need to have these items in her loot table or equipped. Use Akka's EOC in order to look up texture IDs.

dmitri.oga
07-17-2015, 08:53 AM
You need to set d_melee_texture1 to the texture ID for the water sprinkler and d_melee_texture2 to the aegis, these ID's start with IT and have 2-5 numbers after it. You only need to use the number (leave out the IT).

Water Sprinkler: IT156
Aegis: IT10738

Just set the textures and then do a repop. She does not need to have these items in her loot table or equipped. Use Akka's EOC in order to look up texture IDs.

I'll give that a shot right now. I appreciate it.

dmitri.oga
07-17-2015, 09:01 AM
You need to set d_melee_texture1 to the texture ID for the water sprinkler and d_melee_texture2 to the aegis, these ID's start with IT and have 2-5 numbers after it. You only need to use the number (leave out the IT).

Water Sprinkler: IT156
Aegis: IT10738

Just set the textures and then do a repop. She does not need to have these items in her loot table or equipped. Use Akka's EOC in order to look up texture IDs.

I added both of them to the respective d_melee_textures (through MySQL Workbench) and hit Apply. It says it applied the change tot he database successfully, but, where IT156 and IT10738 should be, it's gone back to 0. I repop'ed and she's holing nothing now.

I should also mention I removed her loottable and ensured that she has nothing in her inventory.

dmitri.oga
07-17-2015, 09:02 AM
I got it: I removed the 'IT' from the textures.


I appreciate your help, chrsschb. Kudos.

chrsschb
07-20-2015, 08:19 AM
I got it: I removed the 'IT' from the textures.


I appreciate your help, chrsschb. Kudos.

NP, glad to help!