Frictional Games Forum (read-only)
Inventory Script File (How to combine two items) - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Inventory Script File (How to combine two items) (/thread-5127.html)

Pages: 1 2


RE: Inventory Script File (How to combine two items) - anzki - 10-28-2010

(10-27-2010, 09:35 PM)Arvaga Wrote: I made it work but only using the main's folder inventory file (you know, the one with all the game's combinations).
I tried it with a script in a map but it would do what you described (no complaints about combination not working, but the function wouldn't execute).
And I tried to make an inventory.hps in my custom story's folder (along with custom_story_settings.cfg) but it wouldn't work that way =/ (usual combination not working message would show).

Does your inventory.hps file works? (and with "works" I mean does your custom story runs it?)

I tested it with local var and it wasn't declared; it does not run it... How could I make it to run it. (Tried to check the original games config files in case there would be something I could use on my custom story config file, but couldn't find anything relevant....)


RE: Inventory Script File (How to combine two items) - house - 10-29-2010

(10-27-2010, 09:35 PM)Arvaga Wrote: I made it work but only using the main's folder inventory file (you know, the one with all the game's combinations).
I tried it with a script in a map but it would do what you described (no complaints about combination not working, but the function wouldn't execute).
And I tried to make an inventory.hps in my custom story's folder (along with custom_story_settings.cfg) but it wouldn't work that way =/ (usual combination not working message would show).

Does your inventory.hps file works? (and with "works" I mean does your custom story runs it?)

Man! Do we instead, need to name it: extra_inventory? I don't know really. Probably not. We probably need to overwrite the real inventory.hps file.


RE: Inventory Script File (How to combine two items) - anzki - 10-29-2010

Actually tried above Big Grin Also tried "(Story Name)_Inventory.hps" = no effect.
Also it could be "custom_story_inventory.hps" but I am too busy(=lazy) to try it atm.
Also replacing inventory.hps would help(also containing all the game's entries.), but in that case you couldn't play other custom stories after it had been replaced again.