Saren
Member
Posts: 196
Threads: 20
Joined: Jan 2012
Reputation:
1
Combination
Yo guys, I was wondering if any of you know how you combine the hammer and chipper.... I have tried so many different ways and I can't get it to work..
Anyone?
(This post was last modified: 03-06-2012, 09:39 AM by Saren .)
03-05-2012, 05:51 PM
Saren
Member
Posts: 196
Threads: 20
Joined: Jan 2012
Reputation:
1
RE: Combination
Y NO ONE ANSWER? =(
03-06-2012, 01:41 AM
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
RE: Combination
(03-06-2012, 01:41 AM) Saren Wrote: Y NO ONE ANSWER? =(
Would you prefer for no one to answer you or for someone to direct you to AddCombineCallback?
03-06-2012, 02:06 AM
Saren
Member
Posts: 196
Threads: 20
Joined: Jan 2012
Reputation:
1
RE: Combination
(03-06-2012, 02:06 AM) Your Computer Wrote: (03-06-2012, 01:41 AM) Saren Wrote: Y NO ONE ANSWER? =(
Would you prefer for no one to answer you or for someone to direct you to AddCombineCallback?Lol, you wonna see the different scripts I've tried?.... 1 guy pointed me towards an inventory.hps, another said is was script.... so pardon me for thinking that ain't much help.. I tried 1 myself, asked my friend, he gave me 3 different ones... still nothing... and yes, I have tried with AddCombineCallback...
03-06-2012, 02:13 AM
HollowRiku13
Member
Posts: 93
Threads: 15
Joined: Dec 2011
Reputation:
2
RE: Combination
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.
03-06-2012, 02:35 AM
Saren
Member
Posts: 196
Threads: 20
Joined: Jan 2012
Reputation:
1
RE: Combination
(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. It did indeed, thank you sir. It was just so dissapointing, I really thought I could make it work before... even my friend could'nt... I had really given up.... haha, I was about to make a script about throwing a rock at the wall instead xD But no need for that now, thx again.
03-06-2012, 08:08 AM
Datguy5
Senior Member
Posts: 629
Threads: 25
Joined: Dec 2011
Reputation:
12
RE: Combination
(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. I thought you have to place the inventory.hps in the main folder of your custom story..
03-06-2012, 02:02 PM
Saren
Member
Posts: 196
Threads: 20
Joined: Jan 2012
Reputation:
1
RE: Combination
(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. 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
03-06-2012, 02:03 PM
Datguy5
Senior Member
Posts: 629
Threads: 25
Joined: Dec 2011
Reputation:
12
RE: Combination
(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. I thought you have to place the inventory.hps in the main folder of your custom story.. Lol yea, that's what I did xDOh good.And is it working now?Because im gonna have combinations in my story too.
03-06-2012, 02:05 PM
Saren
Member
Posts: 196
Threads: 20
Joined: Jan 2012
Reputation:
1
RE: Combination
(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. 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
03-06-2012, 02:07 PM