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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Updated thread] Need help
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#81
RE: [Updated thread] Need help

Hey guys, does anybody know how to change actors voice ,sfx sound, for example to create that feeling when an girl, woman is main hero (like Justine)? I got some fancy sounds that should do the trick.

Egypt CS
[Image: 27003.png]
03-22-2015, 06:36 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#82
RE: [Updated thread] Need help

Replace your main_init with Amnesia Justine's one and it should work. Just make sure to save your original config somewhere safe.

I think this is only used for a FC but I don't know. Give it a try...
03-22-2015, 08:43 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#83
RE: [Updated thread] Need help

(03-22-2015, 08:43 PM)TheDoctorPoo Wrote: Replace your main_init with Amnesia Justine's one and it should work. Just make sure to save your original config somewhere safe.

I think this is only used for a FC but I don't know. Give it a try...

Maybe some "total conversion" stuff can help, from hpl2wiki, about parameters that should happen on game start, wait it's a idea Smile

Egypt CS
[Image: 27003.png]
03-22-2015, 08:50 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#84
RE: [Updated thread] Need help

It would be difficult to replace the player sound effects without a mod. I suggest doing an IFC. You can edit those sounds in whatever places justine already does it.

03-22-2015, 09:20 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#85
RE: [Updated thread] Need help

(03-22-2015, 09:20 PM)Mudbill Wrote: It would be difficult to replace the player sound effects without a mod. I suggest doing an IFC. You can edit those sounds in whatever places justine already does it.

Ok, please give me a suggestion, which files I need? Thank you

Egypt CS
[Image: 27003.png]
03-23-2015, 06:26 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#86
RE: [Updated thread] Need help

Edit your mod's game.cfg. Check out this wiki article:

https://wiki.frictionalgames.com/hpl2/am...onfig/game

You can do ctrl-F and find anything regarding "Sound" to find what you're looking for.

(This post was last modified: 03-23-2015, 11:19 AM by Mudbill.)
03-23-2015, 11:18 AM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#87
RE: [Updated thread] Need help

(03-23-2015, 11:18 AM)Mudbill Wrote: Edit your mod's game.cfg. Check out this wiki article:

https://wiki.frictionalgames.com/hpl2/am...onfig/game

You can do ctrl-F and find anything regarding "Sound" to find what you're looking for.

Thank you, your reply is very useful for me Smile

Egypt CS
[Image: 27003.png]
03-23-2015, 01:03 PM
Find
Catalyst Offline
Member

Posts: 213
Threads: 32
Joined: Aug 2014
Reputation: 3
#88
RE: [Updated thread] Need help

My Amnesia is working bad, slower and slower, after I wrote new script.

void AmountOfHealth(string &in asTimer)
{
if(GetPlayerHealth() < 51.0f)
{
PlaySoundAtEntity("Player", "woman_breath.snt", "Player", 0, false);
AddTimer("", 3, "AmountOfHealth");
FadeSepiaColorTo(1,1);
}
if(GetPlayerHealth() > 51.0f)
{
AddTimer("", 3, "AmountOfHealth");
FadeSepiaColorTo(0,1);
}
if(GetPlayerSanity() < 45.0f)
{
AddTimer("", 3, "AmountOfHealth");
PlaySoundAtEntity("Player", "insanity_whispers.snt", "Player", 0, false);
}
if(GetPlayerSanity() > 45.0f)
{
AddTimer("", 3, "AmountOfHealth");
}
}

This script can slow down the PC productivity? I never seen a problem like this...

Memory Used 2.4 GB/ 4 GB Ram CPU Load from 20% to 70%

PS : Right now I found a trojan downloader in my pc, neutralised it, but problem is still here. Testing my mod, after 10 sec of game, game stops, then goes, and then freezes "Amnesia has stopped from working" Sad

Egypt CS
[Image: 27003.png]
(This post was last modified: 03-23-2015, 09:13 PM by Catalyst.)
03-23-2015, 09:06 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#89
RE: [Updated thread] Need help

You're creating an endless timer loop, meaning the longer it runs, the more intensive it gets because it duplicates every time. You need to fix that script.

03-23-2015, 09:43 PM
Find
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#90
RE: [Updated thread] Need help

Well bro you can't just like that toy with the script... Can you see how many "GetPlayerHealth" you have ? All that gives screen boost... i can't imagine that replying over and over for low computer users (like me) it could force PC to stop... That kills FPS bro i think 1 is enough.

03-24-2015, 06:51 AM
Find




Users browsing this thread: 10 Guest(s)