Jump to content
Mander

Configuracion de Battleground

Recommended Posts

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

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( [email protected] < 10 || [email protected] < 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( [email protected] < 5 || [email protected] < 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( [email protected]_Victory )
    {
        if( [email protected]_Victory == Bat_Team )
        { // Victory
          

 

 set [email protected], 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 [email protected], 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, [email protected];
        bg_leave;
        warp "bat_room",155,150;
        end;
    }
    end;
}

bat_a01,53,377,3    script    Guillaume Vintenar#tv1    419,{
    if( [email protected]_Victory )
    {
        if( [email protected]_Victory == Bat_Team )
        { // Victory
           

 

set [email protected], 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 [email protected], 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, [email protected];
        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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.