Log In
Interaction Multiplier IconFlying Weather Castform Don't have an account yet? Register now!
.

Forum Thread

bbcode

Forum-Index Help Answered bbcode
s1cklyc1tr1ne
OFFLINE
Trainerlevel: 38

Forum Posts: 115
Posted: Wed, 22/05/2024 20:16 (7 Months ago)
is there a list of item codes for bbcode? like for making a progress bar? specifically looking for gem id or item names at the moment :)

and/or maybe could someone give me an example of the code for a progress bar for any gem?

🍉 free palestine 🍉

~Lycario
OFFLINE
Trainerlevel: 63

Forum Posts: 533
Posted: Wed, 22/05/2024 22:58 (7 Months ago)
There's no list of all item codes, but for every item sprite, it's the same code:
//staticpokeheroes.com/img/items/dragon-gem.png

//staticpokeheroes.com/img/items/white-powder.png




For progress bars, you have two main choices:
The event distribution bar -
This allows you to choose different colours (7 available, just change the "col=1" to "col=2", etc)
[img]//staticpokeheroes.com/img/event_distribution/interact_progress.php?percent=50&col=1[/img]



The EXP bar -
You can choose between blue and green.

[img]//staticpokeheroes.com/img/exp_bar.php?color=green&percent=50[/img]





There is also the battle bar:
[img]//staticpokeheroes.com/img/battle/hp/hp_bar.php?percent=50[/img]

Less than 15% -
Less than 50% -


And the lovemeter, but I don't think anyone uses that:
[img]//staticpokeheroes.com/img/lovemeter.php?percent=50[/img]





I'd say the first one is the best, and most commonly used.

To make an auto-updating progress bar, you'd have to use the bag bbcode.

[bag=Item Name]

Note that it does have to be capitalised. It also doesn't work in previews.

It also works for currencies:
Dream Points, Event Points, PD, Nugget, GC, GGC, SC Token

For progress bars, you'd have to add a bit more:

[img]//staticpokeheroes.com/img/event_distribution/interact_progress.php?percent=[bag=Nugget,goal=20000]&col=1[/img]



Similarly for gems, and other items:
[img]//staticpokeheroes.com/img/event_distribution/interact_progress.php?percent=[bag=Dragon Gem,goal=2000]&col=1[/img]

s1cklyc1tr1ne
OFFLINE
Trainerlevel: 38

Forum Posts: 115
Posted: Wed, 22/05/2024 23:59 (7 Months ago)
thanks! do you know about dex progress bars? afaik you have to update those ones manually :(

🍉 free palestine 🍉

~Yanma~
OFFLINE
Trainerlevel: 37

Forum Posts: 293
Posted: Thu, 23/05/2024 00:01 (7 Months ago)
That would be nice, but you have to manually update bars that relate to Pokemon
This message was written by a Yanma (not a human)
~Lycario
OFFLINE
Trainerlevel: 63

Forum Posts: 533
Posted: Thu, 23/05/2024 00:04 (7 Months ago)
No, you have to update them manually, but there's a suggestion for that. I also made one for other statistics.