I'm making a small-scale hack of Sacred Stones for my friends and I to mess around with, and one of the things I want to do requires putting an item drop condition on an enemy that doesn't already have it. The only other topic I could find on this was for FE7, which doesn't particularly help, and checking other enemies with known dropped items (I looked at Ch17 Lyon, specifically) still didn't lead me to find what needs to be changed to make this work. Does anyone have any suggestions?
Toggle shoutbox
Shoutbox
|

#2
Posted 24 February 2017 - 05:36 PM
I'm making a small-scale hack of Sacred Stones for my friends and I to mess around with, and one of the things I want to do requires putting an item drop condition on an enemy that doesn't already have it. The only other topic I could find on this was for FE7, which doesn't particularly help, and checking other enemies with known dropped items (I looked at Ch17 Lyon, specifically) still didn't lead me to find what needs to be changed to make this work. Does anyone have any suggestions?
...I seem to recall how this was done, but I cannot remember enough information to give you a solid answer. Something about a specific byte after the data... *googles*
Yeah, THAT'S no help.
If I can remember how to do it, I'll post here. Hopefully someone else knows.
#3
Posted 25 February 2017 - 07:40 AM
Yeah, hopefully! Thank you anyway though.
#4
Posted 25 February 2017 - 02:40 PM
I've found the answer to your question but it unfortunately requires eventing. FE8 doesn't do item dropping like FE7 (by making it a character ability), and it doesn't make it an AI option for the Chapter Unit editor either. There's an entirely different variable that controls it for some reason, like Leafeon said, which I will show through example. A "raw" output of O'neil's character data in the prologue events looks like this:
UNIT 0x68 0x3F 0x0 0x24 [14,8] 0b 0x0 0x1 0x8B3BFC [0x1F,0x0,0x0,0x0] [0x6,0x3,0x0,0x0]
Now let's look at the raw output of Chapter 7's boss, Murray, who drops a Knight Crest:
UNIT 0x4C 0x5 0x0 0x64 [9,4] 10b 0x0 0x0 0x0 [0x3,0x1C,0x65,0x0] [0x3,0x3,0x9,0x20]
Now, aside from the things that should obviously be different between different units, there's one thing that stands out: That 0b in the middle turned into 10b. I have no idea what it is, but when I changed O'neil's 0b to 10b, he drops his item. So, while it will force you to event, that is how you make a character drop an item. Just add/change 10b right after the unit's coordinates. I'm looking through Nightmare modules to see if there is one made to control this, but there appears to be none, so this is unfortunately the only way I know to do it.
tl;dr Change the 0b on a unit's event data to 10b and they will drop their last slot item.
EDIT: Upon doing a little more digging, you can also set that to 0x2 for the same result. 0x1 makes the unit randomized like Valni/Lagdou units and 0x4 slightly randomizes the unit's placement.
Source: http://feuniverse.us...ide-wip/1594/13
Got Pokemon X/Y or OR/AS? Battle me! Or trade with me... Trading is cool too.
3DS FC: 5300-9087-1138 (PM me if you add me so I know to add you back.)
Have Smash Bros for Wii U? Battle me there too!
Nintendo Network ID: GoldenWarriorX (No need to notify me in this case, it will.)
#5
Posted 25 February 2017 - 05:33 PM
Awesome, thank you! Now it's just a matter of getting this whole thing put together proper.
Also tagged with one or more of these keywords: FE8, Nightmare
Creative Endeavors →
Fire Emblem Modding →
Questions →
Setting Weapon Locks / Signature WeaponsStarted by SugoiDude, 12 Feb 2018 ![]() |
|
![]() |
||
Creative Endeavors →
Fire Emblem Modding →
Questions →
Bard Spell Animation Unable To DoubleStarted by SugoiDude, 12 Feb 2018 ![]() |
|
![]() |
||
Creative Endeavors →
Fire Emblem Modding →
Questions →
Magic Sword Animations in FE7 ??Started by SugoiDude, 10 Jan 2018 ![]() |
|
![]() |
||
Creative Endeavors →
Fire Emblem Modding →
Questions →
Can't save new character (FE 7)Started by Reffy, 09 Jan 2018 ![]() |
|
![]() |
||
Creative Endeavors →
Fire Emblem Modding →
Questions →
Replace Sprites with PicturesStarted by CactusFresh, 15 Nov 2017 ![]() |
|
![]() |
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users