Jump to content

求“人数平衡”补丁


k_o_f

Recommended Posts

我最喜欢的地图是奥马哈,但是,总有一个问题:由于普遍的反美情绪,大家进到这个地图都爱用德军。有一次,32个人,竟然只有3个当美国佬!

这个地图,即使两边人数一样,德军还是绝对优势,只要守住几个复生点,美国佬复活一个死一个。

因此,我在这里想请大侠做一个补丁,要求如下:在奥马哈地图当中,德军人数不能超过总人数的1/3,也就是说,如果有30个人打游戏,德军人数不能超过10人。

一旦超过,即使想选择德军的玩家也会自动归到美军那边(美军就不用调了,从来没见过美国佬很多的)。

不知道可以不可以?

谢谢。

* 就像C语言:

if(Axis.num>=TotalNum/3)

newplayer=Allied

Link to comment
Share on other sites

我最喜欢的地图是奥马哈,但是,总有一个问题:由于普遍的反美情绪,大家进到这个地图都爱用德军。有一次,32个人,竟然只有3个当美国佬!

    这个地图,即使两边人数一样,德军还是绝对优势,只要守住几个复生点,美国佬复活一个死一个。

    因此,我在这里想请大侠做一个补丁,要求如下:在奥马哈地图当中,德军人数不能超过总人数的1/3,也就是说,如果有30个人打游戏,德军人数不能超过10人。

    一旦超过,即使想选择德军的玩家也会自动归到美军那边(美军就不用调了,从来没见过美国佬很多的)。

    不知道可以不可以?

    谢谢。

*  就像C语言:

    if(Axis.num>=TotalNum/3)

      newplayer=Allied

1.假如一方人数>对方人数10人(这个EASY)

level.allies = 0 
level.axis = 0
for(local.i=1;local.i<=$player.size;local.i++)
{
  if($player[local.i].dmteam=="allies")
{
  level.allies++
}
  else if($player[local.i].dmteam=="axis")
{
  level.axis++
                      }[/code]

2.结果双方都重生....(重生到何时..)(这个也达不到目的)

3.只能不让加入这一方(俺还不会)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

访客
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 创建新的...