Override the Default Player Start with a custom one

Just wondering if it’s possible to override the default player start with your own custom actor? I know it’s possible to spawn at a custom actor, but when I’m using my own actor as a player start (that does not inherit from “player start”, then I can’t use the “Play from default player start” option in the editor.

If you want to start the player at a certain point in the level, just put the character there and set it to auto possess in the details.

( Sorry, I might have missed the point ).

2 Likes

the point is I’m being a nerd. lol Rather than using auto possess or spawning the character in blueprint, I was hoping to use my own custom actor as a player start and not use any player start actors in the world, but still be able to hit Play using the “play from default player start location” option. And be able to do all this without having to write my own spawn code. There’s really not much benefit to doing it this way, I just thought the player start might be something you could override but it looks like it’s hard coded to use it.

My workaround is I spawn in with the default player start located in a box outside them map and then immediately spawn and possess my character.

I wondered if you meant this, it’s always hard to tell which level to answer a question on.

Problem is the engine is looking for a player start, so the only thing you can do is copy it and change it. Using it as a parent wont work of course.

It sounds a bit like you’re using level streaming there?

For that, I put the player start in the map, stream the level and loop until I can see the player start, the make the level visible and spawn the player.

Ahh yes, you are very wise ClockworkOcean :slight_smile: I am in fact using level streaming. That’s actually a good idea your system. The reason I wanted to use my own custom player start was originally because I noticed that parenting to the original Player Start, there was a pop when spawning where you see the level stream in. Granted, I do plan to eventually use a fade in anyway so it would hide it, but I also thought it would be fun to create a better system that checks to see if the player start is either too low or high off the ground as well as checking for intersections with other geometry and notify you if that’s the case (I’m just playing around with code really cause I’m still learning). Hence the being a nerd, but cause I’m wasting time on things that don’t really matter all that much.

Thanks for your reply :slight_smile: