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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JENS OR ANYBODY who has all knowlege of SANITYEVENTS\HUDS.HELP!!!
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#9
RE: Could use some help with this script not working.

WALL OF TEXT BE WARNED
DAMN!!!!!!!!!!
can NOT find the solution!
i have tried EVERYTHING!
caould someone like JENS look at this?
Many people of us modders have problems with this!
I tried this :
1- Copy and paste 25 different ones like test_1 test_2 etc etc.. didnt work
2- change all the names in mainsanityeventst.cfg like :
Name = "test_1"
Set = "test1"
Name = "testone"
Set = "test_1"
Name = "test_1"
Set = "test_1"
ETC ETC ETC ETC ETC...
3- go into GAME.CFG and change all stuff like this to 0 \ 1:
EventsFile = "Mental Memorial/mm_misc/main_sanity_events.cfg"

MinTimeBetweenEvents = "300"
MaxEventSanity = "65"

MaxSanity_LongWait = "65"
MaxSanity_MedWait = "45"
MaxSanity_ShortWait = "25"
TimeBetween_LongWait = "270" <<<-ALL ORIGINAL
TimeBetween_MedWait = "180"
TimeBetween_ShortWait = "80"

MaxExamineSanity = "50"

InsanityArea_CheckTimeMin = "1"
InsanityArea_CheckTimeMax = "15"
---------------------------------------------
TO:
EventsFile = "Investigator/Investigator_misc/main_sanity_events.cfg"

MinTimeBetweenEvents = "1"
MaxEventSanity = "1"

MaxSanity_LongWait = "1
MaxSanity_MedWait = "1"
MaxSanity_ShortWait = "1"
TimeBetween_LongWait = "1"
TimeBetween_MedWait = "1"
TimeBetween_ShortWait = "1" <<<-ALL CHANGED BY ME

MaxExamineSanity = "1"

InsanityArea_CheckTimeMin = "1"
InsanityArea_CheckTimeMax = "1"
-----------------------------------------
5- Scripted it 5 times different like this for example:
void OnEnter() and i also did put these lines below on void OnSTART()
{
SetInsanitySetEnabled("hud1", false); <--- IS one of the other custom huds
SetInsanitySetEnabled("hud2", false); <--- IS one of the other custom huds
SetInsanitySetEnabled("MagnifierGlass", false); <--- IS one of the other custom huds
SetInsanitySetEnabled("hud3", true);<--- IS one that SHOULD work...........
}
---SCRITPT---
void GoPhonescript(string &in asEntity)
{
SetInsanitySetEnabled("hud1", false);
SetInsanitySetEnabled("hud2", false);
SetInsanitySetEnabled("MagnifierGlass", false);
SetInsanitySetEnabled("hud3", true);
SetPlayerActive(false);
FadeOut(1);
StartRandomInsanityEvent();
}

IT ONLY WORKS RANDOM... WHYYYYYYYYYYY?!??!??!
---
If someone could help me and others here around!
There must be something or someway how this hould work,
The guy : PALISTOF created a hud in HORIZON .. saw the video's.
I asked him a couple of times, but he isnt responding for weeks now.. so i gave up...
MODERATOR\JENS\ANOBODY...
---
If we could fix this i can continue this fc...
or it will be very weird if you need a "tool"-HUD in game and it doesnt work.... that looks SO silly, you will see when it is finished!
Ok, enough of this WALL OF TEXT!
Hopefully we can manage this and work this thing out!
Or,
i am screwed like many more who wants their own hud.

IS there maybe a hidden scriptline like this:
StartRandomInsanityEvent("PUTYOURHUD\SANITYEVENTHERE???");
(This post was last modified: 07-09-2013, 06:29 PM by DnALANGE.)
07-09-2013, 06:27 PM
Find


Messages In This Thread
RE: Could use some help with this script not working. - by DnALANGE - 07-09-2013, 06:27 PM



Users browsing this thread: 1 Guest(s)