Golden Sun Hacking Community
20, January, 2021, 10:04:41 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The last working version of the classic TLA Editor is Teawater's unofficial "mapeditor" draft.
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Custom BBCode Commands  (Read 24836 times)
0 Members and 1 Guest are viewing this topic.
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« on: 12, November, 2009, 12:08:56 AM »

Current custom BBC commands available

- [youtube]Video Url[/youtube] - Embeds a youtube video into a post
- [nicovideo]Video Url[/nicovideo] - Embeds a NicoVideo video into a post
- [sprite= ind #, anim #, dir #]Alternate Text[/sprite] - Inserts an image of a Golden Sun sprite into a post (As long as it's been uploaded)
- [heightmax=# in pixels]Content[/heightmax] - Allows a maximum height for content to be specified, will display a scrollbar if that maximum is exceeded.
- [imgleft]image url[/imgleft] - Aligns images to the left, and allows text to flow seamlessly around them.
- [imgright]image url[/imgright] - Aligns images to the right, and allows text to flow seamlessly around them.
- [float=side (left, or right)]content[/float] - "Float" content on the side of your post, allowing text to wrap seamlessly around it.
- [border]content[/border] - Add a border to content in your post.  (If used with [float] tag, it goes inside of it)

Make your requests for custom commands here.
« Last Edit: 30, September, 2010, 07:20:42 AM by Atrius » Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #1 on: 12, November, 2009, 12:12:32 AM »

[nicovideo]video url[/nicovideo] please!


Also, can we have examples?  I don't quite understand the sprite command...
« Last Edit: 12, November, 2009, 12:53:34 AM by Role » Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« Reply #2 on: 12, November, 2009, 12:25:09 AM »

[sprite= ind #, anim #, dir #]Alternate Text[/sprite] - Inserts an image of a Golden Sun sprite into a post (As long as it's been uploaded)

ind # = Index Number of sprite to insert.
anim # = Animation Number for sprite to insert.
dir # = Direction Number for sprite to insert.

All of these values are the same as they would be in the editor while browsing the sprites in The Lost Age.

For example if you wanted to insert Master Hamma into a post, you could locate her in the sprite viewer in the editor at index # 59.  Looking through her animations we decide we want to insert Animation # 5 into a post, and since it only has direction 0 we insert it as such:
[sprite= 59, 5, 0]Master Hamma[/sprite]
which gives us the following:
Master Hamma
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Regular Member
**

Coins: 0
Offline Offline

Posts: 53

« Reply #3 on: 12, November, 2009, 12:30:56 AM »

I'm never going to get the sprite thing, with all its numbers, but anyways....

Okay, that makes sense.
Logged
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #4 on: 12, November, 2009, 12:31:50 AM »

So, what's the alternate text for?  Mouseover?  Also, what argument should we use for palette swaps?

Ghost - Can I be lich now?
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« Reply #5 on: 12, November, 2009, 12:41:18 AM »

The alternate text also appears if the image doesn't exist.

Seeing as how each sprite has to be uploaded onto the server, palette swaps aren't going to be available.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #6 on: 12, November, 2009, 12:43:06 AM »

Tch.  I was hoping you could just have it use the same thing that the game does to swap the palette... or at least something similar. Ah well.
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« Reply #7 on: 12, November, 2009, 12:51:56 AM »

- [nicovideo]Video Url[/nicovideo]


Doesn't work in post preview for some reason, but does on the actual topic page.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #8 on: 12, November, 2009, 12:53:59 AM »

I LOOOOOOOVE YOOOOOOU!  I never have to use youtube again! Joy



Tee hee...
« Last Edit: 12, November, 2009, 12:59:14 AM by Role » Logged

View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #9 on: 12, November, 2009, 01:40:30 AM »

Ah, the sprite command seems to have broken.  Edit:  FIXED!

Mars Run
« Last Edit: 12, November, 2009, 02:24:49 AM by Role » Logged

View Profile WWW
Veteran Member
*****

Coins: 20
Offline Offline

Emblems: GBA Music Expert
Clan Position: Trickster Goddess of Luna
Posts: 1757

« Reply #10 on: 12, November, 2009, 02:20:41 AM »

hrm...

I approve of the sprite idea. It will make it a lot easier for people to talk about the editor when they can show the exact sprite!
Logged
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #11 on: 29, April, 2010, 07:18:33 AM »

Here's a question - when we make final sprites for our hacks (FINAL, not the Beta sprites we're currently working with), could we perhaps have a command similar to the sprite command for them?  We'd need a reference thread for which sprite is which, but what am I good for, if not for reference threads? XD
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« Reply #12 on: 29, April, 2010, 09:56:45 PM »

Maybe... I'll consider it.  You'll have to settle for using the [img] tag for now.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #13 on: 30, April, 2010, 12:11:49 AM »

Of course.  Not until we get enough for the [csprite] tag to be viable should we actually consider it.
Logged

View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #14 on: 09, September, 2010, 06:47:17 PM »

It's been months, I claim the right to post again.

Although the table tags exist already, you wouldn't mind giving us an in-depth explanation as to how they work and how to make them actually visible, would you?  So far what I've tried for making the table borders visible hasn't worked, and it's kinda frustrating.
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« Reply #15 on: 10, September, 2010, 03:01:31 AM »

Basically the tags are supposed to be nested so that the table tag is on the outside, row tags are inside it, and column tags are inside the row tags.  It ends up looking something like this:

Code:
[table]
     [tr]
          [td]One[/td]
          [td]Two[/td]
     [/tr]
     [tr]
          [td]Three[/td]
          [td]Four[/td]
     [/tr]
[/table]

Which gives us this:

OneTwo
ThreeFour


As you can see the table itself is invisible, but it does align the contents properly.  You can even get more advanced, and do stuff like this:

Spoiler for One:
One
Code:
Two
Quote
Three
Four

As for actually making the table borders visible...  That's probably something I'll have to edit in the php code for the command.
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #16 on: 11, September, 2010, 06:56:34 AM »

Awww, that sucks.  It's gonna make me do ASCII tables for the summons list?


F you, forums.  F you.
Logged

View Profile WWW
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 100
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1767

« Reply #17 on: 11, September, 2010, 07:07:02 AM »

Fixed
Logged

I'm shaking my head in general disapproval of everything
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #18 on: 11, September, 2010, 12:59:54 PM »

Thank you.  Thank you SO much.  Now I can actually make these things readable, AND have them be viewable in lower resolutions.  Fixed width fonts can be kind of... width restricting.
Logged

View Profile WWW
Daddy Poi's Oily Gorillas
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1002
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2493

« Reply #19 on: 12, September, 2010, 12:51:31 AM »

I would like the BBCode for scrollboxes... (You know, like what was done with the sig... ) Edit: Hopefully it is possible to make one (box with attribute for height.)

(Atleast then, we won't have to worry about long spoilers taking up so much room....)
« Last Edit: 12, September, 2010, 12:57:51 AM by charleysdrpepper » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)
View Profile
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Chatbox
15, November, 2020, 03:45:26 PM
Salanewt: We're more alive than the board implies; most discussion takes place over on the Discord server.
15, November, 2020, 03:45:06 PM
Salanewt: Haha, heya!
15, November, 2020, 02:07:50 PM
Frog: Nice to see this place is still alive...ish anyway xD
30, October, 2020, 11:10:23 PM
Salanewt: ... Actually, it's almost time for me to post an update on the forum. It's been coming along really nicely overall, and it was only a couple months or so ago that I added some new status effects to the game.
30, October, 2020, 11:08:41 PM
Salanewt: I need to get it done to start making progress on the parts of the AI Overhaul I want to start working on.
30, October, 2020, 11:08:14 PM
Salanewt: It's going well! I wanted to get more of my djinn reform done this week but I've been busy with other things sadly.
30, October, 2020, 09:58:14 PM
KyleRunner: Hi guys! How are you doing?
13, October, 2020, 11:19:21 AM
MaxiPower: first chapter of my golden sun inspired webtoon is now live. be cool if yas could check it out. https://www.webtoons.com/en/challenge/legacy-of-the-lost-dragoon/the-northern-reaches/viewer?title_no=508487&episode_no=6
31, August, 2020, 08:40:32 AM
Daddy Poi's Oily Gorillas: Being able to convert IPS files to text files to also supporting commenting, and convert back to IPS after changes.... sounds like a fun strategy? 
27, August, 2020, 10:37:30 PM
Salanewt: Hey, thanks! 
25, August, 2020, 12:59:22 AM
Foreclosure: Yo! Looking forward for this AI OVerhaul patch when it's finished :) :) 
19, August, 2020, 07:00:17 PM
Salanewt: That's awesome! I'm pretty good; been working on an AI Overhaul project and have made some nice progress in the past couple weeks; the goal for tonight is to add Deadbeard to GS2 and then I can move onto something new.
19, August, 2020, 01:14:56 PM
Awec: Ye not bad, just checked back in for updates on GS Reloaded really. Although now I'm looking back through some of my old forum posts, which is fun :D how are you?
19, August, 2020, 01:43:07 AM
Salanewt: It sure is! How have you been?
16, August, 2020, 09:40:57 AM
Awec: Yo nice to see this forum is still going
14, August, 2020, 09:06:44 PM
Salanewt: Hey! How goes it?
01, August, 2020, 01:31:53 PM
KyleRunner: Hello, people!
08, July, 2020, 08:57:11 PM
Salanewt: That awkward feeling when almost a quarter of a year goes by without anyone posting a message in this chatbox.
27, April, 2020, 07:54:10 PM
Daddy Poi's Oily Gorillas: I'm having a thought. So I know Atrius's editor is slow at saving sprites.... So I've been thinking.   I am considering another console program.  This time, for importing and exporting sprites/animations. Image files (for sprites), binary files (for animation data), and maybe binary or text files for Settings. Would certainly be cool if it works out. - Console programs are fun, when you can (at least temporarily) cheat out making a full interface editor for them. =P
25, April, 2020, 10:42:07 PM
Daddy Poi's Oily Gorillas: Tried to list those in order of importance, but anyway....
25, April, 2020, 10:37:59 PM
Daddy Poi's Oily Gorillas: GSHC, GS Speedrunning, /r/Golden Sun, GS United Nations, ToK.  Sixth one is border-line I'm not sure.
25, April, 2020, 08:00:21 PM
Daddy Poi's Oily Gorillas: (low as in <100)
25, April, 2020, 08:00:04 PM
Daddy Poi's Oily Gorillas: So while there are quite a few GS Communities out there. There are only up to maybe ~6 Discords worth even the consideration of joining, I think. Most of the rest of them have a fairly low member count. (Of which I can tell?)
14, April, 2020, 10:49:35 AM
Daddy Poi's Oily Gorillas: The Essential Age could be what it stands for?
13, April, 2020, 05:23:32 PM
Misery: Tea editor... that's a cute name for it
01, April, 2020, 02:42:48 AM
JupiterDjinn: Also my browser is sending two o f my messages srry.
01, April, 2020, 02:42:06 AM
JupiterDjinn: Just got the reply. Ok my question is: how can I get the tea editor on Android, because I already have an emulator. But no computer.
31, March, 2020, 07:18:29 PM
Salanewt: Sure thing!
31, March, 2020, 03:38:27 PM
JupiterDjinn: Can I have a question answered?
28, March, 2020, 12:50:13 AM
Salanewt: I want to shrink it down in size later, but yup!

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.114 seconds with 22 queries.