Views: 22,888,651 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
10-04-24 03:00 PM |
Guest: |
0 users reading MSBT Editing | 1 bot |
Main - Archived forums - SMG documentations and tutorials - MSBT Editing | Hide post layouts | New reply |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 111 Posts: 1608/3604 EXP: 14468776 Next: 399584 Since: 07-07-12 From: Colorado Last post: 3264 days ago Last view: 1421 days ago |
*REPOST FROM THE ARCHIVE*I thought that I ought to take the time to explain messages and such. To start off with, adding new messages. Take for example Flip-Swap. I would add another message like this: <message label="Monte000"> If you want to add in an NPC and none that are like it exist already, it would be the filename (Monte), and you would start a counter at 000 and work your way up. The number is the important part as that is the message ID. In my example, I would add a Monte in a map with the MessageID 0. Now onto the trigger. <trigger>shout</trigger> There are 4 possible kinds of triggers - talk, shout, auto, and auto_global. Talk would be where you walk close to the NPC and press A to talk. Shout is where the message is displayed above the NPC when you walk close, which is what mine is. Auto is apparently like talk and shout combined. You would walk close to it and then it automatically talks to you. Auto_global is where it will talk to you no matter where you are. This would be something like the trailer at 0:12, where when you land the bunny automatically talks to you. http://www.youtube.com/watch?v=iatTKUw00Vo&feature=plcp Next is the unknown tags. I dont know what the unknown things are but according to blank, 0-6 are intergers from 0-255, and 7 is a string. However, as long as you follow the same thing as a working NPC, you should be good. Lastly is the string message itself. You can have normal text only if you want, but there is a lot you can do to customize it. First up is the font tag. It can have 2 possible attributes - size, and color. The possible things for color are black, red, green, blue, yellow, purple, orange, gray, and none. Possible sizes are simple - small, normal, and large. An example would be <font color="red" size="small"/> Hello! <font color="black" size="normal"/> Then you have the character tag which inserts the current character that is playing. It doesn't need an attribute so I assume you'd put <character/> Then we have the wait tag, which requires an attribute for the amount of time to wait. An example is <wait time="30"/> I assume that the time is in milliseconds or something because I got this from that very first planet in Sky Station, and none of the text waits for THIRTY SECONDS. We can also add in an icon, which needs a source attribute. The possible attributes are We can also play a sound effect while saying text. It requires a source attribute The following example was taken from a hungry luma making its little squealing noise as it TTTTTRRRRRAAAAAANNNNNSSSSFFFOOOOOOOOOORRRMMMMSSS <sound src="SE_SV_TICOFAT_META"/> Lastly, we can also have a variable tag which I dont see as useful until we look into it more. This was also taken from the hungry luma and based on context clues, I'm assuming this calls forth and displays the number of starbits it wants. <variable data="0000000000000000" parameter="3" type="integer"/> Hope my guide was helpful (Despite being rediculously long). Here's the files for the test level I created and used for this guide. I changed one of the coins in star 1 of flip-swap to a pianta that when you walk near it says "I'm a chuckster!" https://dl.dropbox.com/u/56043942/Requests/MessageDemo.zip |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 124 Posts: 1245/4661 EXP: 21280019 Next: 556582 Since: 07-07-12 Last post: 1511 days ago Last view: 524 days ago |
You also forgot about Flow_000
It's a messaged triggered at a certain time. Such as: |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 111 Posts: 1609/3604 EXP: 14468776 Next: 399584 Since: 07-07-12 From: Colorado Last post: 3264 days ago Last view: 1421 days ago |
Well at the time I didn't know anything about it, but if you explain thoroughly what it is I can add it to the post
____________________ "I hate playing musical chats" ~ Quote of the month |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 124 Posts: 1246/4661 EXP: 21280019 Next: 556582 Since: 07-07-12 Last post: 1511 days ago Last view: 524 days ago |
It's a triggered text event in which an event happens.
For example. Toad Before Bowser Attack: (Flow_000) Peaceful...yay. Toad After Bowser Attack: (Flow_001) OMFOMGOMFMOGMOFMOGMOMFMGMFMOGMOMGOMFMGMFOMGOMFGOMOFMGOMOFGMOFMOG ____________________ a |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 111 Posts: 1610/3604 EXP: 14468776 Next: 399584 Since: 07-07-12 From: Colorado Last post: 3264 days ago Last view: 1421 days ago |
Well yes but what triggers it? ____________________ "I hate playing musical chats" ~ Quote of the month |
shibboleet |
| ||
Fire Mario DROP TABLE users; Level: 124 Posts: 1247/4661 EXP: 21280019 Next: 556582 Since: 07-07-12 Last post: 1511 days ago Last view: 524 days ago |
That....I do not know yet. :/
Possibly in the Map files...dunno. ____________________ a |
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 1713/3145 EXP: 11794405 Next: 67721 Since: 07-07-12 From: Dolphic Island Last post: 2760 days ago Last view: 2758 days ago |
This stuff is waaaay to much of a pain to extract and all that, PLEASE MEGA-MARIO in Whitehole make an msbt reader. ;-; |
Stygmax |
| ||
SMG2.5 Cartographer Level: 89 Posts: 1052/2178 EXP: 6683805 Next: 232096 Since: 12-02-12 Last post: 559 days ago Last view: 157 days ago |
Nuntius Novus is easy to use once you just press a button in WiiExplorer. Status: It was really, really fun, guys - thanks for the ride!
|
MK7tester |
| ||
Magikoopa I'm back Level: 104 Posts: 1738/3145 EXP: 11794405 Next: 67721 Since: 07-07-12 From: Dolphic Island Last post: 2760 days ago Last view: 2758 days ago |
Ummm......what? |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 111 Posts: 1644/3604 EXP: 14468776 Next: 399584 Since: 07-07-12 From: Colorado Last post: 3264 days ago Last view: 1421 days ago |
Basically he's saying that you should use the GUI Anthe made. ____________________ "I hate playing musical chats" ~ Quote of the month |
Jesse |
| ||
Member Normal user Level: 53 Posts: 15/688 EXP: 1148067 Next: 9052 Since: 09-05-13 Last post: 2540 days ago Last view: 2102 days ago |
Posted by Luigi |
Main - Archived forums - SMG documentations and tutorials - MSBT Editing | Hide post layouts | New reply |
Page rendered in 0.066 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 218/218, time: 0.021 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |