changelevel to another Player Start?

Avatar
Flo2912
80 Posts
Posted Sep 20, 2013
Hey guys.

Is it possible to define a Player Start entity that should be accessed if you changelevel to a Map via a point server command? I know there is a checkbox to define one Player start as default startpoint when there are multiple Starts, so I thought it may be possible by naming the Startpoints and giving the rigth command to access to another startpoint in the Map^^

Advertisement
Registered users don’t see ads! Register now!
Avatar
User
630 Posts
Posted Sep 20, 2013
Replied 15 minutes later
Do you mean, what when you enter a map, that you have multiple spawnpoints depending of which Map do you came from?

German
Meinst du wenn du eine Map betrittst, du mal zu dem Spawnpoint, und ein andersmal zum anderem Spawnpoint erscheinst?

Avatar
Flo2912
80 Posts
Posted Sep 20, 2013
Replied 20 minutes later

TheTobbell wrote:
Meinst du wenn du eine Map betrittst, du mal zu dem Spawnpoint, und ein andersmal zum anderem Spawnpoint erscheinst?

Yes. I mean that I spawn on another spawnpoint than normal, If I get into this level from a specific Map^^

German:
?h ja, Ich meine, das ich an einem anderen Spawnpoint starte, wenn ich von einer Bestimmten Map dorthingeleitet werde^^

Avatar
User
630 Posts
Posted Sep 20, 2013
Replied 3 hours later
You can make that with Env_Globals (https://developer.valvesoftware.com/wiki/Env_global). In Map 1 you place an Env_Global, and set the "Global State to Set" to any Word, you can activate the Env_Global with >TurnOn

In Map 2 you place a Logic_auto, and set "Global State to Read" to the same like the env_global in Map 1. When the Env_Global was activated, the logic_auto will fire his outputs. If not activated. when the Logic_auto will do nothing.

For Example: In Map 1 are two exits. If the player goes into exit 1, the env_global will be activated. In Exit 2, not activated.
In Map 2 are two Entrys. If the env_global was activated, let the logic_auto teleport the player to entry 1. (For Example). And if the global wasnt activated, the logic_auto wont teleport the player to entry 1. So he is in Entry 2.

With more Exits/Entrys i didnt tested it yet, i think you need more variables/Env_Globals, but im talking to much, hope you did understand me :biggrin: I have an Attachment, as an Example :wink:

German
||Das kannst du mit Env_Globals (https://developer.valvesoftware.com/wiki/Env_global) machen,
In Map 1 platzierst du den Env_Global, und tr?gst bei "Global State to Set" ein Beliebiges Wort ein.
Und aktivierst ihn mit "->TurnOn".

In Map 2 platzierst du dann nun ein Logic_auto und gibst dort das gleiche Wort (Global State to read) wie im Env_global ein, das hei?t der/die/das logic_auto wird nur aktiv sein wenn in Map 1 Env_Global aktiviert wird.

So kannst du in "Map 1", 2 Ausg?nge machen, und danach kommt Map 2. Geht der Spieler durch Ausgang 1, wird der Env_global nicht aktiviert, und bei ausgang 2 wird er aktiviert. In Map 2 wird der Spieler zu Eingang 2 Teleportiert "Wenn" das Logic_auto aktiviert wird und den Teleport ausl?st. ^^

Bei mehreren Ausg?ngen kannst du auch einfach mehrere Variablen benutzen vom Env_Global (Habe des aber noch nicht getestet ^^)

Ich glaube ich wiederhohle mich, aber hoffe du wei?t was ich meine ^^ (Habe noch 2 .vmf's als beispiel)||

Avatar
josepezdj
2,386 Posts
Posted Sep 21, 2013
Replied 10 hours later
While I respect that anybody speaks in his mother language, with this latest habit you have you are limiting the help that the rest of us (who doesn't know German) can offer on the forums, and limiting also what the rest can learn... so I'd suggest you to use more English :wink:

That, or just dismiss the advice. :thumbup:

Avatar
User
630 Posts
Posted Sep 21, 2013
Replied 37 minutes later

josepezdj wrote:
While I respect that anybody speaks in his mother language, with this latest habit you have you are limiting the help that the rest of us (who doesn't know German) can offer on the forums, so I'd suggest you to use more English :wink:

That, or dismiss the advice. :thumbup:

I think you're right :biggrin:
I will edit my posts :smile:
EDIT: Ok, now all can read my post, ^^

Advertisement
Registered users don’t see ads! Register now!
Avatar
Flo2912
80 Posts
Posted Sep 21, 2013
Replied 6 hours later
Ok, Danke ich werde es mal ausprobieren :smile:

[OK, Thanks. I'll try it]