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


Author Topic: Fighting Style  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

Offline gamerzod

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Fighting Style
« on: May 10, 2015, 10:18:42 AM »
How do I change fighting style for ped that I create in bully from lua?
after I set pedcreate, what code should I asign to it?
for basic fighting style and boss fighting style to a ped?

deadpoolXYZ

  • Guest
Re: Fighting Style
« Reply #1 on: May 10, 2015, 11:11:58 AM »


PEDNAME= PedCreateXYZ(PED.ID, X, Y, Z)
PedSetActionTree(PEDNAME, "/Global/FIGHTINGSTYLENAME", "Act/Anim/FIGHTINGSTYLENAME")

Example:
Code: [Select]
Sheldon = PedCreateXYZ(66,-507,322,31) -- Creates the ped

PedSetActionTree(Sheldon, "/Global/B_Striker_A", "Act/Anim/B_Striker_A") -- Change fighting style

Offline gamerzod

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Fighting Style
« Reply #2 on: May 16, 2015, 07:41:58 AM »
I get the other problem
why when I set the luis jock fighting style to ped
"/Global/J_Grappler_A,"Act/Anim/J_Grappler_A.act",
when I am on player faction, the ped that spawn with luis jock fight style can't hit me, it can only hit me when i change jimmy faction
and are there any way to make the ped hit me without using the lua code to changing my faction to bullies or other faction
« Last Edit: May 16, 2015, 01:35:32 PM by gamerzod »

Offline gamerzod

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Fighting Style
« Reply #3 on: May 21, 2015, 07:22:01 AM »
help me

deadpoolXYZ

  • Guest
Re: Fighting Style
« Reply #4 on: May 21, 2015, 08:21:24 AM »
Script spawned peds can't harm you if have 100% respect with them.

Use this: PedSetTypeToTypeAttitude(2, 13, 2)

Offline gamerzod

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: Fighting Style
« Reply #5 on: May 21, 2015, 08:24:33 AM »
thank you

Offline GaryHarrington

  • A Guy Who Likes Open World and FPS Games
  • Sr. Member
  • ***
  • Posts: 515
  • Gender: Male
  • Just Love Bully and GTA ...Nothing Interested
    • View Profile
Re: Fighting Style
« Reply #6 on: May 24, 2015, 10:04:33 PM »
Script spawned peds can't harm you if have 100% respect with them.

Use this: PedSetTypeToTypeAttitude(2, 13, 2)

or by a simple way... search attitude.dat in config>dat ... change the faction respect from adore to another (abhor,averse,dispassionate, or dig) ... i forget the number of player....search it by yourself if you want it ._.

deadpoolXYZ

  • Guest
Re: Fighting Style
« Reply #7 on: May 24, 2015, 10:18:16 PM »
Script spawned peds can't harm you if have 100% respect with them.

Use this: PedSetTypeToTypeAttitude(2, 13, 2)

or by a simple way... search attitude.dat in config>dat ... change the faction respect from adore to another (abhor,averse,dispassionate, or dig) ... i forget the number of player....search it by yourself if you want it ._.

The attitude.dat method doesn't work if you beat the game since it gets overriden by another script that makes everyone like Jimmy.
Imo the script method is cleaner.

Offline GaryHarrington

  • A Guy Who Likes Open World and FPS Games
  • Sr. Member
  • ***
  • Posts: 515
  • Gender: Male
  • Just Love Bully and GTA ...Nothing Interested
    • View Profile
Re: Fighting Style
« Reply #8 on: May 25, 2015, 02:04:44 AM »
Script spawned peds can't harm you if have 100% respect with them.

Use this: PedSetTypeToTypeAttitude(2, 13, 2)

or by a simple way... search attitude.dat in config>dat ... change the faction respect from adore to another (abhor,averse,dispassionate, or dig) ... i forget the number of player....search it by yourself if you want it ._.

The attitude.dat method doesn't work if you beat the game since it gets overriden by another script that makes everyone like Jimmy.
Imo the script method is cleaner.

to PLAYER it ain't work but to another ped , this method still work