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
Map change problems
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#6
RE: Map change problems

In terms of the Level Editor, what happens when you do remove the folder prefix? Try that, then after, try what I mentioned below :3

------

Well, in SOMA personally, I haven't done a map change before. SOMA tries to ease the load of coming maps by preloading them. Have you specified an area say, approximately a minute before the map change where you call the Map_Preload() code block? If not, try creating a trigger area around that position, and when the player collides with it, call the Map_Preload() code.

PHP Code: (Select All)
void Map_Preload(const tString &in asMapNameeWorldStreamPriority aPrio=eWorldStreamPriority_Normal); 

Contextually, you would use this:

PHP Code: (Select All)
void Map_Preload("02_hospital.hpm"); 

And there's no problems with your folder structure. SOMA is pretty clever with locating maps, and in general, is a lot more organised than having one folder with every map. Frictional Games followed the same approach with their maps in the base game. Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 03-12-2016, 02:47 AM by Romulator.)
03-12-2016, 02:12 AM
Find


Messages In This Thread
Map change problems - by Venom Fox - 03-10-2016, 07:19 PM
RE: Map change problems - by Abion47 - 03-10-2016, 11:05 PM
RE: Map change problems - by Guest - 03-11-2016, 06:48 AM
RE: Map change problems - by Romulator - 03-11-2016, 08:52 AM
RE: Map change problems - by Venom Fox - 03-11-2016, 03:03 PM
RE: Map change problems - by Romulator - 03-12-2016, 02:12 AM
RE: Map change problems - by Venom Fox - 03-12-2016, 12:41 PM



Users browsing this thread: 1 Guest(s)