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


Author Topic: Bully Strafe and Speech Fighting Style error?  (Read 3755 times)

0 Members and 3 Guests are viewing this topic.

Offline bullymodder74

  • Jr. Member
  • **
  • Posts: 51
  • Gender: Male
  • Bully Mods
    • View Profile
Bully Strafe and Speech Fighting Style error?
« on: January 20, 2016, 05:35:57 PM »
huh been testing these codes but do not work 3 I have to do?





Code: [Select]
PlayerSetHealth(5000) 
  function MissionSetup()
 AreaTransitionXYZ(0, 270, -110, 6)
 
 SoundPlayStream("MS_FightMid02.rsm", 0.6)
 
 PlayerSwapModel("JK_LuisWrestle")
 
 PedSetAITree(gPlayer, "/Global/PlayerAI","Act/PlayerAI.act")
 
 TextPrintString("Luis Wrestling Mod", 4, 1)
 
 WaitSkippable(4000)
 TextPrintString("When mod is at 75% Progress, I will certainly release a J_Striker_A", 4, 1)
 WaitSkippable(4000)
 TextPrintString("When this mod is 100% complete, I'll upload it to Bully Board :D", 3, 1)
 WaitSkippable(3000)
 TextPrintString("Fin This Mod Bully Modder done for me 74 Enjoy!", 3, 1) -- wtf
end

function MissionCleanup()
 collectgarbage()
end

function main()
 while true do
  if IsButtonPressed(8,0) then
   SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT")
  end
  f_strafe()
  F_FightingStyle()
  F_Model()
  F_Moves()
  Wait(0)
 end
end

function f_strafe()
 if IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionNode(gPlayer,"/Global/J_Grappler_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/J_Grappler_A.act")
  isStrafing = true
 elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
  PedSetActionTree(gPlayer,"/Global/J_Grappler_A", "Act/Anim/J_Grappler_A.act")
  isStrafing = false
 elseif isStrafing then
  local x,y,z = PedGetPosXYZ(PedGetTargetPed())
  PedFaceXYZ(gPlayer,x,y,z)
 end
end

IsMoving = function()
 local s = 0.08
 return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
end

function MissionCleanup()
 collectgarbage()
end

