Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making a Custom Inventory Item
Author Message
convolution223 Offline

Posts: 78
Joined: Jul 2011
Reputation: 0
Post: #7
RE: Making a Custom Inventory Item

(07-18-2011 06:25 AM)ThePaSch Wrote:  I think he just wants to "warp" the item into the player's inventory without it physically appearing in the world.

convolution, to do that, you need to create a texture for your item (.tga, Photoshop does that) and place it in your custom story's directory. Then, use void GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);, replacing asImageName with the name of your item image.
I don't think you need the model editor for that, but feel free to correct me.

THANK YOU! I'm going to try this tomorrow. This is exactly the kind of solution I wanted since I can barely even be considered an amateur modeller.
07-18-2011 06:46 AM
Find all posts by this user Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Making a Custom Inventory Item - convolution223 - 07-18-2011 06:46 AM

User(s) browsing this thread: 1 Guest(s)