03-05-2012, 05:51 PM
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?
Anyone?
(03-06-2012, 01:41 AM)Saren Wrote: [ -> ]Y NO ONE ANSWER? =(
(03-06-2012, 02:06 AM)Your Computer Wrote: [ -> ]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, 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:35 AM)HollowRiku13 Wrote: [ -> ]Create an inventory.hps, move it to your maps folder, then add this: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.
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)HollowRiku13 Wrote: [ -> ]Create an inventory.hps, move it to your maps folder, then add this:I thought you have to place the inventory.hps in the main folder of your custom story..
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:02 PM)Datguy5 Wrote: [ -> ]Lol yea, that's what I did xD(03-06-2012, 02:35 AM)HollowRiku13 Wrote: [ -> ]Create an inventory.hps, move it to your maps folder, then add this:I thought you have to place the inventory.hps in the main folder of your custom story..
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:03 PM)Saren Wrote: [ -> ]Oh good.And is it working now?Because im gonna have combinations in my story too.(03-06-2012, 02:02 PM)Datguy5 Wrote: [ -> ]Lol yea, that's what I did xD(03-06-2012, 02:35 AM)HollowRiku13 Wrote: [ -> ]Create an inventory.hps, move it to your maps folder, then add this:I thought you have to place the inventory.hps in the main folder of your custom story..
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:05 PM)Datguy5 Wrote: [ -> ]Nono, that's was the reason it DID'nt work, I out it into my maps folder instead(03-06-2012, 02:03 PM)Saren Wrote: [ -> ]Oh good.And is it working now?Because im gonna have combinations in my story too.(03-06-2012, 02:02 PM)Datguy5 Wrote: [ -> ]Lol yea, that's what I did xD(03-06-2012, 02:35 AM)HollowRiku13 Wrote: [ -> ]Create an inventory.hps, move it to your maps folder, then add this:I thought you have to place the inventory.hps in the main folder of your custom story..
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.