Frictional Games Forum (read-only)

Full Version: SCRIPTING TUTORIALS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone! I was creating levels and using scripts in Amnesia back in time but Soma has different scripting.There is no helpful tutorial on the wiki other than technical ones.I need some tutorials and examples on how to use more advanced functionalities of hpl3 scripts like classes,objects other than the functions we write and trigger.I think everyone needs these Smile
Did you have anything specific in mind? As it sounds right now, it seems like what you are asking for is a general object-oriented programming tutorial rather than something specific to HPL3.
(12-17-2015, 06:02 AM)Abion47 Wrote: [ -> ]Did you have any specific in mind? As it sounds right now, it seems like what you are asking for is a general object-oriented programming tutorial rather than something specific to HPL3.

I know c++ classes but the way classes work is different in hpl3 and I couldn't figure it out.If I have to be more specific; what are the differences between Hpl2 and Hpl3 on script side.
I never did any modding in the HPL2 days, so I couldn't help you there. What I can say, though, is that the way classes are handled in HPL3 is very similar to C++ in most ways. The biggest (and one of the only) major difference is that you don't need to declare your class fields and functions in a header file.