![]() |
|
Creating and Saving Custom Buttons
By Viper12
Buttons make life on hvpb easy. A simple click can execute a few commands, or hundreds of commands. This guide will teach you how to create and load custom buttons for each class.
If you are reading this guide, you know what buttons look like. I am also assuming that you have read my guide to getting started and know how to modify a button. Most players create several buttons for each class. Here is an example of a typical set of buttons for just about any class.
Buttons like, gem gem, get flag, sell gem, and stat, are a few examples of buttons most players make. Additional buttons can include something like these. These two buttons are titled Minigun, and Launcher. They execute a string of commands that change my weapons from a minigun to a launcher, and vice versa. The best way to become comfortable at making buttons is to practice with them. The more you mess around with them, the better you will become.
Now, what happens when you change classes? Lets say you just finished creating a handful of wonderful buttons for Vet Trooper, and you changed to Sniper. Most likely none of your vet trooper buttons will work for sniper because you will have different weapons and different equipment. Your button titled get gem probably looks like this
Rem
right
Get
gem
P
gem jac
Wear left
It would not work for sniper because you are wearing a suit instead of a jacket. Here is where the tutorial begins.
When you are about to level up, and change classes you want to save your current buttons so that the next time you change back to that class, you will already have them made. For this example we will say you are changing from vet to sniper. To save your buttons go to file-buttons-save as. At this point you need to create a file name other than your char name for those buttons. I like to use the prefix reg or tourn, followed by the class name. For example: I have regvet, tournvet, reghw, and tournhw. This allows me to decipher which buttons I want to load depending on what class I am and if I am playing regs or tourns.
So you have saved your buttons for vet trooper and named the file regvet. You have also successfully changed classes and are now a sniper. Now you need to create a new set of buttons. Once you have created all the buttons you need, follow the same procedure for saving them. File-buttons-save as. Then name your file.
One very important thing to remember is that each time you log in to hvpb, the default button file loads. This file is the button titled with your username. Mine is titled Viper12. Each time you log out the buttons that you loaded are automatically saved. So following the progression; you changed classes to sniper and made all of your sniper buttons. You then saved them as regsniper. Then you logged out. When you log back in the button file that will load will not be your sniper buttons. To load your sniper buttons you will need to go to file-buttons-load. Then select your regsniper file. If you want hvpb to load your sniper buttons automatically each time you log in, simply load your regsniper buttons, then save them as your default button. Here is an example: I log in and my sniper buttons aren’t there. I go to file-buttons-load. Select my regsniper file and open it. My sniper buttons load. I want hvpb to load them automatically each time I log into hvpb. Clear as mud? If not here is another example of saving and loading buttons when changing classes.
I am a heavy weapons and just got my level up splat. I decide to change classes to infiltrator. So I click a few times and change classes. Now that I am an infiltrator I need infil buttons, not heavy weapon buttons. So I first save the buttons I made for HW by going file-buttons-save as reghw. If the file already exists I overwrite it so that any changes I made are saved. Now that those buttons are saved I can start making new ones for infil. I make my get flag, get gem, sell gem, and all of my weapons buttons. Now that I am finished, I want to save them so I go to file-buttons-save as reginfil. Finally I am lazy and don’t want to manually load my reginfil buttons each time I log into hvpb. So I tell hvpb to load them automatically by making sure my reginfil buttons are loaded, going to file-buttons-save as Viper12.
Advanced Buttons
This is a cool section about buttons. As you know, you can modify any buttons, and they are everywhere. You have buttons in the “who is online’ window”, in the “store buy” menu, in the “tournament screen” and as you know, on the right of your screen. Lets say you want to multiple people the same message, like, “Welcome to HVPB!” You can make a button in the “who is online” window that can do that for you. Simply hit ctrl w to open the window. Right click on an empty button. Type t ‘%1’ Welcome to HVPB! Next simply highlight someone’s name in the “who is online window” and left click your new button. This is really cool if you like to cap in tournaments.
Another cool trick to help you cap faster in tourns is to open up the tournament screen window. Click the ……tab, and you will see buttons along the bottom. Right click one and you can enter your team name and password. From now on to cap a tourn, all you have to do is left click your new button and you’re done.
Here is a cool tip for helping you reload faster. Sometimes when I play certain classes I keep extra ammo in my scarf or pants. When I get low on my gun I have a button that dumps the contents of my scarf into my gun. When a game ends, my gun and scarf will both be low on ammo. To make life easier I made a button in the “store buy menu” that goes something like this.
Rem
right
Buy
tube
Dump tube gun
Sell
tube
Buy
tube
Dump
tube scarf
Sell
tube
Wear left.
As you can see, this allows me to reload my gun and scarf in one simple click.
You can expand on this principle in games. Instead of making a separate button to reload your gun, incorporate reloading with another button. When I play vet trooper in reg games I like to carry an electronic rifle [semi][barrel] and an advanced assault rifle [barrel]. I have two buttons one saying Elec Rifle the other saying Assault Rif. I keep extra assault paintballs in my pants, and extra tube paintballs in my scarf. I added one command to each button and it reloads each weapon when I switch them.
Rem
assault
Dump
pant assault
Get
scope bac
Wear scope
P
assault bac
Get
elec jac
Dump
jac elec
Wear elec
This means that each time I change weapons I know that I am full of ammunition.
Alias’s have a 100 line limit, but buttons do not. When I change classes I hate doing it manually, so I decided what equipment I liked and make a button that has all the commands to buy the equipment in it. You can use N, E, S, W, to move your char north, east, south, and west. Starting in the locker, my buttons look something like this to change classes . . . .
S
W
W
W
Sellbig head
Sellbig neck
Sellbig body
Sellbig waist
Sellbig left
Sellbig right
Sellbig leg
Sellbig feet
ß---here I buy all the equipment I need form the equipment store
n
n
n
n
n
n
ß--now you are in the mod store, buy your first mod
mod item mod
wear item
ß--continue buying mods and modding them to your equipment
e
e
e
e
e
e
ß--now buy all your weapons
s
s
s
s
s
s
ß--now load all of your weapons