Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: [Solved]Playing sound after exiting letter
Post: RE: Playing sound after exiting letter
(10-01-2016, 04:44 PM)Spelos Wrote: Not really,
since PlaySoundAtEntity() supports only .snt files, you can take a look into the .snt file you want to be played and there are values like "Volume=0.8... |
|
Omenapuu |
Custom Stories, TCs & Mods - Development
|
5 |
5,853 |
10-02-2016, 10:31 AM |
|
|
Thread: [Solved]Playing sound after exiting letter
Post: RE: Playing sound after exiting letter
Thanks both of you!
I already played the sound at "Player" but I guess I'll just modify the volume of it by placing it down in the map, if that's what you meant? |
|
Omenapuu |
Custom Stories, TCs & Mods - Development
|
5 |
5,853 |
10-01-2016, 12:46 PM |
|
|
Thread: [Solved]Playing sound after exiting letter
Post: [Solved]Playing sound after exiting letter
Hello! So basically I want to play this sound after the player closes the letter after opening and reading it. Right now it plays immediately after opening it, since it's set to do so when the player ... |
|
Omenapuu |
Custom Stories, TCs & Mods - Development
|
5 |
5,853 |
09-30-2016, 09:26 PM |
|
|
Thread: [SOLVED]Variables & if
Post: RE: Variables & if
Alright so I pretty much found out why it didn't work...
The script that checked the If-else was triggered by a collide callback. I had made it like that the collide callback removes after first use.... |
|
Omenapuu |
Development Support
|
9 |
6,566 |
01-01-2015, 06:11 PM |
|
|
Thread: [SOLVED]Variables & if
Post: RE: Variables & if
(01-01-2015, 02:44 PM)Daemian Wrote: (01-01-2015, 06:05 AM)Mudbill Wrote: I believe an undeclared variable is automatically set to 0 when used. At least that's the case with AddLocalVarInt. Unsure... |
|
Omenapuu |
Development Support
|
9 |
6,566 |
01-01-2015, 04:50 PM |
|
|
Thread: [SOLVED]Variables & if
Post: RE: Variables & if
(01-01-2015, 06:05 AM)Mudbill Wrote: I believe an undeclared variable is automatically set to 0 when used. At least that's the case with AddLocalVarInt. Unsure about the Getter, but either way, if i... |
|
Omenapuu |
Development Support
|
9 |
6,566 |
01-01-2015, 12:21 PM |
|
|
Thread: [SOLVED]Variables & if
Post: RE: Variables & if
(12-31-2014, 03:04 PM)DnALANGE Wrote: Here an example from 1 of my scripts;
This script will work on my doors to open\close.
OnStart
{
PHP Code:SetLocalVarInt("ElevatorOpen", 0); }
PHP C... |
|
Omenapuu |
Development Support
|
9 |
6,566 |
12-31-2014, 10:07 PM |
|
|
Thread: [SOLVED]Variables & if
Post: [SOLVED]Variables & if
So I got another problem with scripting. This time I can't get an if statement to work with variables, don't know what's wrong. I looked it over a couple times & still can't figure why isn't it wo... |
|
Omenapuu |
Development Support
|
9 |
6,566 |
12-31-2014, 02:38 PM |
|
|
Thread: Not sure what to do in the storage..
Post: RE: Not sure what to do in the storage..
(12-31-2014, 01:29 PM)Julius Caesar Wrote:
Spoiler below!
Go back to where you find the drill parts. Well, the large room before. You should find lots of barrels right? Combine the three ... |
|
Omenapuu |
Hints, help and spoilers
|
2 |
6,759 |
12-31-2014, 02:27 PM |
|
|
Thread: Not sure what to do in the storage..
Post: Not sure what to do in the storage..
So I'm currently at the storage. I've gotten all the drill parts and the monster is already gone. I read wiki that the last two pressure rods are in storage. I can't figure a way to get around the roc... |
|
Omenapuu |
Hints, help and spoilers
|
2 |
6,759 |
12-31-2014, 11:45 AM |
|
|
Thread: Developer Motivation?
Post: RE: Developer Motivation?
(12-30-2014, 07:54 AM)Spelos Wrote: In my opinion there is a fine line between just filling the empty custom story space and getting inspired. Everything, like every map, should have a pupouse and t... |
|
Omenapuu |
Development Support
|
35 |
22,719 |
12-30-2014, 05:35 PM |
|
|
Thread: Dev environment
Post: RE: Dev environment
(12-30-2014, 12:19 PM)G510s Wrote: can i get the entire script im suppose to put into my dev? i don't have mine set up yet and i don't know how to set it up to use it.
If you mean that you want to s... |
|
Omenapuu |
Development Support
|
1 |
2,021 |
12-30-2014, 05:31 PM |
|
|
Thread: SOLVED
Post: RE: Script doesn't play
Julius Caesar's fix didn't work, no idea why but it still kept the blur on.
This one worked;
PHP Code:FadeRadialBlurTo(0.0f, 0.4f);
So thanks alot everyone for help, I'll continue with it ... |
|
Omenapuu |
Development Support
|
6 |
3,748 |
12-30-2014, 05:25 PM |
|
|
Thread: Developer Motivation?
Post: RE: Developer Motivation?
This might sound like "copying" but for the level editor things, as AGP said you can for example sit in a room, and that way works for me aswell. OR if it doesn't fit you, I recommend playing other st... |
|
Omenapuu |
Development Support
|
35 |
22,719 |
12-30-2014, 01:29 AM |
|
|
Thread: SOLVED
Post: RE: Script doesn't play
Ehh, you're right and wrong.. The function partly fixed when I changed 0.0, 0.0 to 0, 0.1. Now as ironic as it is, the StartPlayerLookAt works but blur stays, even thought the blur is the script I mod... |
|
Omenapuu |
Development Support
|
6 |
3,748 |
12-30-2014, 01:24 AM |
|
|
Thread: SOLVED
Post: SOLVED
|
Omenapuu |
Development Support
|
6 |
3,748 |
12-29-2014, 11:24 PM |
|
|
Thread: Water monsters
Post: RE: Water monsters
(11-24-2013, 06:19 AM)DeAngelo Wrote: You have to put a crap ton of path nodes everywhere. The water monster uses path nodes to plan a route to the player, if there are none it just tries to make a ... |
|
Omenapuu |
Development Support
|
3 |
2,981 |
11-24-2013, 11:30 AM |
|
|
Thread: Water monsters
Post: Water monsters
Hey, I was just wondering, as I'm making a custom story that has a water monster:
How do I make that the watermonster follows and goes to everywhere the player goes without getting stuck in every wal... |
|
Omenapuu |
Development Support
|
3 |
2,981 |
11-24-2013, 01:15 AM |
|
|
Thread: Random variables
Post: RE: Random variables
(10-30-2013, 08:21 PM)Robosprog Wrote: PHP Code:if(RandInt(1, 8) == 8){PlaySoundAtEntity("", "scare_animal_squeal.snt", "Player", 0.60, false);} &... |
|
Omenapuu |
Development Support
|
3 |
2,381 |
10-30-2013, 09:09 PM |
|
|
Thread: Random variables
Post: Random variables
Hi everyone, and happy coding! I'm asking if anyone of you know how to use the RandInt code. I basically know the variables and so, but as I can't name the random int, how to I make an if-else stateme... |
|
Omenapuu |
Development Support
|
3 |
2,381 |
10-30-2013, 07:49 PM |