Summon a rock (or heavy objects) on hand. - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +--- Thread: Summon a rock (or heavy objects) on hand. (/showthread.php?tid=9193) |
||||
Summon a rock (or heavy objects) on hand. - Justfight - 04-29-2014 Hi fellow modders, I was trying to make a move for my character so he can summon a heavy rock on his hands (just like how freeze summons ice sword). However, it is weird becoz after summoning it, he is holding it like he's holding a light weapon. Yes, that means he's swinging the rock instead of throwing it. I basically just copy the rock dat (i think is weapon1?) and changed its damage. And I tried putting the rock in stage so it is summoned from the sky like random objects, and it behaved perfectly fine. I can pick it up and throw. Any ideas what went wrong? Thanks for the help. RE: Summon a rock (or heavy objects) on hand. - InPhiKnight - 04-29-2014 Freeze's sword summoning code
and your weapon[since copied from rock] should not have any frame no. 35, it has only 10 as a frame designed to summon the weapon on hand
Therefore, make action: 10 in the sword frame. Quote:However, it is weird becoz after summoning it, he is holding it like he's holding a light weapon.That's not possible unless you coded it to RE: Summon a rock (or heavy objects) on hand. - Justfight - 04-29-2014 (04-29-2014, 11:35 AM)davis60 Wrote: Freeze's sword summoning code I already did. In fact, here's the code when summoning it: Code: <frame> 333 get_stone The code for the rock is basically identical to the old one. Quote:However, it is weird becoz after summoning it, he is holding it like he's holding a light weapon.That's not possible unless you coded it to [/quote] I know... but that's what the character is doing. I hope I can capture a video. But basically, the character will try to swing the rock with the rock sprite gone, so you can't hit anything or anyone.[/code] RE: Summon a rock (or heavy objects) on hand. - STM1993 - 04-29-2014 Try putting next: 12 (<frame> 12 heavy_obj_walk) after weapon summoning. If that doesn't work, then I'm afraid you have to either 1) Just spawn the rock as a normal opoint(see: Tera), or 2) Do 1, but have an input that ends with A(eg: D^A) and have very minimal wait leading to frame 0(next: 999), so hopefully you will automatically pick up the weapon after it drops. As far as I know there is no other work-around. You can't put next onto a pickup weapon frame because you need to actually press A to pick the weapon. RE: Summon a rock (or heavy objects) on hand. - Azriel - 04-29-2014 You can't opoint a heavy object on hand, but you can *try* this to force the heavy weapon pickup frames: Frame 0~8, 110, etc: D?A to Frame X (where X is the move to summon the rock) Frame X wait: 0 next: X+1 Frame X+1 wait: 0 next: 999, opoint: heavy_weapon on the ground, hit_a: X+2 Frame X+2 wait: 1, itr kind 2? (the pick up weapon itr anyway) Basically the theory is, if the character goes to a frame with the "pick up itr" by pressing Attack, then they should pick up the weapon. If the hit_a: method doesn't work, try wait:1 state: 1 in frame X+1 without the hit_a. Azriel~ RE: Summon a rock (or heavy objects) on hand. - Justfight - 05-01-2014 Thanks guys. I tried couple other ways but still not quite what I wanted. End up modifying my move. haha. Thanks tho, appreciate the quick helps. |