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


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

Posts: 78
Threads: 15
Joined: Jul 2011
Reputation: 0
#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


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



Users browsing this thread: 1 Guest(s)