Jump to content
Sign in to follow this  
Fenrir

Repsawn on task complete

Recommended Posts

Hi all :)

My clan used to be big fans of the gamemode RVSA in GRAW2.

For those who dont know what it was, one side would have to protect 3 AA vehicles. The other side would have to destroy them. This side was limited to one life, and would only respawn once an AA vehicle was destroyed ( you see where this is going :p )

Im thinking this could be useful in a whole variety of long missions, such as kill officer, then ambush, then S&D etc, and also PVP game modes.

While typing this, im keep thinking that this script should be incredibly easy to do, even for someone as bad at scriptin as me :p So far though, i've looked at a few scripts from the past that moves your body to a marker to respawn, but i couldnt figure out how to make it respawn once, and only once, the task is completed.

Thanks.

Share this post


Link to post
Share on other sites

I have a feeling you can't make it work exactly like that. One workaround is to put the respawn spot somewhere where the respawned players can't get out so they have to wait, once an objective is done, setpos them back to action.

Respawn in Arma needs work, it's quite limited at the moment.

Share this post


Link to post
Share on other sites

To clarify what Fenrir wants to do and me too for that matter.

Players only respawn if the team manages to complete an objective.

Could be to plant satchels on a Tung or assassinate a vip or what ever. Only when that objective is cleared will the dead teammates respawn.

The problem that we have is that we cant find a way to script it so that players in the "attacking" team, once killed, Only can view from teammates still alive and only in first person. Then when the team completes the objective the should all respawn and they can then continue to the next objective.

If this can be solved we can make some very very interesting maps.

In RVSA it worked so that the attacking team used mostly silenced weapons and started with the crappiest ones getting better weapons the more points the got.

The defending team also started with crappy but not silenced weapons and also got better weapons the more points they got. Points were given for different kinds of achievments, like 1 point for a kill and 1 point for an assisting kill, 5 points for blowing an ADAT ( thats the objective and there were always 3 ADATs around the map) They could also tag or detag other players and would get points for doing that.

All in all this is a great way to play. Forces the players to play carefully when attacking and agressive but smart when defending. Also a big plus that you got better weapons as you climb hgher in the points.

All or some of this could be made in ARMA2 if only we could solve the "respawn when objective done" thing can be solved.

Also make it so that the deadies can look thru living team mates eyes. This to prevent boredom :)

We need help. Dont talk to me since Im not the one scripting. Talk to Fenrir.

Edited by =WBG=aliasant

Share this post


Link to post
Share on other sites

I understood what you wanted, but as I said, there is no such respawn mode or commands to do exactly that.

Share this post


Link to post
Share on other sites

Bah ah well :) I suppose, even though i might not get very far, it could be interesting to experiment anyway :rolleyes:

I did just have an idea though, probably wont work though. When you define respawn time eg

respawnDelay=20;

Do you think there would be anyway of editing this part, to once something like

tskwest1=successful or tskwest1done

Or something along those lines ? :) And then in another script, just move the respawn_west

marker to the new position once tskwest1=successful or tskwest1done etc.

Edited by Fenrir

Share this post


Link to post
Share on other sites

Easy as piss.

The question is, what do you want your players to do in the mean time?

Wander a lonely island?

Spectate players?

Blank screen?

These are what you need to give, it is simply a setpos after a condition is met.

Also.

How do you want your units to respawn, at a start location? With the 'team'? etc etc.

Share this post


Link to post
Share on other sites

Probably spectating the players until respawned as not to get bored :rolleyes:

I'd need them to respawn at a certain location, i.e where the objective was.

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  

×