Frictional Games Forum (read-only)
Combination - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Combination (/thread-13783.html)

Pages: 1 2


RE: Combination - Datguy5 - 03-06-2012

(03-06-2012, 02:07 PM)Saren Wrote:
(03-06-2012, 02:05 PM)Datguy5 Wrote:
(03-06-2012, 02:03 PM)Saren Wrote:
(03-06-2012, 02:02 PM)Datguy5 Wrote:
(03-06-2012, 02:35 AM)HollowRiku13 Wrote: Create an inventory.hps, move it to your maps folder, then add this:

Spoiler below!
//COMBINE HAMMER//
////////////////////

void hammer_chipper(string &in asItemA, string &in asItemB)
{
PlayGuiSound("15_make_hammer", 1.0f);
RemoveItem(asItemA); RemoveItem(asItemB);
GiveItem("stone_hammer_chipper", "Puzzle", "stone_hammer_chipper", "stone_hammer_chipper.tga", 0);
}

////////////////////////////
// Run at the start of the game.
void OnGameStart()
{

/////HAMMER & CHIPPER COMBO/////
AddCombineCallback("hammer_chipper", "Nameofyourhammerhere", "Nameofyourchipperhere", "hammer_chipper", false);





}

I hope it works. Wink
I thought you have to place the inventory.hps in the main folder of your custom story..
Lol yea, that's what I did xD
Oh good.And is it working now?Because im gonna have combinations in my story too.
Nono, that's was the reason it DID'nt work, I out it into my maps folder instead
Ohh XD well then i have to make inventory.hps in my maps folder.



RE: Combination - Saren - 03-06-2012

(03-06-2012, 02:10 PM)Datguy5 Wrote:
(03-06-2012, 02:07 PM)Saren Wrote: Nono, that's was the reason it DID'nt work, I out it into my maps folder instead
Ohh XD well then i have to make inventory.hps in my maps folder.
You do that bro xD





RE: Combination - Datguy5 - 03-06-2012

(03-06-2012, 02:11 PM)Saren Wrote:
(03-06-2012, 02:10 PM)Datguy5 Wrote:
(03-06-2012, 02:07 PM)Saren Wrote: Nono, that's was the reason it DID'nt work, I out it into my maps folder instead
Ohh XD well then i have to make inventory.hps in my maps folder.
You do that bro xD
But what should the inventory.hps look like?Without any combinations in it yet.



RE: Combination - Saren - 03-06-2012

(03-06-2012, 02:14 PM)Datguy5 Wrote: But what should the inventory.hps look like?Without any combinations in it yet.
Well mine looks like this

//COMBINE HAMMER//
////////////////////

void hammer_chipper(string &in asItemA, string &in asItemB)
{
PlayGuiSound("15_make_hammer", 1.0f);
RemoveItem(asItemA); RemoveItem(asItemB);
GiveItem("stone_hammer_chipper", "Puzzle", "stone_hammer_chipper", "stone_hammer_chipper.tga", 0);
}

////////////////////////////
// Run at the start of the game.
void OnGameStart()
{

/////HAMMER & CHIPPER COMBO/////
AddCombineCallback("hammer_chipper", "stone_hammer_1", "stone_chipper_1", "hammer_chipper", false);
}





RE: Combination - Datguy5 - 03-06-2012

Ok thanks.I think i could combine those too : D(+ i could basically just copy that) But not sure yet.



RE: Combination - Saren - 03-06-2012

(03-06-2012, 02:39 PM)Datguy5 Wrote: Ok thanks.I think i could combine those too : D(+ i could basically just copy that) But not sure yet.
2tally fair man, Np, and good luck with it, hehe





RE: Combination - Datguy5 - 03-06-2012

(03-06-2012, 02:52 PM)Saren Wrote:
(03-06-2012, 02:39 PM)Datguy5 Wrote: Ok thanks.I think i could combine those too : D(+ i could basically just copy that) But not sure yet.
2tally fair man, Np, and good luck with it, hehe
Thanks.Same to you!



RE: Combination - HollowRiku13 - 03-06-2012

I'm glad I helped Wink . I didn't know how to do it too. But I searched in the original Amnesia and I learned it.


RE: Combination - Saren - 03-06-2012

(03-06-2012, 09:50 PM)HollowRiku13 Wrote: I'm glad I helped Wink . I didn't know how to do it too. But I searched in the original Amnesia and I learned it.
I'm very happy with that decicion bro xD