The Nexus Forums: Creating a Custom Merchant for The Player’s Camp – Part 3 - The Nexus Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Creating a Custom Merchant for The Player’s Camp – Part 3 Official comment topic

#1 User is offline   Site Bot 

  • Resident poster
  • PipPipPipPipPip
  • Group: Members
  • Posts: 104,138
  • Joined: 21-July 06

Posted 18 November 2009 - 07:01 PM

Article link: Creating a Custom Merchant for The Player’s Camp – Part 3

In part 1 of this tutorial series, we looked at how we can use a “PRCSCR” file to get the game engine to run a custom script upon entering an area. This allowed us to then spawn an NPC character that we created inside the Single Player game’s Player Camp. In part 2 we looked at the conversation editor, and how to create conversations. We then gave a basic conversation to our NPC in preparation for turning them into a merchant.

In this part we’re going to actually turn our NPC into a merchant that the player can interact with. Now unfortunately Bioware made what I feel is a bad decision, and made it so that you can not dynamically create a merchant resource. If you attempt to use CreateObject() with OBJECT_TYPE_STORE you will find that the call fails every time. This means we need to think outside the box and figure out how to get our merchant resource into the player’s camp. So let’s see how we can do that.

Read the full tutorial
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Skin by Skinbox
Quality & cheap IPB skins, premade vBulletin styles, cheap Web templates and more! - Skinbox