Force spawn player... just One player

Discussion in 'Mapping Questions & Discussion' started by Avaray, Mar 31, 2016.

  1. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
    Short question: Is that possible to force to Spawn just one player? I wonder if is that possible.

    Edit: I mean player that is not dead.
     
    Last edited: Apr 1, 2016
  2. Gabe Noodle from Volvo

    Gabe Noodle from Volvo L3: Member

    Messages:
    142
    Positive Ratings:
    32
    I'm not sure exactly what you're asking.
     
  3. Fragancia

    Fragancia L2: Junior Member

    Messages:
    82
    Positive Ratings:
    29
    Looking at his previous posts, I think he's trying to make a map similar to the MGE mod, where both players one player respawns if one kills the other with the killer getting overheal after IIRC. I don't think it's possible to spawn just one single player without plugins.
     
    Last edited: Apr 2, 2016
  4. henke37

    aa henke37

    Messages:
    1,832
    Positive Ratings:
    420
    He just wants to respawn a player.
     
  5. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,417
    Positive Ratings:
    1,137
    Completely messed up. @henke37 said you want to respawn a player, but how to respawn a player if he's not dead? Ask more clearly.
     
  6. henke37

    aa henke37

    Messages:
    1,832
    Positive Ratings:
    420
    What is death? In this game that is. Not much it turns out. From the viewpoint of respawning, all that is done to undo the death state is to place the player at a given spot (possibly out of many) and reset various variables, such as ammo and health.
     
  7. Nicky

    aa Nicky Rotten Tops

    Messages:
    907
    Positive Ratings:
    1,664
    I started reading your post as if it was an epic monologue. What is death? Death is love, death is life. But yes I believe respawning is pretty much what you just said.
     
    Last edited: Apr 2, 2016
  8. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,816
    Positive Ratings:
    4,655
    I don't think this is possible to do for just a single player, anything that affects respawn times will affect the entire team
     
  9. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,417
    Positive Ratings:
    1,137
    Well, it does not "reset" health and ammo, as they are integer values, without any given state they could be "reset" to. Pretty sure respawning:
    1. works much more complicated than how you described it;
    2. just calls some resupply method that probably calls player's function to set health to needed state, then calls all weapons' function to make them have needed values of ammo;
    3. etc
    It does not place the player. Once he's dead, he no longer exists in this place and anywhere. Once he's not, he's created again in given places (teamspawns).

    Will anybody give a damn? Did I answer and say what I wanted to say? I don't know.
     
  10. Avaray

    Avaray L2: Junior Member

    Messages:
    73
    Positive Ratings:
    3
    Yes, im lookin for this because of my "MGE" project.
    At this moment Im using point_teleport to teleport player to his spawn point.
    Its like: Player1 is killing Player2. Player2 is spawning and Player1 is teleporting to spawn place.
    In this way Player1 have advantage. Why? - Because he is not loosing time for "Equipning" his loadout and he can do rocketjump without waiting.

    Re-Spawning alive players is possible with game_forcerespawn. Im using that method for map with just one single arena (to spawn Red or Blue team).

    My English isnt so good, but I think I writed my question properly and it have sense:
    Im lookin for answer for my question.
    Im not lookin for Ideas how to solve my problem in other way (because I know how to solve my problem in other way).

    I didnt worked with VScripts yet. Maybe I should start search there?
     
    Last edited: Apr 4, 2016
  11. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,880
    Positive Ratings:
    1,487
    TF2's version of Source doesn't support VScripts. Here is a list of games supporting it. Spoiler alert: TF2 isn't on it.
     
    • Thanks Thanks x 1