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


Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My problems
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
RE: My problems

(10-21-2012, 05:51 PM)naseem142 Wrote: Inside the .snt file you can choose how loud is the sound with volume.
Is there a max number or something like that?
Never tested that, but I think there definitely is one. You can't just place a sound to play on volume 100, expecting it to be loud, even on 1% volume on your PC.

In other words, there should be. 1 is the number that I recommend. If you want to amplify a sound, duplicate the script that'll play the sound (except the other script functions, if there are any).

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-23-2012, 06:08 PM by Robby.)
10-23-2012, 05:58 PM
Website Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
RE: My problems

I would guess 10 is the loudest

Trying is the first step to success.
10-23-2012, 06:35 PM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
RE: My problems

(10-23-2012, 06:35 PM)beecake Wrote: I would guess 10 is the loudest
It could be. You can always go louder, as the post above you stated.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
10-23-2012, 06:40 PM
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
RE: My problems

How do i add mementos when touching a script area? Smile

I help people when i'm bored :U


Typing Speed: 74 Words per minute
10-25-2012, 09:50 AM
Website Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
RE: My problems

Mementos can be added anytime with this:

AddQuest(string& asName, string& asNameAndTextEntry);

It does not HAVE to be a script area. Stuff it in wherever you want the quest to be added.

[Image: Tv0YgQb.gif]
Image by BandyGrass
10-25-2012, 09:53 AM
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
RE: My problems

(10-25-2012, 09:53 AM)Kreekakon Wrote: Mementos can be added anytime with this:

AddQuest(string& asName, string& asNameAndTextEntry);

It does not HAVE to be a script area. Stuff it in wherever you want the quest to be added.
I know it dos not have to be a script area Rolleyes
But thanks for helping

EDIT: Wait , string& asNameAndTextEntry is the entry name in lang file? and what is the name of the category i should put in extra_lang?

oh and i want to know the function that makes entities disappear dramatically , like when it happened in the original amnesia where you use the acid to melt the shadow to pass.
Thank you Wink

I help people when i'm bored :U


Typing Speed: 74 Words per minute
(This post was last modified: 10-25-2012, 10:21 AM by naseem142.)
10-25-2012, 09:54 AM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
RE: My problems

(10-25-2012, 09:54 AM)naseem142 Wrote:
(10-25-2012, 09:53 AM)Kreekakon Wrote: Mementos can be added anytime with this:

AddQuest(string& asName, string& asNameAndTextEntry);

It does not HAVE to be a script area. Stuff it in wherever you want the quest to be added.
I know it dos not have to be a script area Rolleyes
But thanks for helping

EDIT: Wait , string& asNameAndTextEntry is the entry name in lang file? and what is the name of the category i should put in extra_lang?

oh and i want to know the function that makes entities disappear dramatically , like when it happened in the original amnesia where you use the acid to melt the shadow to pass.
Thank you Wink
For making entities dissapear like wih acid, do this:

SetPropActiveAndFade("Nameofentity", false, 3);

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-25-2012, 10:52 AM
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
RE: My problems

(10-25-2012, 10:52 AM)The chaser Wrote:
(10-25-2012, 09:54 AM)naseem142 Wrote:
(10-25-2012, 09:53 AM)Kreekakon Wrote: Mementos can be added anytime with this:

AddQuest(string& asName, string& asNameAndTextEntry);

It does not HAVE to be a script area. Stuff it in wherever you want the quest to be added.
I know it dos not have to be a script area Rolleyes
But thanks for helping

EDIT: Wait , string& asNameAndTextEntry is the entry name in lang file? and what is the name of the category i should put in extra_lang?

oh and i want to know the function that makes entities disappear dramatically , like when it happened in the original amnesia where you use the acid to melt the shadow to pass.
Thank you Wink
For making entities dissapear like wih acid, do this:

SetPropActiveAndFade("Nameofentity", false, 3);
Thank you , sir Big Grin

I help people when i'm bored :U


Typing Speed: 74 Words per minute
10-25-2012, 10:55 AM
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
RE: My problems

Is this is how to add mementos?

.hps file:



void OnStart()
{
AddEntityCollideCallback("Player", "Quest1", "Quest_func_1", true, 1);
}


void Quest_func_1(string &in asItem, string &in asEntity)
{
AddQuest("Quest1" , "Quest_1");
}

extra_lang file:



<CATEGORY Name="Quest">
<Entry Name="Quest_1_Text">The memento text in here</Entry>
</CATEGORY>

I help people when i'm bored :U


Typing Speed: 74 Words per minute
(This post was last modified: 10-26-2012, 11:35 AM by naseem142.)
10-26-2012, 11:34 AM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
RE: My problems

(10-26-2012, 11:34 AM)naseem142 Wrote: Is this is how to add mementos?

.hps file:


void OnStart()
{
AddEntityCollideCallback("Player", "Quest1", "Quest_func_1", true, 1);
}


void Quest_func_1(string &in asItem, string &in asEntity)
{
AddQuest("Quest1" , "Quest_1");
}

extra_lang file:



<CATEGORY Name="Quest">
<Entry Name="Quest_1_Text">The memento text in here</Entry>
</CATEGORY>
Wrong syntax:


void OnStart()
{
AddEntityCollideCallback("Player", "Quest1", "Quest_func_1", true, 1);
}


void Quest_func_1(string &in asParent, string &in asChild, int alState)
{
AddQuest("Quest1" , "Quest_1");
}

Plus:

<CATEGORY Name="Journal">
<Entry Name="Quest_1_Text">The memento text in here</Entry>
<Entry Name="Note_1_Name">A NOTE</Entry>
<Entry Name="Note_1_Text">This is a note. If you can see the text in it, it means the .lang file is working.</Entry>
</CATEGORY>

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-26-2012, 01:05 PM by The chaser.)
10-26-2012, 01:00 PM
Find




Users browsing this thread: 2 Guest(s)