Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: PathNodes with ShowEnemyPlayerPosition?
Post: RE: PathNodes with ShowEnemyPlayerPosition?

Nope, ShowEnemyPlayerPosition will make a monster simply ignore all his PathNodes and run directly at player. A monster moves along PathNodes only when he doesn't see the player. Yet I know there is s...
Yare Development Support 3 2,855 04-22-2013, 11:51 PM
    Thread: Slight problem with prop impulse
Post: RE: Slight problem with prop impulse

(04-19-2013, 03:13 PM)JustAnotherPlayer Wrote: You need to have it to be above 2000 to see the effects. And you need .f after each one. You need 2000+ in AddPropForce. Impulse is much stronger. And ...
Yare Development Support 3 3,162 04-19-2013, 04:18 PM
    Thread: Make an item appear after smashing plates?
Post: RE: Make an item appear after smashing plates?

Huh, you mixed up quite many things :P Here is how it should look like: Code:void OnStart() { SetLocalVarInt("BrokenPlates", 0); SetEntityCallbackFunc("non_broken_*", "Break"); } void Break(string...
Yare Development Support 6 3,954 04-18-2013, 05:58 PM
    Thread: Make an item appear after smashing plates?
Post: RE: Make an item appear after smashing plates?

Firstly I also though of GetPropHealth, but then something else came to my mind. I think you will only need: SetEntityCallbackFunc(string& asName, string& asCallback); It has various types of...
Yare Development Support 6 3,954 04-18-2013, 05:14 PM
    Thread: Random Scares
Post: RE: Random Scares

I have just checked that once again. Seems like working properly.
Yare Development Articles 30 35,183 04-17-2013, 01:55 PM
    Thread: Random Scares
Post: RE: Random Scares

Well, in your example it's surely much more comfortable. But in calculating a chance of event occurence, it doesn't really matter whether I use switch or if. Here is an example of sound function, that...
Yare Development Articles 30 35,183 04-17-2013, 12:44 PM
    Thread: Script help.
Post: RE: Script help.

I think it will be like this, step by step: Code:SetLocalVarInt("BarrelCollisionCount", 0); Just after "void OnStart/OnEnter" you declare a variable. It doesn't have to be "BarrelCollisionCount", nam...
Yare Development Support 10 8,306 04-17-2013, 01:55 AM
    Thread: Random Scares
Post: RE: Random Scares

Most of scripts in CS I am making now is also random, but in a little bit different way. I mostly use Random Int to get an event activate or not. For example, I put some script area in the middle of t...
Yare Development Articles 30 35,183 04-16-2013, 03:39 PM
    Thread: [SCRIPT]Variable not declared
Post: RE: [SCRIPT]Variable not declared

@NaxEla Hm, suddenly that works. But still... Does anyone know why that way with variable doesn't work while it really DID work earlier? It's indeed more complicated but doesn't seem wrong. I am just...
Yare Development Support 5 3,780 04-08-2013, 11:40 PM
    Thread: [SCRIPT]Variable not declared
Post: RE: [SCRIPT]Variable not declared

Now it's even more weird, because in my case RandInt was refusing to work without declared variable... And I use timer, because I want the script to activate in random second.
Yare Development Support 5 3,780 04-08-2013, 11:14 PM
    Thread: [SCRIPT]Variable not declared
Post: [SCRIPT]Variable not declared

Really weird issue... I hope it's not my derp moment again. In the second map of my Custom Story, I got an error informing, that a certain variable is not declared. I had no clue what's wrong, so I op...
Yare Development Support 5 3,780 04-08-2013, 10:57 PM
    Thread: Dissapearing Map Files
Post: RE: Dissapearing Map Files

Lol, np. @_@ I actually managed to google this solution long time ago. At the beginning I also had that problem (and many other people too I guess).
Yare Development Support 3 2,657 04-06-2013, 06:04 PM
    Thread: Dissapearing Map Files
Post: RE: Dissapearing Map Files

This is because Windows 7 is retarded. Your map files are most likely saved in C:\Users\"YOUR USER NAME"\AppData\Local\VirtualStore\Program Files\"YOUR AMNESIA FOLDER". If you want your maps to be sav...
Yare Development Support 3 2,657 04-06-2013, 05:44 PM
    Thread: Combine drill in a script!
Post: RE: Combine drill in a script!

Does it require any script at all? I heard that combinantions working in Amnesia: The Dark Descent, work in Custom Stories without additional scripting. Everything has been already set in "Inventory.h...
Yare Development Support 5 4,842 04-05-2013, 12:16 PM
    Thread: Help...
Post: RE: Help...

Now you unnecessarly removed "void" from the place it should be :P I will try to explain: Code:void OnStart() { Everything inside this goes without "void". } Outside "OnStart" every function name mu...
Yare Development Support 23 14,799 04-04-2013, 08:48 PM
    Thread: Map Crash Error
Post: RE: Map Crash Error

SetLevelDoorLocked goes due to this pattern: Code:SetLevelDoorLocked("NameOfLevelDoor", true - lock/false - unlock); This is how it should look like: Code:SetLevelDoorLocked("level_dungeon_4", false...
Yare Development Support 2 2,214 04-04-2013, 08:43 PM
    Thread: Help...
Post: RE: Help...

Every action you include within OnStart() or OnEnter() comes without "void". It means you need to write just: Code:AddUseItemCallback("", "awesomekey_1", "mansion_1", "UsedKeyOnDoor", true); instead ...
Yare Development Support 23 14,799 04-04-2013, 07:44 PM
    Thread: What is your favorite monster? (SPOILERS)
Post: RE: What is your favorite monster? (SPOILERS)

Brute. Mainly because of his sounds that made me want to kill myself, when I played Amnesia for the first time. I like design of his face (or rather no face) and love the music when he chases me. Grun...
Yare General Discussion 57 71,817 04-02-2013, 08:48 PM
    Thread: Grimorium Verum
Post: RE: Grimorium Verum

I have just finished it a minute ago. Really nice job. Maps are done nicely and with details, though I have seen 2 or 3 glitching textures. The story... it was good but not wonderful, I would say. The...
Yare Showcase 23 41,528 03-31-2013, 01:34 AM
    Thread: Can't see DDS files
Post: RE: Can't see DDS files

Okay guys, sorry, I am an idiot. For all this time I was clicking the wrong thing. I realized I was supposed to use Gobo, not Falloff a few minutes before reading Statyk's reply. Once again sorry for ...
Yare Development Support 6 4,718 03-29-2013, 04:23 PM