MOH:AA [Gametype] Survivor 2

Discussion in 'New Files' started by Elgan, Sep 4, 2008.

  1. bballmcd7 Yes, I am Super :)

    Contributions:
    40
    Specialties:
    Scripting, Pure Gamer
    Processing:
    Graphics:
    PREMIUM
    I Donated
    I don't know if anyone has noticed these...but there are a few bugs, and elgan's scripting is like holy crap. lol

    When a person switches team in the middle of a round, it doesn't recognize it...So say its 2 allies, 1 axis...1 allie goes to axis, the allie gets eliminated round doesn't end.

    Also, it has happened, that when there are 2 left, 1 on each team..the round ends and it says both win.....

    I'll see what I can do to fix it myself, but I'm a noob at scripting.


    Oh, and also....
    When they die, is it possible to leave them on the team dead? Like in obj, you die....but you stay on the team. Possible?
  2. Jethro Sergeant

    Contributions:
    66
    Processing:
    Graphics:
    I would think it would be best for FFA. I made a similar game type for my server and run it FFA.
  3. bballmcd7 Yes, I am Super :)

    Contributions:
    40
    Specialties:
    Scripting, Pure Gamer
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Bleh. I was going to run it for a tourney I'm hosting...We're raising money for the American Cancer Society....lol. But if it's not possible, I'll find something....Hopefully.
  4. Jethro Sergeant

    Contributions:
    66
    Processing:
    Graphics:
    You run spearhead right? I could modify my script to use teams but I don't know if it will work for spearhead, I made it for AA.
  5. bballmcd7 Yes, I am Super :)

    Contributions:
    40
    Specialties:
    Scripting, Pure Gamer
    Processing:
    Graphics:
    PREMIUM
    I Donated
    No, I'm AA. If you wanted to, that'd be SWEET. Hit me up on xfire.
  6. twl_viper Supreme Commander

    Contributions:
    157
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    Does anybody run this? survivor2? first, it kicks you to spec after your first death. The trouble seems to be in the logic of the "spawned" script. anyone ever look at this?
  7. Sor Who made who?

    Contributions:
    93
    Specialties:
    Scripting, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Isn't that the point? Kicking you to spec when you die, if you're talking about the allies. I mean, there's one invisible axis, I think it would be unfair if all the allies he shot down, would keep on coming back, then there's no way for him to win.
  8. LilChefDeath Sergeant

    Contributions:
    58
    Specialties:
    Modeler, Scripting
    Processing:
    Graphics:
    No i don't believe that's the point of it. I've been on servers who run it and when an allied is dead they are respawn and go at it. It makes it a hell of alot more fun :)
  9. twl_viper Supreme Commander

    Contributions:
    157
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    this version (untested) kicks you to spec after the first death when you should have 5 respawns. the game stalls there and will not start over with one in spec and one in game. I like the idea of this gametype stateless, wouldnt use it otherwise. But I think Elgan didn't know it doesnt work.
  10. Sor Who made who?

    Contributions:
    93
    Specialties:
    Scripting, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    I must've been confusing this with Survival horror. But anyway, the problem lies in the spawned.scr. I think this quick revision should do it:
    Code:
    main:
    
    	//we are in the warm up
    	if(level.survivor_warmup == 1)
    	{
    		//allow them in the match.
    		self.playing = 1
    		self takeall
    		self give "models/weapons/silencedpistol.tik"
    		self use "models/weapons/silencedpistol.tik"
    		//turn them immune for the warm up
    		self nodamage
    		end
    	}
    
    	if(self.lives == NIL)
    	{
    		self.lives = level.lives
    	}
    
            if(self.playing == NIL)
            {
                    self.playing = 1
            }
    
    	if(self.playing == 0 && self.lives != NIL && self.lives <= 0)
    	{
    		self iprint "You died."
    		self iprint "You must wait for the next battle"
    		self spectator
    		end
    	}
            
    	self iprint ("You have " + self.lives + " left") 1
    	exec survivor/track_deaths.scr::trackDeath
    	
    end
    Default respawns are 3, so change the "survivor_lives" cvar if you want more or less.
  11. twl_viper Supreme Commander

    Contributions:
    157
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    thanks, Ill test it and report back.
  12. twl_viper Supreme Commander

    Contributions:
    157
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    hmmm. works fine with two players. if a 3rd player joins the battle, the round ends early with 2 winners. if a 3rd player leaves the round starts over. with three players 2 players win after the first elimination.
  13. Sor Who made who?

    Contributions:
    93
    Specialties:
    Scripting, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    I guess there are more issues in Elgan's script than I thought...
  14. Taurus Private

    Contributions:
    0
    Processing:
    Graphics:
    Hi i am new in here but i cant understand the technical language , how can i learn this?

  15. bballmcd7 Yes, I am Super :)

    Contributions:
    40
    Specialties:
    Scripting, Pure Gamer
    Processing:
    Graphics:
    PREMIUM
    I Donated
    See that thing that says "Download Survivor 2" ? Click it...something magic will happen :)
  16. randomdude Private

    Contributions:
    2
    Survivor 2

    Can any give me working link to download survivor2. Thanks
  17. Elgan Captain

    Contributions:
    310
    Specialties:
    Modeler, Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
  18. twl_viper Supreme Commander

    Contributions:
    157
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    Elgan, that script needs some work!!!!
  19. Elgan Captain

    Contributions:
    310
    Specialties:
    Modeler, Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    thats informative... :\

    i know exactly what needs to be done now :D/......and im not going to bother ...not even got moh here so its no going to happen..


    still my fave gametype....virus and survivor
  20. randomdude Private

    Contributions:
    2
    Need Help

    Dear Elgan,

    i need your help to make mohaa better. I have server with 1mb upload speed but not more than 10 users connect on server. i have set the max clients to 20 but after 10 users other connecting users gets connection timout message. Can u help me clear this message so that max users can connect on my server.

    Thanks

Share This Page