Jump to content
Sign in to follow this  
imustkill

Choosing Respawn Points

Recommended Posts

Hello, I am making a training map using a good bit of Sahrani, and here is what I want to do with respawn:

When a player dies, they can choose which place they want to spawn (pretty much like in the CTI that BIS made, but I can't seem to use it as a model).

Can anybody help? I did some forum searching but couldn't find exactly what I am looking for.

Share this post


Link to post
Share on other sites

Yes, I've looked at the same thing. After looking at CTI, it's not simple, as I understand it.

The respawn page you see is not the in-game map, but rather an identicle island image with the flags drawn on it. Then you must detect the mouse click coordinate locations over every flag you decide to have. Each click has a different action setting a global variable for where you want to spawn. Each flag has multiple states displayed as different colours depending on its captured ownership and also when you select it.

Disect the CTI mission and you can replicate it, but make sure it's a worthwhile mission, since it'll take a bit of effort on your part. Someone will probably eventually extract just that functionality from the mission to use in other missions, but until then, I suspect you're on your own.

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  

×