Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REQUEST Infected
#1
Not sure if this is even possible, but is there any mod etc, that can auto respawn another infected player if the first one leaves

when a round starts the initial player is auto infected sometimes they quit, so if i'm not on the server the players will obviously leave because the round limit is 16min.

thanks.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#2
I think it is possible since you can see who is on which team. Just check which team has 1 player in it, than you know that is the infected team. Than you just make a loop that checks whether this team has > 1 player. When it is player = 0 than you can do fast_restart with the plugin automaticly.
Reply

#3
Also the internal teamnames (still allies/axis from CoD1) can be read (should be possible via the dedicated server addon; if not, @Nukem should add it). Infected are always the same team (so either axis or allied (I don't know which one and I would think it's axis because they are the bad guys)).

So then checking both teams for 1 player is not necessary anymore. Remains the teamsize check: Wait for the first person to join said team (maybe due to some timing issues the team is empty exactly on round start so I shouldn't rely on that (test it, it might also work)). OnPlayerDisconnect (does that exist?) for that one player (and teamsize didn't change in the meantime) -> ban that person and kill someone (does that make them infected) or just move the team over. Which can be unfair because the model does not change and the new infected might be next to all other players.
Reply

#4
i was hoping it could be done, is @Nukem aware of this or do i need to ask him?

thanks.
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#5
Wasn't there a plugin @zxz0O0 made to prevent leaving ?
[Image: lQDUjba.jpg]
Reply

#6
(02-23-2012, 20:00)OrangePL Wrote: Wasn't there a plugin @zxz0O0 made to prevent leaving ?

What if player lost connection? zxz000's plugin can work, but won't work always.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up [Release] AllInOne! for infected robinvm 4 4,747 10-19-2013, 20:00
Last Post: Casper
  Infected Stuff is semi broken DidUknowiPwn 2 3,463 09-21-2013, 20:22
Last Post: surtek
  [Request] Request for Assistance with Modding COD: BO using Mod Tools one1lion 9 6,677 09-17-2013, 21:04
Last Post: one1lion
  [Request] Airdrop Heaven mod The_Reaper_1 0 2,458 09-10-2013, 14:13
Last Post: The_Reaper_1
  [Request] Request for !afk and !balance plugins. UlTiiMaTuM 3 3,577 09-10-2013, 02:13
Last Post: UlTiiMaTuM
  [Request] no ammo for infected gamemode ExoGamer* 8 5,552 08-15-2013, 18:59
Last Post: Dr3am95
  [Release] AntiRage for Infected Game Mode yokai134 17 14,261 08-04-2013, 22:22
Last Post: yokai134
Wink [Release] Shop system for Infected gametype Nekochan 125 76,567 07-05-2013, 18:09
Last Post: mohammadnanaa
  mw3 infected game restarts SniperViper 1 2,273 05-18-2013, 11:37
Last Post: hillbilly
  Help No infected when infected leaves SniperViper 3 3,283 05-17-2013, 23:55
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.