News:

The forum has been updated to SMF (2.1.3)!
Please be patient as we work to polish up the place and update features as we can.

Main Menu

New Feature Preview Topic

Started by Atrius, 30, October, 2008, 02:50:00 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Mion Sonozaki

Here's your favorite cake ever:

Griever

 :!: wrong cake i think.  :Sweat:

Spriting will be easier with the new feature ><
And Felix has way too many sprites  :um:

leaf

Happy birthday atrius! Heh. Even on your birthday you manage to show off more editor awesomeness. Make sure you take a good break today. You deserve it!
[spoiler=quotes]
[9:00:50 PM] Randel Peltier: Ok...what did I do last night?
[9:01:19 PM] Kain: Something boring, repetitive, and lasted for about sixty seconds.
---
[10:45:08 AM] Salanewt: But yeah, the elemental phalluses are being... Stroked up by Saturos and co., and the energy will go towards... Mt. Muffin, where the Golden Climax will arise.
[7:28:42 PM] Salanewt: An added bonus is that Isaac and co. were trying to stop Saturos and co. because their beliefs state that Mt. Muffin should remain a virgin.
---
[9:54:21 PM] Randel Peltier: Guess the number in my head an you get to pick what I say. Number between 1-10
[9:54:28 PM] leaf: 11
[9:54:36 PM] Randel Peltier: @#$%!
---
[8:38:13 PM] Randel Peltier: Shes like this queen up on a pedastal that I have yet to court.
[8:38:29 PM] Kain: You've tried courting her.
[8:38:43 PM] leaf: and failed spectacularly
[8:38:44 PM] Randel Peltier: Ive tried...shes the best dating game ever.
---
[12:24:35 AM] Salanewt: I need to find a picture of a naked person to put on the Christmas tree next year.
---
[2:19:06 PM] Zeadra: wait... Rief's a guy???
---
[1:09:57 PM] Zeadra: well if you want to know if its a new effect or something weird, just check GS1, if side step is there maby it is the nimble dodge thing
[1:10:35 PM] Kioll: For once, you've contributed something useful.  o.O[/spoiler]

Charon

Quote from: Atrius on 13, November, 2010, 04:46:47 AM
Hey there, for my birthday I'm giving you a gift!

Let there be no more doubt what the big new feature for the next major release of the editor is going to be: sprite editing.  The functionality is extremely lacking still, but the interface for it is starting to take shape.

In the first image we see the redesigned sprite interface which will give us the additional access we'll need to do our editing.  We still have our nifty little sprite/animation preview panel from previous versions of the editor, but now we can also browse all of the individual sprites included in the set.  Among the options available here will be to import/export sprites as image files.  The next screen shot displays a basic graphics editing interface which will provide a way to make some changes without the trouble of going through the exporting/importing process.
This made me grin ear to ear. Keep up the good work! (wow, even on your birthday)

Atrius (He/They)

It's about time for a feature people have been wanting ever since they could edit items back in v0.1


What we have here is the shop editor so you can finally put all of those nice new items you've been crafting up for sale.  Before you ask, no this data isn't saved in the map's code where the shop is actually at.  So unfortunately you're stuck just guessing which entry is the shop you're looking to edit, right?  Wrong!








I present to you my latest breakthrough working with ASM code.  This new feature in the NPC editor scans their ASM scripts for certain function calls, and values relating to them in order to provide you with easy access to edit even more of the data NPC's use.  By clicking on the entry for the shop function we get the shop editing interface opened up to the specific entry that NPC uses!



