Jump to content

Clubs aren't pointy


Recommended Posts

Some vintage Sim in this thread. :)

 

// two clubs using thrusting animations; other eight do not
COPY_EXISTING ~blun01.itm~ ~override~
		  ~blun31.itm~ ~override~
 PATCH_IF (SOURCE_SIZE > 0x71) THEN BEGIN // protects against invalid files
READ_LONG  0x64 "abil_off"
READ_SHORT 0x68 "abil_num"
FOR (index = 0; index < abil_num; index = index + 1) BEGIN
  READ_BYTE ("%abil_off%" + ("%index%" * 0x38)) "type"
  PATCH_IF ("%type%" = 1) BEGIN // melee
	WRITE_SHORT ("%abil_off%" + 0x2c + ("%index%" * 0x38)) 50 // Overhead
	WRITE_SHORT ("%abil_off%" + 0x2e + ("%index%" * 0x38)) 50 // Backhand
	WRITE_SHORT ("%abil_off%" + 0x30 + ("%index%" * 0x38))  0 // Thrusting
  END
END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...