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
Configuration Files Help Extra HUD
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Extra HUD

Yes, but probably not quite the way you think.

Create a misc file for your FC. (yourfcname_misc) Make sure you change your resources file to point to this new misc folder.

Open the main_sanity_events.cfg file. Copy a SoundStream entry. Modify everything to the way you want it. You can choose the image to show, but make sure you change the color of it so it doesn't come out red or something.

Change the fade out time to a very large number. Obscenely, unnecessarily large. 1000000000 will do just fine. This will make the image stay there for longer than the player ever could play.

Change this new event's set to "MYHUD" or something. Disable the "Default" set via script, and enable the "MYHUD" set. Trigger it by StartRandomInsanityEvent();. This is unreliable though. If the player exits to the menu and re-enters, the insanity event will disappear, and there's no way to trigger a function when the player loads up the game (it doesn't count as OnEnter; I've tested it). Using a repeating timer to trigger the event may be an option. You'll have to test it thoroughly.

Good luck.

(This post was last modified: 11-03-2011, 12:04 AM by palistov.)
11-03-2011, 12:03 AM
Find


Messages In This Thread
Extra HUD - by nemesis567 - 11-02-2011, 11:46 PM
RE: Extra HUD - by palistov - 11-03-2011, 12:03 AM
RE: Extra HUD - by Apjjm - 11-03-2011, 02:51 AM
RE: Extra HUD - by Tanshaydar - 11-03-2011, 12:11 AM
RE: Extra HUD - by nemesis567 - 11-03-2011, 12:19 AM
RE: Extra HUD - by palistov - 11-03-2011, 12:28 AM
RE: Extra HUD - by nemesis567 - 11-03-2011, 12:38 AM
RE: Extra HUD - by Your Computer - 11-03-2011, 01:01 AM
RE: Extra HUD - by nemesis567 - 11-03-2011, 01:32 AM
RE: Extra HUD - by nemesis567 - 11-03-2011, 03:32 PM
RE: Extra HUD - by Apjjm - 11-03-2011, 09:31 PM
RE: Extra HUD - by nemesis567 - 11-03-2011, 10:39 PM



Users browsing this thread: 1 Guest(s)