[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

Aile~♥

Yay! Shop editing!

Alsoalsoalso, artifact setting? That's the next thing after shop editing. So we can finally make all those cool rare items we've been making into Artifacts for sale at shops!
[sprite=16, 6, 0]:P[/sprite]

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

[spoiler=epic mindscrew][/spoiler]

Atrius (He/They)

Speaking of artifacts, there's a behavior with shops concerning them that will likely confuse many people.

Because of the way that artifacts are handled (Being able to repurchase ones you've sold/dropped) the artifacts available at a shop are only loaded the first time you shop there.  Basically what this means is that if you talk to a shopkeeper, save, edit their artifacts, reload the game then try talking to them again the changes will not take effect.  You will only see the changes to their artifacts if it's the first time you've talked to that shop keeper with that save game.
[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

MaxiPower

Love it :) My new Hydra Blade is gonna hit the shelves ASAP

also
Love the possible unintentional Commando line

And if you want your kid back, then you gotta co-operate, right?
Wrong! (blows face off with Shotgun)

Atrius (He/They)

#308

Alright, so here we go, artifacts.  This data is how the game keeps track of which items can be re-bought in the artifacts section of a shop if you sell/drop them.  But wait... Somethings odd here, they're stored as multiple individual lists of items?  Well... Not exactly, but this is the best way I found to represent the way they're actually handled.  The original data only ever puts a single item into an artifact slot, but taking advantage of the way the artifact data is formatted you can actually put multiple items in a single slot creating a list of sorts.  This creates an interesting side effect in game.  Let's take this artifact list with the elemental stars, and play with that effect a little bit.

What, you're selling the Mars Star Felix?!!  No we need that to light the lighthouse!!!
Augh, too late he already did it...  Well, since it's an artifact now the shopkeeper will hold onto it for us so we can buy it back.



Okay Shopkeeper we'll take... Wait what, you have all four elemental stars available!?  But... A minute ago all you had was a Water of Life...  Ok, well Saturos already used our Mercury Star to light the lighthouse, but it'd be nice to have another one as a souvenir, we'll take that.



Now the Mars Sta-....  What do you mean you're out!!!  You had one just a second ago, the rest of the elemental stars too, where did they go!!!


So basically what happens is as far as Shopkeepers go all of the artifacts in a list are grouped together.  The amount you sell/drop/buy of any one artifact in a list will affect how many of ALL of the artifacts in that list the shopkeepers will have available.  In this example I could sell whichever elemental star I had to buy a different one, but I could only ever have 1 at a time.  If I were somehow able to get another elemental star and sold it as well the one I had before, I'd be able to buy any 2 back (even duplicates of the same one)


It should also be noted that you can only put an item in one artifact list.  Nothing can appear in multiple lists.
[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

Charon

Felix should have known better than to sell that Mars Star! Regardless, keep up the good work Atrius. :3

D2J

#310
-Sweet. Might Make Some New Weapons Snd Sell Em. Can You Tell Me If You Can Finally Edit Regular NCP Events(Add/Edit/Remove) In The Game???

Aile~♥

Umm... dude? This is the PREVIEW TOPIC. As in, the version of the editor that has those artifact features isn't out yet.

Also, you already can edit NPC events if you can find them in the map code. There's a hex editor for the map sections of the code, so you can mess around with that kind of stuff.

Also, PLEASE stop capitalizing the first letter of every word! It's really annoying.
[sprite=16, 6, 0]:P[/sprite]

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

[spoiler=epic mindscrew][/spoiler]

leaf

#312
Cool. So we could make like... some sort of tokens that you can trade in for new items?

Also, I hadn't thought about this before, but since I noticed that list goes over 256, does that mean we can have up to 4096 items in the game? Not that we'd ever need that many, of course.
[spoiler=quotes]
[9:00:50 PM] Randel Peltier: Ok...what did I do last night?
[9:01:19 PM] Kain: Something boring, repetitive, and lasted for about sixty seconds.
---
[10:45:08 AM] Salanewt: But yeah, the elemental phalluses are being... Stroked up by Saturos and co., and the energy will go towards... Mt. Muffin, where the Golden Climax will arise.
[7:28:42 PM] Salanewt: An added bonus is that Isaac and co. were trying to stop Saturos and co. because their beliefs state that Mt. Muffin should remain a virgin.
---
[9:54:21 PM] Randel Peltier: Guess the number in my head an you get to pick what I say. Number between 1-10
[9:54:28 PM] leaf: 11
[9:54:36 PM] Randel Peltier: @#$%!
---
[8:38:13 PM] Randel Peltier: Shes like this queen up on a pedastal that I have yet to court.
[8:38:29 PM] Kain: You've tried courting her.
[8:38:43 PM] leaf: and failed spectacularly
[8:38:44 PM] Randel Peltier: Ive tried...shes the best dating game ever.
---
[12:24:35 AM] Salanewt: I need to find a picture of a naked person to put on the Christmas tree next year.
---
[2:19:06 PM] Zeadra: wait... Rief's a guy???
---
[1:09:57 PM] Zeadra: well if you want to know if its a new effect or something weird, just check GS1, if side step is there maby it is the nimble dodge thing
[1:10:35 PM] Kioll: For once, you've contributed something useful.  o.O[/spoiler]

Hoopa

#313
This can actually make psynergy shops a viable option! Sweet! Can't wait til the next release Atrius, good work! Also, this means we could make a set of weapons in one artifact slot so that you can buy one but not the others? Like if you buy say weapon A, weapons B and C would become unavailable unless you dropped A, or got another of Weapon A some other way and sold that?
"You seek the truth but are you able to handle it? What you find may not be what you expected... and it may ruin you in the end. Knowing that, will you continue onwards in your journey? Or will you give up and return to a life of apathy? The choice is yours..."

Atrius (He/They)

This is just artifacts.  There are 300 slots for them, that is the number of slots that exist for keeping track of them in memory & saved games, and no there is no way of increasing it.

The theoretical limit for items is 512 counting the empty slot at 0, so technically 511.


Whizkid, as far as shops are concerned they always have the same amount in stock of artifacts in the same list.  You cannot have item A available without items B & C also being available, likewise if A is unavailable neither are B & C.  The shop uses a single stock value to represent a list, if you buy any item in that list the stock value corresponding with it decreases by 1, likewise the value will increase if you sell/drop any item in that list.
[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

Atrius (He/They)

I've been experimenting with some things for selecting animations for abilities since going blindly by number alone is pretty unbearable.



So we've got 2 more things now: Names of Abilities that currently use the animation, and a graphical snippet.  (Ignore the ASM on the right, it's just there for debugging purposes for how the editor figures out where to grab the graphical data from, and how to display it)

It's not perfect, but it took quite a bit of work to get even a graphical snippet like that.  As you can tell a lot of it is garbled, but there's at least something recognizable there thanks to a couple new ASM scanning tricks I implemented.  Unfortunately the ASM for some abilities is formatted in a way that either the graphics, or the data needed to display it recognizably can't be detected.  Still, when it does work it's better than just a number, right?
[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

leaf

Much better than just a number.

Life Shear looks weird without those huge scissors. Actually... looking at the still like that, it sorta reminds me of Baiken from Guilty Gear.
[spoiler=quotes]
[9:00:50 PM] Randel Peltier: Ok...what did I do last night?
[9:01:19 PM] Kain: Something boring, repetitive, and lasted for about sixty seconds.
---
[10:45:08 AM] Salanewt: But yeah, the elemental phalluses are being... Stroked up by Saturos and co., and the energy will go towards... Mt. Muffin, where the Golden Climax will arise.
[7:28:42 PM] Salanewt: An added bonus is that Isaac and co. were trying to stop Saturos and co. because their beliefs state that Mt. Muffin should remain a virgin.
---
[9:54:21 PM] Randel Peltier: Guess the number in my head an you get to pick what I say. Number between 1-10
[9:54:28 PM] leaf: 11
[9:54:36 PM] Randel Peltier: @#$%!
---
[8:38:13 PM] Randel Peltier: Shes like this queen up on a pedastal that I have yet to court.
[8:38:29 PM] Kain: You've tried courting her.
[8:38:43 PM] leaf: and failed spectacularly
[8:38:44 PM] Randel Peltier: Ive tried...shes the best dating game ever.
---
[12:24:35 AM] Salanewt: I need to find a picture of a naked person to put on the Christmas tree next year.
---
[2:19:06 PM] Zeadra: wait... Rief's a guy???
---
[1:09:57 PM] Zeadra: well if you want to know if its a new effect or something weird, just check GS1, if side step is there maby it is the nimble dodge thing
[1:10:35 PM] Kioll: For once, you've contributed something useful.  o.O[/spoiler]

Daddy Poi's Oily Gorillas

Ah.. I happened to notice how part of the scarf she wears clips off the edge and shows up on the left... And with that, I somehow notice the garbled data might do that alittlebit as well.

QuoteUnfortunately the ASM for some abilities is formatted in a way that either the graphics, or the data needed to display it recognizably can't be detected.

I wonder how true that is... Surely there must be someway? I hope that you somehow have some luck with it.
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! :)

Atrius (He/They)

The functions I wrote for detecting argument input to function calls can only do so much.  Once it can't figure out where a value is being loaded from, or what the input for part of a calculation done on the register is set to it can't reasonably try to backtrace it's value.  Not to mention the attacks that are basically just particle effects with no real graphics to begin with.
[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

Charon

I have a quick question on that... would said particle effects be called as part of the image routine, or are they actually implemented as part of the routine? Like, when Jupiter, for example, is summoned, are these effects called from a particular routine or are they part of the routine, along with the actual djinni's swirling animation?

It'd be really, really cool if we could edit the particles' animations individually but that's practically impossible...