Lever 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: Lever help needed (/thread-16719.html) |
RE: Lever help needed [UNSOLVED] - EddieShoe - 07-04-2012 (07-04-2012, 04:56 PM)Steve Wrote:(07-04-2012, 04:23 PM)FastHunteR Wrote: at the propimpulse line is >I can't realy see if it works xD I have an lever small so every time I pull it down it goes to the middel again do you know how to keep it so that it stays down? The levers do that at default. Change it to this in the "Entity" tab while you have it selected. EDIT: In other words, check "OverrideDefaults" and uncheck "AutoMoveToAngle". RE: Lever help needed [UNSOLVED] - Steve - 07-04-2012 Oh thanks that helps alot. now I only have one question how can you set a hatch like which I use like a drainage hatch stuck at min when you enter an area if I would know that I have solved my problem RE: Lever help needed [UNSOLVED] - EddieShoe - 07-04-2012 (07-04-2012, 05:37 PM)Steve Wrote: Oh thanks that helps alot. now I only have one question how can you set a hatch like which I use like a drainage hatch stuck at min when you enter an area if I would know that I have solved my problemIf you want it do to it only once, then I'd add an area where you enter the map that changes the state of the hatch (CollideCallback and stuff with the area). If you want it to be like that every time then just put it under the OnEnter tab in your .HPS file. If you're unsure what script to use then feel free to ask, just make sure you name the exact hatch you're using so it's easier for me, and if you can use pictures. RE: Lever help needed [UNSOLVED] - Steve - 07-04-2012 (07-04-2012, 05:42 PM)EddieShoe Wrote:Uhmm actually I mean Script area, I don't know the scripting for making a hatch stuck.(at min)(07-04-2012, 05:37 PM)Steve Wrote: Oh thanks that helps alot. now I only have one question how can you set a hatch like which I use like a drainage hatch stuck at min when you enter an area if I would know that I have solved my problemIf you want it do to it only once, then I'd add an area where you enter the map that changes the state of the hatch (CollideCallback and stuff with the area). If you want it to be like that every time then just put it under the OnEnter tab in your .HPS file. If you're unsure what script to use then feel free to ask, just make sure you name the exact hatch you're using so it's easier for me, and if you can use pictures. I know how the OnEnter and OnStart works xd But thanks for the reply anyway RE: Lever help needed [UNSOLVED] - EddieShoe - 07-04-2012 (07-04-2012, 05:45 PM)Steve Wrote:Well, try to tell me exactly in detail what you want to happen. I'm very patient so I'll do my best! If you want to you can PM me.(07-04-2012, 05:42 PM)EddieShoe Wrote:Uhmm actually I mean Script area, I don't know the scripting for making a hatch stuck.(at min)(07-04-2012, 05:37 PM)Steve Wrote: Oh thanks that helps alot. now I only have one question how can you set a hatch like which I use like a drainage hatch stuck at min when you enter an area if I would know that I have solved my problemIf you want it do to it only once, then I'd add an area where you enter the map that changes the state of the hatch (CollideCallback and stuff with the area). If you want it to be like that every time then just put it under the OnEnter tab in your .HPS file. If you're unsure what script to use then feel free to ask, just make sure you name the exact hatch you're using so it's easier for me, and if you can use pictures. RE: Lever help needed - Steve - 07-04-2012 I alread said this to EddiShoe but I thought I want to get this over with and post it here too. Well what I want to happen is this you come in an area an you see a hatch (drainhatch) with a rope attached. and a lever mount, you find the lever somewhere and you attache it making "Levelcomplete" active. when you pull the lever down, the ropes will go tight and the hatch will open. but I have the problem that I can open the hatch with the hand, so I want to make at a point in the begining before the part of the hatch, to get the hatch stuck at min. because if I set it at stuck in the level editor some freaky stuff happens. ;b so when you pull the lever the hatch will go unstuck, and stuck at max. and when you pull the lever up it wil go unstuck again, and go stuck at min. I hope you get what i mean, I explained it as good as I could. I know it's a big text xd RE: Lever help needed - Traggey - 07-04-2012 (07-04-2012, 06:29 PM)Steve Wrote: I alread said this to EddiShoe but I thought I want to get this over with and post it here too. Sir I suggest you re-read your own message and atleast try to fix the grammar, that was unreadable. RE: Lever help needed - Steve - 07-04-2012 (07-04-2012, 06:40 PM)Traggey Wrote:Yeah I just noticed that my self I was in an hurry so that's why it was so messy.(07-04-2012, 06:29 PM)Steve Wrote: I alread said this to EddiShoe but I thought I want to get this over with and post it here too. But if you coincidental knew how I should script that. it would be a great help RE: Lever help needed [Unsolved] - Traggey - 07-04-2012 Nope, sorry I can't script for the love of me. Also I still can't quite understand what you're asking for, good luck though. RE: Lever help needed - Cruzore - 07-04-2012 Look how frictional games made it by searching the map with that hatch that is raised by a rope, look in the script file and figure out how they did it. |