My problems - 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: My problems (/thread-18769.html) |
RE: My problems - Robby - 10-23-2012 (10-21-2012, 05:51 PM)naseem142 Wrote: Inside the .snt file you can choose how loud is the sound with volume.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). RE: My problems - FlawlessHappiness - 10-23-2012 I would guess 10 is the loudest RE: My problems - Robby - 10-23-2012 (10-23-2012, 06:35 PM)beecake Wrote: I would guess 10 is the loudestIt could be. You can always go louder, as the post above you stated. RE: My problems - naseem142 - 10-25-2012 How do i add mementos when touching a script area? RE: My problems - Kreekakon - 10-25-2012 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. RE: My problems - naseem142 - 10-25-2012 (10-25-2012, 09:53 AM)Kreekakon Wrote: Mementos can be added anytime with this:I know it dos not have to be a script area 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 RE: My problems - The chaser - 10-25-2012 (10-25-2012, 09:54 AM)naseem142 Wrote:For making entities dissapear like wih acid, do this:(10-25-2012, 09:53 AM)Kreekakon Wrote: Mementos can be added anytime with this:I know it dos not have to be a script area SetPropActiveAndFade("Nameofentity", false, 3); RE: My problems - naseem142 - 10-25-2012 (10-25-2012, 10:52 AM)The chaser Wrote:Thank you , sir(10-25-2012, 09:54 AM)naseem142 Wrote:For making entities dissapear like wih acid, do this:(10-25-2012, 09:53 AM)Kreekakon Wrote: Mementos can be added anytime with this:I know it dos not have to be a script area RE: My problems - naseem142 - 10-26-2012 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> RE: My problems - The chaser - 10-26-2012 (10-26-2012, 11:34 AM)naseem142 Wrote: Is this is how to add mementos?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> |