Frictional Games Forum (read-only)
Script overviews and help needed - 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: Script overviews and help needed (/thread-9854.html)



Script overviews and help needed - ObsidianLegion - 08-18-2011

The scripts I want are to remove/replace oil and tinderbox callbacks to use in order to ignite a table. I need help with basic layout :/

I also need desperate help with the "Combine two chemicals and use them to blow up a barrier" script. I looked at the original Storage level hps and it confuses me. Alot.

Please help!


RE: Script overviews and help needed - DRedshot - 08-18-2011

For the first question there is no script :/

i suppose you could open the oil entity in model editor, go to settings>userdefinedvariables and change the sub item type to useable (or whatever it is) then save as new entity.

THEN you could make the table a lamp object, by doing the same as above for the table, but changing object type to lamp... then you'd just need to attach some particle systems and sounds.

Then when you use the oil on the table, you can set the normal table inactive, and set the LAMP table active, so the tinderbox can then be used to ignite the table!


for question 2 you'll need an inventory.hps file, have a look at the game's original inventory.hps if you haven't already!