Jump to content
Sign in to follow this  
colonelmolerat

Make Zeus respawn the only one?

Recommended Posts

[Title edited for clarity]

I posted a question, but worked part of it out, so I thought I'd edit this. The original post is attached.

I'm trying to set up a map in which the only available spawn is the Zeus spawn module, and the players don't get the spawn location menu when respawning.

Currently, my mission works fine, but when somebody dies, they get the spawn location menu, with the only choice being the Zeus spawn module.

There are no spawn markers (eg respawn_west) placed on the map. My description.ext looks like this:

respawn = 3;

respawnDelay = 2;

respawnTemplates[] = {"MenuPosition"};

respawnOnStart = 0;

I had to add 'respawnOnStart = 0;' because otherwise I get the message 'No Spawn Available' before I've managed to spawn as Zeus and create a spawn point.

Unfortunately, if I delete 'respawnTemplates[] = {"MenuPosition"};' when the player dies (even after Zeus has placed the respawn), it acts as if there are no spawn points placed. The Zeus respawn will only work if the player has the option to select it with that respawn template. I want the respawn to work without that menu appearing.

[Previous Post]

I'm trying to make a mission where the Zeus respawn module is the only respawn.

This is my current description.ext:

// Respawn type

respawn = 3;

// Delay in seconds before playable unit respawns.

respawnDelay = 2;

// Lets player choose spawn

respawnTemplates[] = {"MenuPosition"};

However, unless I place a 'respawn_west' marker, I can't start the mission because there are no spawn points. If I DO place a 'respawn_west', then the player has a choice of that respawn, or the Zeus one.

If I remove the 'respawnTemplates[] = {"MenuPosition"};', then the player doesn't get a choice, but they'll always spawn at the 'respawn_west'.

If I set the respawn type to instant, then the character respawns where they died, not at the Zeus respawn module.

Can anybody help? Thanks!

EDIT:

I added this to the description file:

respawnOnStart = 0;

And that lets me start the map now, even with no spawn point set.

If I then set a spawn point with Zeus, I can only spawn there.

However, it still only works with 'respawnTemplates = {"MenuPosition"}'. I'd like to know if there's a way to make it work without that.

Edited by ColonelMolerat

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×