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 Duplicate Help!
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#1
Map Duplicate Help!

So... we made a pretty major mistake. We have 2 maps, separated with a level transfer door. However, we need it to be one map, with a swing door. Any way to combine two maps? Or are we screwed having to re-create it?

_________________________________
[SOLVED]
Just exported all objects, and imported over. Simple things we were trying to over complicate!

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 08-17-2011, 03:40 PM by JetlinerX.)
08-17-2011, 03:35 PM
Website Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Map Duplicate Help!

There are many ways you can combine 2 maps. I'll go tell you the most basic one. Tongue

Door = swing door used in level transfer.
Map01 = first map that links to second map.
Map02 = second map that links to first map.

void OnStart()
{
     SetEntityPlayerInteractCallback("Door", "Func01", false);
}
void Func01(string &in asEntity)
{
     FadeOut(3);
     FadeIn(6);
     ChangeMap("Map02", "PlayerStartArea_1", "", "");
}

Then on the other side of the door have it do the exact same thing except that have it be "PlayerStartArea_2" and "Map01" for the ChangeMap command function.

Hope this helps! Smile

(This post was last modified: 08-17-2011, 03:43 PM by Kyle.)
08-17-2011, 03:43 PM
Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#3
RE: Map Duplicate Help!

You can select everything from a map. Then export it somewhere and from the other map you can import the stuff you exported!

08-17-2011, 04:44 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#4
RE: Map Duplicate Help!

yes, thats how we did it, I changed this to "Solved" a while ago Wink

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

08-17-2011, 04:46 PM
Website Find




Users browsing this thread: 2 Guest(s)