test content
What is the Arc Client?
Install Arc

Enemy drop key items?

jademarcyjademarcy Member Posts: 25
edited August 2013 in The Foundry
Can you make an enemy drop a quest item? If so how?
Post edited by Unknown User on

Comments

  • klixanklixan Member Posts: 447 Bounty Hunter
    edited August 2013
    Oh good! I need a guinea pig! I've been writing a series of 'HowTo' tutorials (mostly for myself, just so I remember how to do stuff). But this is what I have for making enemies drop items:

    Dropping Items (Enemy drop item on ground)
    In this example, we're going to make an enemy drop a potion on the ground.

    * In the 'Items Tab' create a potion. This is the object that the player will 'take' and it will show up in the player's inventory.
    * Place an enemy encounter on your map (I'm using a single drow assassin for this example).
    * Create an Objective ('Kill Monster') set the drow assassin as the component.
    * Go to the 'Details Tab' and place a potion bottle on the ground near the encounter. This is the physical object that will show up in game when the enemy dies.
    * Set the potion bottle on the ground to 'Appear When > Objective Complete' (Kill Monster).
    * Make it an interactable. Set the 'Dropped Item' to be the potion you created in the 'Items Tab'.
    * Set it to 'Disappear When > This Component Complete'.
    * To make it look like the player is picking up the object, set the 'Interactable Animation' to 'Interact, Low'.

    Dropping Items (Loot an item from a dead monster)
    In this example we're going to make the player loot a key from a dead monster.

    * In the 'Items Tab' create a key. This is the object that the player will 'take' and it will show up in the player's inventory.
    * Place an enemy encounter on your map (I'm using a single drow assassin for this example).
    * Place an NPC on your map near the encounter. Set its Behavior to 'Dead Body'. Set its costume to that of the drow assassin and give it the same name as the drow assassin.
    * Place an 'Invisible half-sphere clicky' on the dead body. Give it the same name as the drow assassin.
    * Create an Objective ('Kill Monster') set the drow assassin as the component.
    * Set the drow assassin (enemy encounter) to Disappear When > Objective Complete (Kill Monster).
    * Set the dead body NPC to Appear When > Objective Complete (Kill Monster).
    * Set the invisible clicky to Appear When > Objective Complete (Kill Monster).
    * Make sure the invisible clicky is an interactable. Set the 'Dropped Item' to be the key you created in the 'Items Tab'.
    * If you like, you can have both the dead body and invisible clicky 'Disappear When > This Component Complete'.
    * To make it look like the player is looting the corpse, set the 'Interactable Animation' of the invisible clicky to 'Interact, Low'.

    I hope that all makes sense, please let me know if it needs more clarification.
  • ananvilhurtzananvilhurtz Member, Neverwinter Beta Users Posts: 0 Arc User
    edited August 2013
    Nice write up, Klixan.
    Religion - 60 GF (15.3k GS)
    The Seeker - 60 DC (11.5k GS)
    Faithless - 60 CW (10k GS)
Sign In or Register to comment.