Frictional Games Forum (read-only)
[CHAOS] CogWheels LevelEditor, scripts and chemicals Acid and Puzzle - 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: [CHAOS] CogWheels LevelEditor, scripts and chemicals Acid and Puzzle (/thread-24325.html)



CogWheels LevelEditor, scripts and chemicals Acid and Puzzle - FGFan - 01-09-2014

Sorry for my bad English but I'm Italian I need some help from Scripting & editing for cogwheels and cogwheels machine, and chemical sour (simple way) And LevelEditor it doesnt place the entities in the map. What is wrong? I give you my hpl.log for exmine this.
And I've got a problem to combine hammer and chiper
my Facebook:https://www.facebook.com/davide.casati2

inventory.hps:




void OnGameStart()
{
AddCombineCallback("hammerandchiper", "hammer", "chiper", "combine_01", true);
}
void combine01(string &in asItemA, string &in asItemB)
{
PlayGuiSound("", "12_make_drill", 0);
RemoveItem(asItemA); RemoveItem(asItemB);
GiveItem("stone_hammer_chipper", "Puzzle", "stone_hammer_chipper", "stone_hammer_chipper.tga", 0);
GiveSanityBoostSmall();
//what is wrong?
}


RE: CogWheels LevelEditor, scripts and chemicals Acid and Puzzle - Daemian - 01-09-2014

What you mean the editor doesn't place entities?
And what's the problem with the combine callback?