Jump to content

Photo

opcode #248 (undocumented parameter2)


2 replies to this topic

#1 K4thos

K4thos
  • Modders
  • 1195 posts
  • Gender:Male

Posted 03 October 2018 - 04:08 PM

Setting opcode #248 (Melee hit effect) parameter2 to 4 results in restricting this effect to fists only. 0 means all weapons (including fists). Not sure if there are other possible values.

 

edit: EE engine.


Edited by K4thos, 03 October 2018 - 04:11 PM.


#2 kjeron

kjeron
  • Members
  • 128 posts

Posted 03 October 2018 - 08:04 PM

If I had to guess the value (BIT2/4) comes from the Special Field of Opcode 12:
BIT2/4 = Fist Damage Only (except not restricted to damage in this case)


The same does not work with opcode 249, even with a "ranged" fist.

#3 Avenger

Avenger
  • Modders
  • 3803 posts
  • Gender:Male
  • Location:Hungary

Posted 13 October 2018 - 12:58 AM

It is working only with the 'fist only' bit. 





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users