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


Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inventory Script File (How to combine two items)
house Offline
Member

Posts: 195
Threads: 11
Joined: Oct 2010
Reputation: 1
#7
RE: Inventory Script File

(10-20-2010, 08:21 PM)anzki Wrote:
(10-20-2010, 08:08 PM)house Wrote: void OnGameStart()? It isn't like that. Its supposed to be: void OnStart()
This may be your problem.

Yeah but it is in "inventory.hps" file that is used for every map, and in original games inventory file there was void OnGameStart() Big Grin

EDIT: Anyway tried that also; didn't work...

Oh, I just found out about Inventory.hps. Sorry! Blush

Anyways, Maybe this will help. I see that you made this ya in the inventory.hps?
GiveItem("Explosion1", "Explosion", "", "glass_container_mix_notdone", 1.0f);

I think glass_container_mix_notdone needs a .tga at the end of it like:
GiveItem("Explosion1", "Explosion", "", "glass_container_mix_notdone.tga", 1.0f);

This may not work. But aleast we can give it a try.
10-23-2010, 07:06 AM
Find


Messages In This Thread
RE: Inventory Script File - by house - 10-20-2010, 08:08 PM
RE: Inventory Script File - by anzki - 10-20-2010, 08:21 PM
RE: Inventory Script File - by house - 10-23-2010, 07:06 AM
RE: Inventory Script File - by Pandemoneus - 10-20-2010, 08:46 PM
RE: Inventory Script File - by anzki - 10-21-2010, 08:27 AM



Users browsing this thread: 2 Guest(s)