Jump to content

Configuracion de Battleground


Mander

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/12/13
  • Last Seen:  

Saludos amigo, e estado intentando configurar mi Battleground, sin tener buen resultado, necesito cambiar la cantidad de jugadores necesarios para comenzar el BG, y la cantidad de medallas que este da por ganar y perder, alguien sabe de alguna guía que hable del tema o mejor aun alguien sabe como puedo lograr esto?

Saludos.................................

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  85
  • Reputation:   17
  • Joined:  12/25/11
  • Last Seen:  

Para cambiar el numero de users :

by @Brian
Here's how you can edit a BG script and change the team size:

  1. open the file for that BG (ex: for Tierra 1, open ../npc/battleground/tierra/tierra01.txt)
  2. in the first 2 npcs, find the lines that start like this:
     
        waitingroom "Battle Station",10, ...
     

     

    that 10 is the waitingroom limit. Edit it to your new team size (ex: 5).
    Make sure you edit that for both lines.
  3. Ctrl+F and search for "< 10"
    and you should find this line:

       else if( .@Guillaume < 10 || .@Croix < 10 )
     

     

  4. Edit both of those 10's to your new team size.
    (so to make it 5v5, edit that line to this: 

     

      else if( .@Guillaume < 5 || .@Croix < 5 )
     

     

  5. save the file, edit any other BG scripts you want to change,
    and restart the map-server (or @reloadscript)

 

 

 

 


Para modificar la cantidad del premio, aqui se tiene que modificar para los 2 equipos, tanto para si ganan o pierde

// Battleground rewards
// *********************************************************************

bat_a01,45,19,3    script    Croix Vintenar#tv1    415,{
    if( $@TierraBG1_Victory )
    {
        if( $@TierraBG1_Victory == Bat_Team )
        { // Victory
          

 

 set .@Reward, 3; // modificar la cantidad si gana el equipo Croix
 

 

            mes "[swandery]";
            mes "Blessed Croax!!";
            mes "Let's enjoy our glorious victory!";
            mes "" + strcharinfo(0) + ", its a sign reflecting victory";
            close2;
        }
        else
        { //
          

 

 set .@Reward, 1; // Modificar si pierde el equipo Croix
 

 

            mes "[swandery]";
            mes "Oh, " + strcharinfo(0) + ". Don't be sad.";
            mes "Even though we didn't win, we did our best.";
            mes "This is a Royal gift from Croix, and please don't forget this battle. We can win the next.";
            close2;
        }

        setquest 2069;
        getitem 7828, .@Reward;
        bg_leave;
        warp "bat_room",155,150;
        end;
    }
    end;
}

bat_a01,53,377,3    script    Guillaume Vintenar#tv1    419,{
    if( $@TierraBG1_Victory )
    {
        if( $@TierraBG1_Victory == Bat_Team )
        { // Victory
           

 

set .@Reward, 3; // Modificar cantidad si gana el equipo Guillaume
 

 

            mes "[swandery]";
            mes "Blessed Guillaume!!";
            mes "Let's enjoy our glorious victory!";
            mes "" + strcharinfo(0) + ", its a sign reflecting victory";
            close2;
        }
        else
        { //
         

 

  set .@Reward, 1; // Modificar si pierde el equipo Guillame
 

 

            mes "[swandery]";
            mes "You lost, but you're dedicated to this battle.";
            mes "This is a reward for your great dedication by Guillaume Marollo!";
            mes "Just take this defeat a lesson, and later you would definitely learn.";
            close2;
        }

        setquest 2069;
        getitem 7828, .@Reward;
        bg_leave;
        warp "bat_room",155,150;
        end;
    }
    end;
}
 

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.

Guest
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.

×
×
  • Create New...