Results 1 to 7 of 7

Thread: Repsawn on task complete

  1. #1

    Repsawn on task complete

    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 )

    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 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.

  2. #2
    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.

  3. #3

    Clarification

    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.
    Last edited by =WBG=aliasant; Sep 14 2009 at 19:13.

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

  5. #5
    Bah ah well I suppose, even though i might not get very far, it could be interesting to experiment anyway

    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.
    Last edited by Fenrir; Sep 16 2009 at 21:31.

  6. #6
    Master Gunnery Sergeant
    Join Date
    Dec 13 2003
    Location
    Melbourne, Australia
    Posts
    1,362
    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.

    Australian Armed Forces - Dedicated Tactical Coop Squad for ArmA2

  7. #7
    Probably spectating the players until respawned as not to get bored

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •