0 Members and 3 Guests are viewing this topic.
Yea, it will be possible to kill your teammates even if you set damage to 0. That's how these f**king m79 bullets work.
Quote from: Neosano on December 17, 2009, 09:16:47 amYea, it will be possible to kill your teammates even if you set damage to 0. That's how these f**king m79 bullets work.Oh, I didn't know that. Do grenades and the Law do the same thing, or is just the m79? It wouldn't really be a problem, if someone gets killed by their teammate they would just respawn on the same team. I would just have to make sure that in the script a teamkill resulting in the death of the leader doesn't screw everything up.
Quote from: Neosano on December 17, 2009, 09:16:47 amYea, it will be possible to kill your teammates even if you set damage to 0. That's how these f**king m79 bullets work.Bulls**t.
Just a question about the game mode itself...If victory can only be achieved by being the leader of the winning team...why would anyone actually play. I mean, if you get killed by someone, you join their team. Now, unless either your team leader dies you can't win. So every player who "joins" another team will just try to get their leader killed.So pretty much the only way to win is if you kill everyone really quickly, while everyone on your "team" is trying to f**k you up.That seems...I dunno...counter-intuitive?
If the leader got killed - all his team is moving to another team or only the leader?First one will solve this.
was it DM btw?
Quote from: miketh2005 on July 10, 2009, 07:31:20 pmDonate to enesceHAHAHAHAHAHAHA
Donate to enesce
//SuperVillians Script v0.3 //concocted and shoddily put together by Londonbrig0 var VTeam: array[1..12] of string; //VTeam is supposed to stand for "villian team" Leader: array[1..12] of boolean; //and 12 is current max number of players i: integer; //used for id of players Winner: boolean; //variable used to end game when everyone is on the same team //When someone joins, set their team to their own name, and make them a leaderprocedure OnJoinGame(ID, Team: byte); begin VTeam[ID] := +IDToName(ID); if VTeam[ID] = +IDToName(ID) then Leader[ID] := true; end;//this is so I can check teams when I'm testing//I'll probably leave this in to let players check the teams ingame if they want.function OnCommand(ID: Byte; Text: string): boolean; begin if (Text = '/teams') then for i := 1 to 12 do begin WriteConsole(ID, +IDToName(i) +' is on team ' +VTeam[i], $EE81FAA1) end; end;//what happens when someone is killedprocedure OnPlayerKill(Killer, Victim: byte;Weapon: byte); begin if VTeam[Victim] = VTeam[Killer] then //if it was somehow a team kill SetScore(Killer,GetPlayerStat(Killer, 'Kills') - 1) //take away the point the killer got else begin VTeam[Victim] := VTeam[Killer]; //they are now fighting on the team of their killer SetScore(NameToID(VTeam[Killer]),GetPlayerStat(NameToID(VTeam[Killer]), 'Kills') + 1); //the leader of the killer's team get's a bonus point if Leader[Victim] = true then //if the victim was a leader begin Leader[Victim] := false; //the victim is now no longer a leader for i := 1 to 12 do begin if VTeam[i] = +IDToName(Victim) then //everyone who was fighting for the victim begin VTeam[i] := +IDToName(i); //are now free Leader[i] := true //and leaders again end; end; end; end;//There are probably issues with semicolons between line 26 and here Winner := true; //temporarily set end game variable for i := 1 to 12 do begin if VTeam[i] != +IDToName(Killer) then //is there anyone not on the killer's team? Winner := false; //if so, no one has won yet end; if Winner = true then //if there is a winner begin DrawText(0,2,'Team' + VTeam[Killer] + 'wins!',330,RGB(255,0,0),0.20,40,240); TimeLeft := 0; //end the game (will this work?) end; end;
[...]Any advice is much appreciated, thank you.[...]