trigger_changelevel not working Created 2 years ago2022-01-02 15:13:23 UTC by Sbni_CZ Sbni_CZ

Created 2 years ago2022-01-02 15:13:23 UTC by Sbni_CZ Sbni_CZ

Posted 2 years ago2022-01-02 15:13:23 UTC Post #346178
Hello, I made trigger_changelevel on my two maps but it doesn't work for me, it always puts me in the main menu, and I don't know what the problem is, I looked at all the tutorials I could find but nothing works

CONSOLE:
---- Host_Changelevel ----
Loading game from //MOD/save/sl_2.HL1 ...
ERROR: couldn't open.
Loading game from //MOD/save/sl_01.HL1 ...
ERROR: couldn't open.
Level transition ERROR
Can't find connection to sl_1 from sl_2
'cfg / motd.txt' not found; not loaded
'cfg / motd_text.txt' not found; not loaded
SV_ActivateServer: setting tickrate to 66.7
Dropped Sbni_CZ from server (Server shutting down)

MAP 1
___
Landmark:

Name: lan_1
/
Trigger_changelevel:/

Start disabled: No
Name: chl1
New map name: sl_2
Landmark name: lan_1

*
MAP 2*
____
Landmark name: lan_1

I don't know what the problem is, by the way, I have the maps in my custom folder that I created, I don't know if that's the case, but when I put it in \ Maps, it didn't work either.
Posted 2 years ago2022-01-02 17:37:18 UTC Post #346179
Map 2 also needs a trigger_changelevel pointing to map 1. Even if it's a one-way transition, in which case check the Use Only flag.

See https://twhl.info/wiki/page/Tutorial%3A_Changing_Levels
You must be logged in to post a response.