dynamic player starts

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

dynamic player starts

Postby CBM » Mon Oct 05, 2020 3:27 pm

Lets say I do a map for a space crusade mission...

Imperial fists, ultra marines and bloodangels

...each have their own starting area

Lets say I do 3 playerclasses....
...Imperial fists, ultra marines and bloodangels

Is there and easy way to say make sure that playerstart 1-8 is selected according to class in each level?

Ie.

Bloodangels begin the map on the left side and ultra marines on the right ... so if the player selects ultra marine player class he should use playerstart1_ultra, if bloodangel use playerstart1_blood etc...


How to do this?
User avatar
CBM
Imp Slayer
 
Joined: 09 Oct 2019
Location: The Shores of Hell
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: Yes (Using Development/Testing Version)
Graphics Processor: nVidia with Vulkan support

Re: dynamic player starts

Postby Misery » Sun Nov 29, 2020 12:44 pm

What about an if statement dependent on class? Do it on am Enter script and teleport one class to the correct spot.

Edit: Here's a wiki page on PlayerClass. https://zdoom.org/wiki/PlayerClass

An if statement should be able check player class and send an = class to the teleport destination.
User avatar
Misery
 
Joined: 04 Nov 2018


Return to Mapping

Who is online

Users browsing this forum: No registered users and 0 guests