Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Multiple Keys
Post: RE: Multiple Keys
No problem!
Just remember to have all the "AddUseItemCallback" functions in the "void OnEnter" and have one for each door.
And also I changed the sound, you need to have "unlock_door.snt" with the "... |
|
Ninami |
Development Support
|
5 |
4,382 |
02-21-2012, 08:40 PM |
|
|
Thread: Multiple Keys
Post: RE: Multiple Keys
////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallback("", "LockedDoorKey1", "LockedDoor_1", "UsedLockedDoorKey1", true);
AddUseItemCallback("", "SecondFloorKey", "... |
|
Ninami |
Development Support
|
5 |
4,382 |
02-21-2012, 08:27 PM |
|
|
Thread: Door "It wont budge"
Post: RE: Door "It wont budge"
You will have to use this function:
void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
Displays a message on the screen.
asTextCategory - the category in the .lang f... |
|
Ninami |
Development Support
|
3 |
2,916 |
02-21-2012, 08:16 PM |
|
|
Thread: Something wrong with prison doors?
Post: RE: Something wrong with prison doors?
Oh ffs! Haha works perfectly now.
Once again, Your Computer to the rescue :D
Very silly of me to forget that... Thanks!
(02-21-2012, 07:01 PM)Your Computer Wrote: You missed SetSwingDoorClosed.By... |
|
Ninami |
Development Support
|
3 |
3,325 |
02-21-2012, 07:07 PM |
|
|
Thread: Door "It wont budge"
Post: RE: Door "It wont budge"
Somehow I doubt you checked the forum :P
Because I learned how to do this from many forum posts from here. |
|
Ninami |
Development Support
|
3 |
2,916 |
02-21-2012, 07:01 PM |
|
|
Thread: Something wrong with prison doors?
Post: Something wrong with prison doors?
Hey so I got a map where a door should open by itself. I followed "Your Computer" youtube video but didn't get the same result?
I'm using prison_1 and my script is like this:
void LieDown(string &... |
|
Ninami |
Development Support
|
3 |
3,325 |
02-21-2012, 06:58 PM |
|
|
Thread: AddLocalVarInt and valves problems
Post: RE: AddLocalVarInt and valves problems
I got a map with the same mechanic. I just add "SetLocalVarInt("Valve", 0);" and then every time you turn a valve you add "AddLocalVarInt("Valve", 1);". Then every time you try to open the door, the "... |
|
Ninami |
Development Support
|
11 |
7,390 |
02-16-2012, 06:38 AM |
|
|
Thread: Question: Just a question about PointLights
Post: RE: Question: Just a question about PointLights
I would guess it's because of the Diffuse color, since it's so dark, it won't light up any room. Change it to white and it might work. |
|
Ninami |
Development Support
|
8 |
5,412 |
02-16-2012, 06:32 AM |
|
|
Thread: AddLocalVarInt and valves problems
Post: RE: AddLocalVarInt and valves problems
If you did everything correctly then there wouldn't be any problems in the first place :P |
|
Ninami |
Development Support
|
11 |
7,390 |
02-15-2012, 11:35 PM |
|
|
Thread: One script for multiple similar functions
Post: RE: One script for multiple similar functions
Would be nice if people could put "SOLVED" in the title when it's solved :P |
|
Ninami |
Development Support
|
6 |
5,560 |
02-15-2012, 06:11 AM |
|
|
Thread: Need help displaying door is locked on non-exit doors.
Post: RE: Need help displaying door is locked on non-exi...
Sorry but you're not even using the functions they told you to use?
They told you to use:
"SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);"
... |
|
Ninami |
Development Support
|
19 |
14,008 |
02-15-2012, 05:58 AM |
|
|
Thread: Area script. Help needed !
Post: RE: Area script. Help needed !
Where would I find any of these "Global map variables"? I've been getting help from Frictionalgames wiki for some time now, haven't seen anything about global map variables. |
|
Ninami |
Development Support
|
12 |
10,384 |
02-08-2012, 07:37 AM |
|
|
Thread: Area script. Help needed !
Post: RE: Area script. Help needed !
(02-08-2012, 06:03 AM)flamez3 Wrote: (02-08-2012, 04:44 AM)Ninami Wrote: (02-08-2012, 03:40 AM)Your Computer Wrote: (02-08-2012, 03:12 AM)Ninami Wrote: I haven't tried this my self but does th... |
|
Ninami |
Development Support
|
12 |
10,384 |
02-08-2012, 06:25 AM |
|
|
Thread: Area script. Help needed !
Post: RE: Area script. Help needed !
(02-08-2012, 03:40 AM)Your Computer Wrote: (02-08-2012, 03:12 AM)Ninami Wrote: I haven't tried this my self but does that script really work even though they are on a different map? It just felt s... |
|
Ninami |
Development Support
|
12 |
10,384 |
02-08-2012, 04:44 AM |
|
|
Thread: Area script. Help needed !
Post: RE: Area script. Help needed !
I haven't tried this my self but does that script really work even though they are on a different map? It just felt so easy, I thought it would be more complicated when you add more maps. |
|
Ninami |
Development Support
|
12 |
10,384 |
02-08-2012, 03:12 AM |
|
|
Thread: Getting Spawned Monsters to Start Facing a Direction?
Post: RE: Getting Spawned Monsters to Start Facing a Dir...
Well when I put a monster inside the level editor I just click on the monster, press "W" and turn him around to the direction I want. This doesn't work for my brother for some reason but you should at... |
|
Ninami |
Development Support
|
5 |
3,826 |
02-08-2012, 03:10 AM |
|
|
Thread: Hermoor's monsters
Post: RE: Hermoor's monsters
Don't get me wrong this is some really awesome modeling work! I really love all of them. But what is the point in having them if they don't have an animation? I mean it's not like I can use them in my... |
|
Ninami |
Development Resources
|
263 |
296,340 |
02-07-2012, 07:08 AM |
|
|
Thread: Penumbra Flashlight Port to Amnesia (HD-fied)
Post: RE: Penumbra Flashlight Port to Amnesia (HD-fied)
Wow this is great work!
I just have a question, I watched the video on youtube when you were showing of the flashlight. In my opinion it looked like the light was a little too wide and didn't light u... |
|
Ninami |
Development Resources
|
39 |
67,750 |
02-07-2012, 06:52 AM |
|
|
Thread: [SOLVED] Still Having Problems With Opening Cabinets
Post: RE: Still Having Problems With Opening Cabinets
And remember to double check that a "-" sign is needed in order to open the cabinet. I had that problem before, I tried to open a cabinet with force, I used -10 but in my world, a -10 would force my c... |
|
Ninami |
Development Support
|
4 |
4,115 |
02-07-2012, 05:40 AM |
|
|
Thread: Walls doesn't seem to fit very well
Post: RE: Walls doesn't seem to fit very well
I guess I'll try and find some suitable welders for the window wall but I think I'll just let the door wall be as it is. |
|
Ninami |
Development Support
|
9 |
8,128 |
02-06-2012, 09:14 PM |