NPC Outfits and custom NPC MM request system

2 Replies, 3581 Views

Changes Proposed
  • <COLOR color="gray"><s></s>[ Planned ] Make NPC outfit functionality / make it possible to gear NPCs with armor. Notes:
  • <COLOR color="gray"><s></s>[ Planned ] Make custom NPC request system on mini-manager. Notes:
    • Players fill out request form which will be accessed under Server database -> Create custom NPC request

    • Players will see a list of their requested custom NPCs under Server database -> My custom NPC requests

    • Players can click on "View details" link on respective custom NPC request row under Server database -> My custom NPC requests to view details of their request

    • Players can cancel their pending request by clicking "Cancel request" link on respective custom NPC request row under Server database -> My custom NPC requests

    • Players can edit their pending request by clicking "Edit request" link on respective custom NPC request row under Server database -> My custom NPC requests.

    • GMs with opened older version of the request submitting approval or rejection will have their action cancelled, notified of the request having changed and have their request detail view updated with the new values.

    • GMs approving or rejecting deleted requests will be forwarded back to their global request list with appropriate error.

    • GMs will see global list of all custom NPC requests under Administration -> Custom NPC requests.

    • GMs will be able to see details of a request by clicking on "View details / moderation" link on respective custom NPC request row under Administration -> Custom NPC requests. There they can approve or reject request if it is in pending state, otherwise they can just view the details.

    • In both request lists (Administration and My custom NPC requests) there are going to be following filters:
      • Show approved requests (true/false checkbox toggle, false by default for Administration)

      • Show rejected requests (true/false checkbox toggle, false by default for Administration)

      • Username filter (text/string contains-check), only for Administration

      • NPC name filter (text/string contains-check)

      • Username (Administration only) or display name (My custom NPC requests) of approver or rejector.

      • (maybe some more, open to suggestions ...)


    • When request is approved it will create appropriate creature entries using request's data to fill in the blanks. GMs then have to use approprirate .f reload creature <subcommand> in-game command to load new entries in the server for spawning.

    • Already approved requests cannot be rejected. Deletion must be done manually through database.


<blockquote class='quote_blockquote'><dl><dt>Quote:</dt><dd>&nbsp;</dd></dl><div>[ Planned ] Make NPC outfit functionality / make it possible to gear NPCs with armor. Notes:



Uses mirror image mechanics. Implementation examples will be taken from this: [url="https://github.com/Rochet2/TrinityCore/tree/dressnpcs_6.x/src/server/scripts/Custom/DressNPCs"><s>https://github.com/Rochet2/TrinityCore/ ... /DressNPCs">https://github.com/Rochet2/TrinityCore/tree/dressnpcs_6.x/src/server/scripts/Custom/DressNPCs[/url][/quote]



Okay, so if we were to do this, could we dress something with an inaccessible native model (I.E., Naga or Vrykul), gear them up, then take their display ID and use it for a custom player morph?
[Image: 6H8JFlV.jpg]
The pine tree wastes which is perched on the hill,
nor bark nor needles shelter it;
such is the man whom none doth love;
for what should he longer live?
<blockquote class='quote_blockquote'><dl><dt>33Vikings</dt><dd>Aug 30 2016, 07:01:43 PM</dd></dl><div><blockquote class='quote_blockquote'><dl><dt>Quote:</dt><dd>&nbsp;</dd></dl><div>[ Planned ] Make NPC outfit functionality / make it possible to gear NPCs with armor. Notes:



Uses mirror image mechanics. Implementation examples will be taken from this: [url="https://github.com/Rochet2/TrinityCore/tree/dressnpcs_6.x/src/server/scripts/Custom/DressNPCs"><s>https://github.com/Rochet2/TrinityCore/ ... /DressNPCs">https://github.com/Rochet2/TrinityCore/tree/dressnpcs_6.x/src/server/scripts/Custom/DressNPCs[/url][/quote]



Okay, so if we were to do this, could we dress something with an inaccessible native model (I.E., Naga or Vrykul), gear them up, then take their display ID and use it for a custom player morph?[/quote]I get what you mean but if you were to just to morph into some display id you will not retain target's mirror image stuff, you'll just morph into its normal form - display id will not change if they have mirror image data set. If it is possible to gear non-humanoid creatures such as naga or tuskarr through this outfitting, then I'll probably gonna implement an advanced morph command what will also take mirror image data from the target creature and not just display id or something along those lines, so people can gear their non-humanoid characters.



Also, I plan to implemented this after I am done with ticket system implementation. So it could take a while, especially since my uni starts next week.



Users browsing this thread: 1 Guest(s)