Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Screen effects won't stop
Post: RE: Screen effects won't stop
(03-01-2015, 04:51 PM)Mudbill Wrote: Are you sure your second map's hps file is properly loaded? Do you have other scripts in there that do work?
I have a lot of scripts in the second map's hps file... |
|
Aletho |
Development Support
|
9 |
5,545 |
03-01-2015, 05:15 PM |
|
|
Thread: Screen effects won't stop
Post: RE: Screen effects won't stop
(03-01-2015, 01:29 PM)FlawlessHappiness Wrote: It's very simple!
Copied from the engine scripts:
https://wiki.frictionalgames.com/doku.ph..._functions
Quote:FadeRadialBlurTo(float afSize, float afS... |
|
Aletho |
Development Support
|
9 |
5,545 |
03-01-2015, 04:23 PM |
|
|
Thread: Screen effects won't stop
Post: RE: Screen effects won't stop
(02-27-2015, 10:36 PM)Neelke Wrote: I think you can reset the effects when leaving map instead. I did that in one of my maps and it worked just fine.
Code:void OnLeave()
{
F... |
|
Aletho |
Development Support
|
9 |
5,545 |
02-28-2015, 12:17 PM |
|
|
Thread: Screen effects won't stop
Post: Screen effects won't stop
Hey guys!
Here's the thing: I have 2 maps. The first one ends with the player fainting and then loading the next map. In the first map, there's a lot of screen effects as you can see in the script be... |
|
Aletho |
Development Support
|
9 |
5,545 |
02-27-2015, 12:26 AM |
|
|
Thread: [SOLVED] StartPlayerLookAt following a grunt?
Post: RE: StartPlayerLookAt following a grunt?
(02-26-2015, 12:06 AM)Mudbill Wrote: Use RemoveTimer("grunt"); at the same time as the StopPlayerLookAt script. That will cancel the loop.
Ahh thanks, that worked! :-) |
|
Aletho |
Development Support
|
6 |
4,566 |
02-26-2015, 09:28 AM |
|
|
Thread: [SOLVED] StartPlayerLookAt following a grunt?
Post: RE: StartPlayerLookAt following a grunt?
(02-25-2015, 08:58 PM)Neelke Wrote: Then what you can do is update the StartPlayerLookAt with a timer. The camera should then adjust perfectly by itself with this.
Code:void TimerGruntUpdate(string... |
|
Aletho |
Development Support
|
6 |
4,566 |
02-25-2015, 10:54 PM |
|
|
Thread: [SOLVED] StartPlayerLookAt following a grunt?
Post: RE: StartPlayerLookAt following a grunt?
(02-25-2015, 08:22 PM)Mudbill Wrote: I've had the player's view follow the monster just fine. All I did was the expected StartPlayerLookAt with the monster as the target. Only thing I remember doing... |
|
Aletho |
Development Support
|
6 |
4,566 |
02-25-2015, 08:41 PM |
|
|
Thread: [SOLVED] StartPlayerLookAt following a grunt?
Post: [SOLVED] StartPlayerLookAt following a grunt?
Hello!
I want to force the player to look at where the monster would be, behind the wall, and follow its movements past the door, simulating the player following the origin of the sound the monster i... |
|
Aletho |
Development Support
|
6 |
4,566 |
02-25-2015, 07:34 PM |
|
|
Thread: [SOLVED] Lights on script
Post: RE: Lights on script
(02-24-2015, 09:06 PM)Daemian Wrote: You're missing the callback declaration inside OnStart
I'm guessing you want one for that TorchOnSchool function with those parameters, so you need a collide ca... |
|
Aletho |
Development Support
|
2 |
2,449 |
02-24-2015, 09:57 PM |
|
|
Thread: [SOLVED] Lights on script
Post: [SOLVED] Lights on script
Hey guys!
I'm a bit rusty in creating custom stories, I've just returned to doing it because of a project in school. I'm trying to create a script area where the lights throughout the building become... |
|
Aletho |
Development Support
|
2 |
2,449 |
02-24-2015, 08:53 PM |
|
|
Thread: [SOLVED] Fainting into a new map [Need scripting help]
Post: RE: Fainting into a new map [Need scripting help]
Ahh thanks a lot, it works now! What a simple problem :p |
|
Aletho |
Development Support
|
7 |
6,043 |
01-07-2015, 11:59 AM |
|
|
Thread: [SOLVED] Fainting into a new map [Need scripting help]
Post: RE: Fainting into a new map [Need scripting help]
(01-07-2015, 11:36 AM)Mudbill Wrote: What does the error say?
"FATAL ERROR: Could not load script file 'custom_stories/NewProject/maps/NewProject2.hps'! main (76, 67): ERR : Expected expression val... |
|
Aletho |
Development Support
|
7 |
6,043 |
01-07-2015, 11:41 AM |
|
|
Thread: [SOLVED] Fainting into a new map [Need scripting help]
Post: RE: Fainting into a new map [Need scripting help]
(01-07-2015, 11:10 AM)Mudbill Wrote: If the script crashes, I can only assume it isn't finding the map. I do think you need to include the .map extension in the script. Also make sure the name is co... |
|
Aletho |
Development Support
|
7 |
6,043 |
01-07-2015, 11:33 AM |
|
|
Thread: [SOLVED] Fainting into a new map [Need scripting help]
Post: [SOLVED] Fainting into a new map [Need scripting h...
Hey guys!
I'm not really that experienced in the scripting from scratch part of custom story making, so I was hoping someone here would know how to solve my problem. In my custom story, the player is... |
|
Aletho |
Development Support
|
7 |
6,043 |
01-07-2015, 10:05 AM |