function main()
 while true do
  if IsButtonPressed(8,0) then
   SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT")
  end
  f_strafe()
  F_FightingStyle()
  F_Model()
  F_Moves()
  Wait(0)
 end



  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
  if IsButtonPressed(0,0) then
  PedSetActionNode(gPlayer, "/Global/Actions/Grapples/GrappleReversals/MountReversals/MountReversalPunches/GIVE","Act/Globals.act")
  elseif IsButtonPressed(6,0) then
  PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAttempt","Act/Anim/J_Striker_A.act")
  elseif IsButtonPressed(15,0) then
  PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Taunts/Taunt_1", "Act/Anim/J_Striker_A.act")
  elseif IsButtonPressed(6,0) and IsButtonPressed(7,0) then
  PedSetActionNode(gplayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
  elseif IsButtonPressed(1,0) then
  PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BodySlam","Globals/J_Grappler_A.act")
  elseif IsButtonPressed(6,0) and IsButtonPressed(8,0) then
  PedSetActionNode(gPlayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
  elseif IsButtonPressed(3,0) then
  PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves","Act/Conv/Ambient.act")
  end
  UpdateTextQueue()
    Wait(0)
end
« Last Edit: January 20, 2016, 05:51:54 PM by bullymodder74 »

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #1 on: January 20, 2016, 10:46:42 PM »
  • Still don't understand your fucking post dude wtf stop fucking typing like a twat - In m8 Daboos 6758317377372882828292992939939 voice
[/color]


Anyway you have the line for controlling your keyboard twice erase one.
« Last Edit: January 20, 2016, 10:48:37 PM by AlphaTech »

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #2 on: January 20, 2016, 11:35:51 PM »
alpha tech is 2 much of a fgt to help

Anyways dude. You might wanna try actually making a mod by yourself, or learn how to do it. It's not that hard. If I can learn how to make a working mod in just a week during a time where there were less tutorials than now, so can you.
If my dumbass can find new functions and how things work(like forloops!) work all by myself, so can you. And you might wanna try adding someone on steam or something like that. 1 on 1 help is always good.
There's no point in modding when other people are pretty much scripting the entire mod for you.

Here's the fixed code.

Code: [Select]
function MissionSetup()
PlayerSetHealth(500)
AreaTransitionXYZ(0, 270, -110, 6)
SoundPlayStream("MS_FightMid02.rsm", 0.6)
PlayerSwapModel("JK_LuisWrestle")
PedSetAITree(gPlayer, "/Global/PlayerAI","Act/PlayerAI.act")
TextPrintString("Luis Wrestling Mod", 4, 1)
WaitSkippable(4000)
TextPrintString("When mod is at 75% Progress, I will certainly release a J_Striker_A", 4, 1)
WaitSkippable(4000)
TextPrintString("When this mod is 100% complete, I'll upload it to Bully Board :D", 3, 1)
WaitSkippable(3000)
TextPrintString("Fin This Mod Bully Modder done for me 74 Enjoy!", 3, 1) -- wtf
end

function MissionCleanup()
collectgarbage()
end

function main()
while true do
if IsButtonPressed(8,0) then
SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT")
end
f_strafe()
F_FightingStyle()
Wait(0)
end
end

function f_strafe()
if IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionNode(gPlayer,"/Global/J_Grappler_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/J_Grappler_A.act")
isStrafing = true
elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/J_Grappler_A", "Act/Anim/J_Grappler_A.act")
isStrafing = false
elseif isStrafing then
local x,y,z = PedGetPosXYZ(PedGetTargetPed())
PedFaceXYZ(gPlayer,x,y,z)
end
end

IsMoving = function()
 local s = 0.08
 return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
end



function F_FightingStyle()
if IsButtonPressed(0,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/GrappleReversals/MountReversals/MountReversalPunches/GIVE","Act/Globals.act")
elseif IsButtonPressed(6,0) then
PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAttempt","Act/Anim/J_Striker_A.act")
elseif IsButtonPressed(15,0) then
PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Taunts/Taunt_1", "Act/Anim/J_Striker_A.act")
elseif IsButtonPressed(6,0) and IsButtonPressed(7,0) then
PedSetActionNode(gplayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
elseif IsButtonPressed(1,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BodySlam","Globals/J_Grappler_A.act")
elseif IsButtonPressed(6,0) and IsButtonPressed(8,0) then
PedSetActionNode(gPlayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
elseif IsButtonPressed(3,0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves","Act/Conv/Ambient.act")
end
end
« Last Edit: January 20, 2016, 11:38:21 PM by Unknownsoldier »

Offline bullymodder74

  • Jr. Member
  • **
  • Posts: 51
  • Gender: Male
  • Bully Mods
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #3 on: January 21, 2016, 02:39:57 PM »
alpha tech is 2 much of a fgt to help

Anyways dude. You might wanna try actually making a mod by yourself, or learn how to do it. It's not that hard. If I can learn how to make a working mod in just a week during a time where there were less tutorials than now, so can you.
If my dumbass can find new functions and how things work(like forloops!) work all by myself, so can you. And you might wanna try adding someone on steam or something like that. 1 on 1 help is always good.
There's no point in modding when other people are pretty much scripting the entire mod for you.

Here's the fixed code.

Code: [Select]
function MissionSetup()
PlayerSetHealth(500)
AreaTransitionXYZ(0, 270, -110, 6)
SoundPlayStream("MS_FightMid02.rsm", 0.6)
PlayerSwapModel("JK_LuisWrestle")
PedSetAITree(gPlayer, "/Global/PlayerAI","Act/PlayerAI.act")
TextPrintString("Luis Wrestling Mod", 4, 1)
WaitSkippable(4000)
TextPrintString("When mod is at 75% Progress, I will certainly release a J_Striker_A", 4, 1)
WaitSkippable(4000)
TextPrintString("When this mod is 100% complete, I'll upload it to Bully Board :D", 3, 1)
WaitSkippable(3000)
TextPrintString("Fin This Mod Bully Modder done for me 74 Enjoy!", 3, 1) -- wtf
end

function MissionCleanup()
collectgarbage()
end

function main()
while true do
if IsButtonPressed(8,0) then
SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT")
end
f_strafe()
F_FightingStyle()
Wait(0)
end
end

function f_strafe()
if IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionNode(gPlayer,"/Global/J_Grappler_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/J_Grappler_A.act")
isStrafing = true
elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/J_Grappler_A", "Act/Anim/J_Grappler_A.act")
isStrafing = false
elseif isStrafing then
local x,y,z = PedGetPosXYZ(PedGetTargetPed())
PedFaceXYZ(gPlayer,x,y,z)
end
end

IsMoving = function()
 local s = 0.08
 return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
end



function F_FightingStyle()
if IsButtonPressed(0,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/GrappleReversals/MountReversals/MountReversalPunches/GIVE","Act/Globals.act")
elseif IsButtonPressed(6,0) then
PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Grapples/GrapplesAttempt","Act/Anim/J_Striker_A.act")
elseif IsButtonPressed(15,0) then
PedSetActionNode(gPlayer, "/Global/J_Striker_A/Offense/Medium/Taunts/Taunt_1", "Act/Anim/J_Striker_A.act")
elseif IsButtonPressed(6,0) and IsButtonPressed(7,0) then
PedSetActionNode(gplayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
elseif IsButtonPressed(1,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BodySlam","Globals/J_Grappler_A.act")
elseif IsButtonPressed(6,0) and IsButtonPressed(8,0) then
PedSetActionNode(gPlayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act")
elseif IsButtonPressed(3,0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves","Act/Conv/Ambient.act")
end
end

Thanks  8)

Offline Bully_Lover13

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #4 on: January 22, 2016, 03:59:28 AM »
Stop with that moving text.

Also, may I ask what language you speak so I can google translate to communicate with you to help you further?

Offline bullymodder74

  • Jr. Member
  • **
  • Posts: 51
  • Gender: Male
  • Bully Mods
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #5 on: January 22, 2016, 12:10:34 PM »
Stop with that moving text.

Also, may I ask what language you speak so I can google translate to communicate with you to help you further?





do Not They  Little  Of English Do not  use translator 

Offline DahCobra33

  • Decepticon
  • Hero Member
  • ****
  • Posts: 3,057
  • Gender: Male
  • I don't deal with psychos,I put em' away...
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #6 on: January 22, 2016, 04:06:35 PM »
Te esta pidiendo que no uses el texto que se mueve..

Como este..
He's speaking Spanish.

Offline bullymodder74

  • Jr. Member
  • **
  • Posts: 51
  • Gender: Male
  • Bully Mods
    • View Profile
Re: Bully Strafe and Speech Fighting Style error?
« Reply #7 on: January 22, 2016, 04:17:42 PM »
Te esta pidiendo que no uses el texto que se mueve..

Como este..
He's speaking Spanish.





ok