Please or Register to create posts and topics.

Change level help!

Page 1 of 2Next

I have a short intro-level in which i want to change (when you go out the elevator) to another level.
The change level works fine but when i spawn in the next level i somehow spawn outside the map in total darkness. I were supposed to spawn inside the elevator but i didn't.

In map1 the change_level trigger is:

On pass; change_level; ChangeLevel; map2; 6.00

In map2 i am using the instances:

instances/turbine_elevator/arrival_elevator_a4_base.vmf

instances/turbine_elevator/arrival_elevator_logic.vmf

instances/transitions/arrival_departure_transition_ents.vmf

The logic is not "a4" because i want the elevator to come from above.

What is wrong?

Mostly lurking

Is the origin outside or inside your map? If there isn't an info_player_start in your map, you will spawn at the origin; it's the default location. Make sure you have a spawn somewhere, (In this case it would probably be best to put it in the elevator,) because some elevator instances don't do it automatically. Check that and come back; if that doesn't work, (or you already have a spawn point,) then it's probably an error in the level transitions script.

Another Bad Pun wrote:
Is the origin outside or inside your map? If there isn't an info_player_start in your map, you will spawn at the origin; it's the default location. Make sure you have a spawn somewhere, (In this case it would probably be best to put it in the elevator,) because some elevator instances don't do it automatically. Check that and come back; if that doesn't work, (or you already have a spawn point,) then it's probably an error in the level transitions script.

I am having the transition instance in the map. Isn't that enough?

Mostly lurking

The transition instances work with transitions, not spawns. Most elevator instances have the spawn already in them, but some you have to put it in manually. I'm assuming that the elevator you're using in the second map doesn't have a spawn in it by default. You are probably spawning at the origin because of this, which is probably outside the map. Try placing an info_player_start in the elevator compartment.

Another Bad Pun wrote:
The transition instances work with transitions, not spawns. Most elevator instances have the spawn already in them, but some you have to put it in manually. I'm assuming that the elevator you're using in the second map doesn't have a spawn in it by default. You are probably spawning at the origin because of this, which is probably outside the map. Try placing an info_player_start in the elevator compartment.

I will try it :) And thank you ^^

It works! :D yay!

Mostly lurking

Woohoo!

:hi5:

NEW PROBLEM!!!

When i spawn inside the elevator, It doesn't start... It doesn't go down...

Edit: It happens when i use the command: Map [map name]

Mostly lurking
beecake wrote:
NEW PROBLEM!!!

When i spawn inside the elevator, It doesn't start... It doesn't go down...

Edit: It happens when i use the command: Map [map name]

Yeah, thats a bug that hapens sometimes; its usually at random though. Does it happen everytime or does it happen randomly?

Another Bad Pun wrote:
beecake wrote:
NEW PROBLEM!!!

When i spawn inside the elevator, It doesn't start... It doesn't go down...

Edit: It happens when i use the command: Map [map name]

Yeah, thats a bug that hapens sometimes; its usually at random though. Does it happen everytime or does it happen randomly?

Everytime im testing that map only.. the sequence between the 2 maps works fine ;)

Mostly lurking

Why not custom vscripts? That is how I did the level transitions in A Little Higher, and I edited the elevator instances and saved them as a diffrent file. Set the instances to use your vscript (logic_script), it should work fine.

:A Little Higher: :Tornate: :Blue Portals: :Vectronic: :Youtube: :Twitter: : ModDB: :Old Sig:

The more you give, the less appreciated it will be received.
Page 1 of 2Next