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
Message help
jamistara Offline
Junior Member

Posts: 21
Threads: 7
Joined: Nov 2012
Reputation: 0
#1
Message help

In HPL2, I remember just being able to use the SetMessage(?) function to show messages on the screen.

I can't find any functions like this in engine scripts for Soma, anyone else knows if/where/what is that function? Huh
03-09-2016, 02:42 PM
Find
A.M Team Offline
Banned

Posts: 811
Threads: 63
Joined: Sep 2014
#2
RE: Message help

Have you tried looking through the HPL3 wiki?

https://wiki.frictionalgames.com/hpl3/start
03-09-2016, 03:23 PM
Find
jamistara Offline
Junior Member

Posts: 21
Threads: 7
Joined: Nov 2012
Reputation: 0
#3
RE: Message help

(03-09-2016, 03:23 PM)TheDoctorPoo Wrote: Have you tried looking through the HPL3 wiki?

https://wiki.frictionalgames.com/hpl3/start

Yeah I've tried but so far haven't found anything :/
03-09-2016, 03:36 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Message help

There's no such function for it, but you can create one using the GUI code. I remember someone asking something similar. Perhaps it was Abion47 who replied with an example.

This might've been the thread I was thinking of, but it doesn't quite have your answer.
https://www.frictionalgames.com/forum/thread-31660.html

(This post was last modified: 03-09-2016, 05:34 PM by Mudbill.)
03-09-2016, 05:24 PM
Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#5
RE: Message help

For now the easiest solution is to use subtitles instead.

But I know for a fact that it is possible to project a terminal on top of the players face, and therefore get all of the GUI features they have, since they did this with the deathscreen in the maingame.

The problem with using this method in the main game is the following:
1. the deathfx terminal is non transparent, and completely dark, so a custom one must be made (do note that transparent terminals are indeed supported, tested it myself, so it's just a matter of setting it up)
2. the old terminal code was never intended for a moving player, and will likely need to be revised, at least from what I can remember I could not get it to work properly in the time I spend fiddling with it.

This is pretty advanced stuff, so I would recommend going with the subtitle solution for now, unless you suddenly become super modder man.
(This post was last modified: 03-09-2016, 07:33 PM by WALP.)
03-09-2016, 07:31 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#6
RE: Message help

I've seen people asking about this a lot, so I did this today: https://www.frictionalgames.com/forum/thread-41838.html
03-10-2016, 01:49 AM
Find
jamistara Offline
Junior Member

Posts: 21
Threads: 7
Joined: Nov 2012
Reputation: 0
#7
RE: Message help

(03-10-2016, 01:49 AM)Abion47 Wrote: I've seen people asking about this a lot, so I did this today: https://www.frictionalgames.com/forum/thread-41838.html

Awesome!
03-10-2016, 04:46 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#8
RE: Message help

(03-09-2016, 07:31 PM)WALP Wrote: For now the easiest solution is to use subtitles instead.

But I know for a fact that it is possible to project a terminal on top of the players face, and therefore get all of the GUI features they have, since they did this with the deathscreen in the maingame.

The problem with using this method in the main game is the following:
1. the deathfx terminal is non transparent, and completely dark, so a custom one must be made (do note that transparent terminals are indeed supported, tested it myself, so it's just a matter of setting it up)
2. the old terminal code was never intended for a moving player, and will likely need to be revised, at least from what I can remember I could not get it to work properly in the time I spend fiddling with it.

This is pretty advanced stuff, so I would recommend going with the subtitle solution for now, unless you suddenly become super modder man.

Forgot to address this.

The reason that FG went with the terminal-attached-to-the-player's-face approach for the game over sequence was so they could make use of the visual effects (like chromatic aberration) during the sequence in addition to the spooky pictures. The regular way to draw stuff to the player's screen doesn't support these effects, which is why they went with that approach.

Unless you have a specific reason to use specialized terminals over player modules for the HUD stuff, the modules are supremely simpler to use, and they don't require that the player is otherwise stationary (which adds a whole other level of complexity to it all).
03-11-2016, 11:33 AM
Find




Users browsing this thread: 1 Guest(s)