Frictional Games Forum (read-only)
Explain to me how this works *spoilers?* - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+--- Thread: Explain to me how this works *spoilers?* (/thread-7867.html)



Explain to me how this works *spoilers?* - tyranius - 05-07-2011

So basically I was messing with the level editor and was looking at the Daniel's Room map. It's the one where you get the key behind a frame, you have to smash a little glass bottle to get this key.

Well, there's a trigger in this map to spawn a monster after you read a note (or after you pick up the key, can't remember which). Anyways, what I want to know is, how do I know what triggers the monster to appear? I mean, clicking on the monster gives me no clue as to what triggers it.

Thanks in advance!


RE: Explain to me how this works *spoilers?* - Tanshaydar - 05-07-2011

Scripting.


RE: Explain to me how this works *spoilers?* - tyranius - 05-07-2011

And how do I edit scripts?


RE: Explain to me how this works *spoilers?* - Tanshaydar - 05-07-2011

Try to visit wiki, and see how Frictional Games made them. They're in .hps files with same name of map, like test.map & test.hps


RE: Explain to me how this works *spoilers?* - tyranius - 05-07-2011

Ok, I found the hps files. What scripting language is that? Sounds pretty simple to script your own stuff.


RE: Explain to me how this works *spoilers?* - Simpanra - 05-07-2011

(05-07-2011, 10:22 PM)tyranius Wrote: Ok, I found the hps files. What scripting language is that? Sounds pretty simple to script your own stuff.

Try visiting my video tutorials thread, that might help you =) there are eleven videos so far


RE: Explain to me how this works *spoilers?* - nofsky - 05-09-2011

(05-07-2011, 10:22 PM)tyranius Wrote: Ok, I found the hps files. What scripting language is that? Sounds pretty simple to script your own stuff.

It's AngelScript I believe... the syntax is pretty much like C and you can find all the available functions on the wiki. Just open the .hps files in notepad and you're ready to go.