Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Destroy all weapons on map and reset HP to 500?
#1
? 
I want to make a move that will 1) destroy all weapons on the map and 2) if possible reset every fighters' HP to 500.

I'm sure the first one is possible, just don't know how to do it T.T

I tried copying template.dat and adding 2 frames:
Code:
<frame> 235 destroy
   pic: 28  state: 3  wait: 1  next: 236  dvx: 0  dvy: 0  centerx: 45  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: -9999  y: -9999  w: 19999  h: 19999  zwidth: 9999  dvx: 12  fall: 70  vrest: 7  bdefend: 70  injury: 9999  
      effect: 4  
   itr_end:
<frame_end>

<frame> 236 destroy
   pic: 28  state: 9998  wait: 0  next: 999  dvx: 0  dvy: 0  centerx: 45  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

The itr block was copied from Knight's defend frame, and I change the injury, position and range. It does destroy all my icicles and heavy weapons. However, other weapons and bottles remain on the ground D: .


For number 2, if we give injury < 0 the HP can get past 500 O_o . Is there a trick to reset it to exactly 500?
TEMPE
Reply
Thanks given by:
#2
For number 2, if you drink a bottle your hp will be reset to 500 if it is over it. I'm pretty sure that is what the pro DCer's abuse to achieve such an effect.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:
#3
the problem with the light weapons is that in on ground frames they have no body, thats why they remain unaffected.
Reply
Thanks given by:
#4
why dont you add a special body in weapons to do it?
Reply
Thanks given by: A-Man
#5
Yeah, this idea is only feasible for mods. You gotta add a special bdy in all character's frames that the healing-itr hits. Then, you'll have to bring all characters to a special frame where they opoint a milk-bottle, take a sip of it (you don't have to use the drinking animation, adjust the wpoint that the bottle is invisible (either by placing it behind the character or very far up/down) and have a frame run on state 17), and destroy it (weaponact: 1000, I believe).

Considering that this will not work when you simply place one modified character into an original lf2-version (as there is no efficient way of making all characters reset their hp to 500), you can also modify the weapons. I'd just have them have a special bdy at an arbitrary level that you'll hit. Check the highest weapon_hp to determine how much damage you'll have to deal at least. I'd do that via itr/k0/effect5. Thus, you avoid reflecting balls (which your method most likely does).
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#6
I can't figure out why you can't:
(1) Do something like Julian's explosion which hits weapons on the ground
(2) Hit everyone with 500 damage so as to set their HP to 0
(3) Hit everyone with -500 damage
(2) and (3) were working for me, but then I changed something and they stopped working?? I never got (1) working, even when I copied the itr straight from the explosion. I guess only things that come from opoints or something can hit things on the ground.
Reply
Thanks given by:
#7
(07-25-2012, 02:33 PM)Blue Phoenix Wrote:  Check the highest weapon_hp to determine how much damage you'll have to deal

bdefend: 100 works to break any weapon as well
(i was going to modedit but then people might complain "why don't i just post?").



Azriel~
Reply
Thanks given by:
#8
(07-25-2012, 09:09 PM)zort Wrote:  I can't figure out why you can't:
(1) Do something like Julian's explosion which hits weapons on the ground
(2) Hit everyone with 500 damage so as to set their HP to 0
(3) Hit everyone with -500 damage
(2) and (3) were working for me, but then I changed something and they stopped working?? I never got (1) working, even when I copied the itr straight from the explosion. I guess only things that come from opoints or something can hit things on the ground.

Hmm, it's strange that hitting everyone for 500 and then hitting for -500 works. HP can go into the negatives so you'd think it wouldn't work.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:
#9
(07-26-2012, 08:21 AM)Lord Silva Wrote:  Hmm, it's strange that hitting everyone for 500 and then hitting for -500 works. HP can go into the negatives so you'd think it wouldn't work.
I can confirm that it doesn't work that way in 1.9/c. Had a character that revived itself when dead by hitting with a -100hp-damage. Especially after some fatal strikes (yay for overpowered mods), this took considerably long until he got revived/got over 0hp. The hp were restored to <= 100hp. Don't know if Marti changed it in 2.0 but I guess not...


(07-26-2012, 08:06 AM)Azriel Wrote:  bdefend: 100 works to break any weapon as well
bdefend is for the weak :D
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)