So I found out that all scripting needs to be done within the (mapname).hps file, rather than set scripts, for example, "Doorslam.hps", then linking said scripts to areas within the level editor.
Correct me if I'm wrong there please guys!
So anyways, now I've been messing around, just practicing, with a simple door slam script, so player leaves a room, and the door will slam shut behind him/her. Here's my script, copied directly from a Wiki Tutorial.
I kinda get the first question, but yes. All your scripts for the map are in the (mapname).hps
You said you copied the script directly? Did you copy&paste or type it all down? I see a few inconsistency, I think.
This is just me scrutinizing every detail since any typo can mess up your script.
Make sure you have a Script Area called "script_slam" in your map, and the door named "mansion_1". I'm just saying this because you said you were a newcomer, and that could mean alot of things can possibly go wrong.
I think that might be ok, I'll test it out later. But I think you need something in the first "", because its the internal name. Anything will do, just dont call it "Late for Dinner".
Also the "react_scare" should have a .snt normally at the end "react_scare.snt". I know you can preload the sound, but the other 2 have .snt at the end, so I would think that would also need it to.
Or the developer mode could be screwing it up, either you missed something or its just Amensia itself. The game is quite buggy in my opinion.
Go back and review the Developer Enviroment Guide and tripe-check your settings.
(This post was last modified: 08-01-2011, 09:32 PM by Rapture.)