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


Author Topic: Jimmy with new bullying techniques.  (Read 3391 times)

0 Members and 1 Guest are viewing this topic.

Offline davis42

  • Bullworth Police Officer
  • Jr. Member
  • **
  • Posts: 54
  • Gender: Male
  • When life tests you...
    • View Profile
Jimmy with new bullying techniques.
« on: August 24, 2013, 04:18:24 PM »
I'd like to see jimmy with some of the techniques which only npc's can humiliate with. For an example, the head rubbing and maybe 2 more.

deadpoolXYZ

  • Guest
Re: Jimmy with new bullying techniques.
« Reply #1 on: August 24, 2013, 04:38:03 PM »
I have the animations but I don't know if they are considered as "fighting animations", since Rise to Honor doesn't want anyone to share them.

By the way when you activate them, the ped you were locking will humilliate you, not you to him.

Offline davis42

  • Bullworth Police Officer
  • Jr. Member
  • **
  • Posts: 54
  • Gender: Male
  • When life tests you...
    • View Profile
Re: Jimmy with new bullying techniques.
« Reply #2 on: August 25, 2013, 04:53:21 AM »
He might make a mod for them later or something, just guessing. Btw that's crazy because the ped will do it to you? Unbelievable! Thanks a ton for the info.

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Jimmy with new bullying techniques.
« Reply #3 on: August 25, 2013, 06:09:05 AM »
Well, action nodes can be used but as u said the Ped will be the humiliator, hmmm, there might be a way around this but I got no clue.

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Jimmy with new bullying techniques.
« Reply #4 on: October 18, 2013, 08:50:08 PM »
Get the ped you lock onto and make him do the node instead of the player.

Code: [Select]
TargetPed = PedGetTargetPed()
if IsButtonBeingPressed(3,0) and TargetPed > 0 then
  PedSetActionNode(TargetPed, i dont have the node so you do this part)
end

deadpoolXYZ

  • Guest
Re: Jimmy with new bullying techniques.
« Reply #5 on: October 19, 2013, 10:01:49 PM »
Get the ped you lock onto and make him do the node instead of the player.

Code: [Select]
TargetPed = PedGetTargetPed()
if IsButtonBeingPressed(3,0) and TargetPed > 0 then
  PedSetActionNode(TargetPed, i dont have the node so you do this part)
end

Why "TargetPed > 0"?
And why "IsbuttonBeingPressed" instead of "IsbuttonPressed"?

I haven't touched a lua code in like in 2 months.

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Jimmy with new bullying techniques.
« Reply #6 on: October 20, 2013, 04:12:17 AM »
Get the ped you lock onto and make him do the node instead of the player.

Code: [Select]
TargetPed = PedGetTargetPed()
if IsButtonBeingPressed(3,0) and TargetPed > 0 then
  PedSetActionNode(TargetPed, i dont have the node so you do this part)
end


Why "TargetPed > 0"?
And why "IsbuttonBeingPressed" instead of "IsbuttonPressed"?

I haven't touched a lua code in like in 2 months.

TargetedPed >0 because the number 1 equels "on" which actives the command.

IsButtonBeingPressed is set to avoid the animation to restart when holding the button and it only work again if the player leaves the button and presses it again.

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Jimmy with new bullying techniques.
« Reply #7 on: October 20, 2013, 01:32:34 PM »
Get the ped you lock onto and make him do the node instead of the player.

Code: [Select]
TargetPed = PedGetTargetPed()
if IsButtonBeingPressed(3,0) and TargetPed > 0 then
  PedSetActionNode(TargetPed, i dont have the node so you do this part)
end


Why "TargetPed > 0"?
And why "IsbuttonBeingPressed" instead of "IsbuttonPressed"?

I haven't touched a lua code in like in 2 months.

TargetedPed >0 because the number 1 equels "on" which actives the command.

IsButtonBeingPressed is set to avoid the animation to restart when holding the button and it only work again if the player leaves the button and presses it again.

Indeed.
But justifying on the > 0 part, if your not locking onto any ped then it returns a value of -1. If you try to use it when your not locked onto anybody, the game will crash.