Frictional Games Forum (read-only)
Bucket to fill with acid ?! - 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: Bucket to fill with acid ?! (/thread-25902.html)

Pages: 1 2


RE: Bucket to fill with acid ?! - Rector - 08-19-2014

(08-19-2014, 05:36 PM)Mudbill Wrote: A slight correction:
The bool abAutoDestroy does not remove the item you used. It removes the callback so that you cannot use the item again and produce the same effect.

It's also supposedly recommended to use GiveItem instead of GiveItemFromFile. The latter is described as a debug function, although I do not know what limitations it can cause.

Thanks, didn't know that Smile


RE: Bucket to fill with acid ?! - Amnesiaplayer - 08-19-2014

okey thanks Big Grin but now the only thing is... what (script thing) do i have to gey in my callback now... for that bucket that goes Directly to inventory... if i learn this i hope i will know more about scripting..


RE: Bucket to fill with acid ?! - Mudbill - 08-19-2014

What are you asking exactly?

The closest I can guess is that you need to get the new item. You could use
PHP Code:
GiveItem("BucketFilled""Puzzle""BucketFilled""your_icon.tga"1); 

These are, in order:

Internal name, item type, lang entry name, icon name, amount.

The icon should be one of the files inside /graphics/items unless you use a custom one.


RE: Bucket to fill with acid ?! - burge4150 - 08-20-2014

From my experience, Item Type really has no bearing on much of anything - correct me if I'm wrong?


RE: Bucket to fill with acid ?! - Mudbill - 08-20-2014

If you set the type to Health it will act like Laudanum. There is a difference.
Puzzle is just a generic use-item though.

From the model editor:
[Image: CquKG6C.png]


RE: Bucket to fill with acid ?! - Amnesiaplayer - 08-20-2014

i did the other thing i tried this it worked but got one problem... ( and for mini thing , i did setentityactive Big Grin but it doesn't work to get it ? because the bucket and acid contained isn't connected... idk why ??


RE: Bucket to fill with acid ?! - Slanderous - 08-20-2014

Wrong section, pal. Make sure next time to post there


RE: Bucket to fill with acid ?! - Amnesiaplayer - 08-20-2014

ow okey Big Grin thanks but do you know the answer ?? Sad
and is you're pf (profile picture) loading or is that the ....