Frictional Games Forum (read-only)
HPL2 Scripting Capabilities - 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: HPL2 Scripting Capabilities (/thread-6708.html)



HPL2 Scripting Capabilities - TheGreatCthulhu - 02-25-2011

I think I read somewhere that HPL2 uses Angel Script, so I was wondering - is the Angel Script interpreter fully integrated into the game? Is it possible to use all the angel script features, or just the specialized methods the game exposes?

For example, are there some OO features? Can I access in-game entities as objects, with all (or most) of their functionality exposed, or I'm limited to the functions listed at your tools wiki? Is it possible to create new behaviors, new kinds of entities? If I create my own model, and spawn an entity, can I use the script to change it's position, rotation, material diffuse color, movement speed, texture, opacity, stuff like that?

How flexible is the script engine?