How to make storm effect? - 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: How to make storm effect? (/thread-22392.html) |
How to make storm effect? - Slanderous - 08-11-2013 I just wanted to know, how can I make a boxlight that is simulating storm, I believe something like I want to get was used in "Down The Rabbit Hole", the map with skeleton. (I don't remember the name - I played DTRH a long time ago). RE: How to make storm effect? - GoreGrinder99 - 08-11-2013 Well, you could always open the HPS file for the map you are referring to and take a peak at what was scripted. Alternatively you could look at this post I made a little while ago, not sure if it's what your looking for but it is indeed a storm consisting of thunder and lightning. http://www.frictionalgames.com/forum/thread-22252.html Hope this helps, good luck! RE: How to make storm effect? - The chaser - 08-11-2013 It's very simple: Just a few lines of code: Make a BoxLight with 0 light (0, 0, 0, 1). void OnStart() { AddTimer("", RandFloat(0.5, 20), "Thunderstrike"); } void Thunderstrike (sting &in asTimer) { FadeLightTo("BoxLight_thunder", 1, 1, 1, 1, -1, 0.1); AddTimer("", RandFloat(0.5, 20), "Thunder_effects"); } void Thunder_effects (string &in asTimer) { AddTimer("", RandFloat(0.5, 20), "Thunderstrike"); FadeLightTo("BoxLight_thunder", 0, 0, 1, 1, -1, 0.1); PlayGuiSound("general_thunder.snt", 1); } RE: How to make storm effect? - Slanderous - 08-12-2013 (08-11-2013, 11:30 PM)The chaser Wrote: It's very simple: Just a few lines of code: Thanks, much appreciated. (08-11-2013, 11:16 PM)goregrinder99 Wrote: Well, you could always open the HPS file for the map you are referring to and take a peak at what was scripted. Alternatively you could look at this post I made a little while ago, not sure if it's what your looking for but it is indeed a storm consisting of thunder and lightning. Thanks, and yes I would open the map .hps file, but I don't have this mod for now (Amnesia reinstall). |