News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Knockover  (Read 3783 times)

0 Members and 3 Guests are viewing this topic.

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Knockover
« on: December 20, 2014, 06:12:29 AM »
How to be immune to knockover like Darby , Bif etc...?

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Knockover
« Reply #1 on: December 20, 2014, 11:23:21 AM »
I think it has to be something to do with Stats.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Knockover
« Reply #2 on: December 20, 2014, 04:58:05 PM »
If you mean like how bigger peds don't fall down when you kick their leg or roundhouse them. I know.

In ide.img it says like "large" or "small" etc.. when it is like large or huge it should make you immune to the kicks.

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: Knockover
« Reply #3 on: December 21, 2014, 10:01:32 AM »
If you mean like how bigger peds don't fall down when you kick their leg or roundhouse them. I know.

In ide.img it says like "large" or "small" etc.. when it is like large or huge it should make you immune to the kicks.
Thanks for that and what I wanted was like ex : U got hit by prep
 uppercut. But u do not fall , kinds like Darby. :)

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Knockover
« Reply #4 on: December 21, 2014, 01:45:31 PM »
If you mean like how bigger peds don't fall down when you kick their leg or roundhouse them. I know.

In ide.img it says like "large" or "small" etc.. when it is like large or huge it should make you immune to the kicks.
Thanks for that and what I wanted was like ex : U got hit by prep
 uppercut. But u do not fall , kinds like Darby. :)
Yes that is what the size things are for. xD

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: Knockover
« Reply #5 on: December 22, 2014, 04:32:20 AM »
I dont know hex editing , is there a step-by-step tutorial?

Edit  : I tried but it does not work , teach me!
« Last Edit: December 22, 2014, 05:22:21 AM by 私たちは »

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Knockover
« Reply #6 on: December 22, 2014, 12:50:55 PM »
I dont know hex editing , is there a step-by-step tutorial?

Edit  : I tried but it does not work , teach me!
It's quite hard to explain exactly how to change the size, and I personally barely did, but I DO know it is possible and easily done.

Offline madnesscombatfan212

  • Full Member
  • ***
  • Posts: 140
    • View Profile
Re: Knockover
« Reply #7 on: December 22, 2014, 05:11:24 PM »
If you mean like how bigger peds don't fall down when you kick their leg or roundhouse them. I know.

In ide.img it says like "large" or "small" etc.. when it is like large or huge it should make you immune to the kicks.
Thanks for that and what I wanted was like ex : U got hit by prep
 uppercut. But u do not fall , kinds like Darby. :)
Yes that is what the size things are for. xD
That is not what size is for.
Most of the "Large" Jocks can still be knocked over.
Pedstats is what you edit, there's a bit for being immune to getting knocked over.

deadpoolXYZ

  • Guest
Re: Knockover
« Reply #8 on: December 22, 2014, 06:55:56 PM »
If you check pedstats there is a line that says "Ped can be knocked down (0 = no, 1+ = yes)".

Code: [Select]
STAT_PLAYER none 20 100 12 200 0 0 0 0 50 95 0 0 0 0 0 60 Generic 0 7 100 1 0 0 20 100 20 10 10 10 20 100 80 100 50 70 50 90 0 0 unarmed None None None 0 unarmed -1 1 init unarmed -1 1 init unarmed -1 1 init unarmed -1 1 init 0 1 15
Change the second value from right to left, to 0 (next to 15).

The size thing in ide.img (small, medium, large, huge, fat) only affects the way a ped is bullied and the way they fall to the ground only if their stat allows them. For example Earnest is "medium" but since his value in pedstats is 0, he doesn't fall at all. Damon and Casey are both "huge" but Casey value is 1 so he falls anyway despite his size.
« Last Edit: December 22, 2014, 06:57:40 PM by The Dream Is Dead »

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Knockover
« Reply #9 on: December 23, 2014, 01:37:12 AM »
If you check pedstats there is a line that says "Ped can be knocked down (0 = no, 1+ = yes)".

Code: [Select]
STAT_PLAYER none 20 100 12 200 0 0 0 0 50 95 0 0 0 0 0 60 Generic 0 7 100 1 0 0 20 100 20 10 10 10 20 100 80 100 50 70 50 90 0 0 unarmed None None None 0 unarmed -1 1 init unarmed -1 1 init unarmed -1 1 init unarmed -1 1 init 0 1 15
Change the second value from right to left, to 0 (next to 15).

The size thing in ide.img (small, medium, large, huge, fat) only affects the way a ped is bullied and the way they fall to the ground only if their stat allows them. For example Earnest is "medium" but since his value in pedstats is 0, he doesn't fall at all. Damon and Casey are both "huge" but Casey value is 1 so he falls anyway despite his size.
Code: [Select]
62 "Ped can be knocked down (0 = no, 1 = yes)"

This can easily be modified via Lua.

PedOverrideStat(PED, 62, 1/0)

replace "1/0" with 1 or 0 (0 = no, 1 = yes). and replace "PED" with the ped