Quantcast

Jump to content

» «
Photo

one punch kills

4 replies to this topic
spidermight
  • spidermight

    Cleo Modder

  • Members
  • Joined: 14 Aug 2008
  • None

#1

Posted 13 July 2014 - 03:37 AM Edited by spidermight, 13 July 2014 - 03:42 AM.

is there a opcode one similar to make actors preform one punch kills ?

 

apart from changing actors health to 5 because i need the player to be able to die from one punch from the actor

 

- i think this is the code im looking for right ?

031D:   actor $ACTOR_RYDER hit_by_weapon 51


xNCx
  • xNCx

    Street Cat

  • Members
  • Joined: 15 May 2008
  • None

#2

Posted 13 July 2014 - 12:27 PM

Why don't you edit weapons.dat? There is a value describing the power of all weapons.


spidermight
  • spidermight

    Cleo Modder

  • Members
  • Joined: 14 Aug 2008
  • None

#3

Posted 13 July 2014 - 11:23 PM

thanks but i got it to work with cleo anyway :)


xNCx
  • xNCx

    Street Cat

  • Members
  • Joined: 15 May 2008
  • None

#4

Posted 14 July 2014 - 07:48 AM

You can still use cleo and memory hacking to overwrite values from weapons.dat but that might be too complicated ;).

 

Your posted opcode sounds good. Put it in a loop and change weapon id to fists (0?). But remember, this will only work on actors that you've created, not pedestrians on the street generated by the game.

  • In45do likes this

In45do
  • In45do

    Coding like a Dummy...

  • Members
  • Joined: 15 Jan 2012
  • Indonesia

#5

Posted 14 July 2014 - 02:33 PM

Here's the list of memory addresses. It's not completed yet, but it's well documented.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users