1
Bully Modding Archives / Modder Team
« on: March 01, 2016, 05:57:36 PM »
Hello I would like to work with you I have many ideas in mind
News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
Messages | Topics | Attachments
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
function MissionSetup()
PlayerSetHealth(9000)
AreaTransitionXYZ(0, 270, -110, 6)
SoundPlayStream("MS_FightingPreps.rsm", 0.6)
PedSetAITree(gPlayer, "/Global/PlayerAI","Act/PlayerAI.act")
PlayerSwapModel("PRH1a_Tad")
TextPrintString("P_Striker_A Evade", 4, 1)
Wait(4000)
TextPrintString("By: Bully Modder74", 4, 1)
Wait(4000)
end
F_Evade = function()
F_FightingStyle()
PedSetStatsType(gPlayer, "STAT_P_BOXING_Bif")
local gplayer = PedGetTargetPed(gPlayer)
PlayerSetControl(0)
PedSetAITree(gPlayer,"/Global/AI", "Act/AI.act")
PedAttack(gPlayer, gplayer, 1)
PedSetFaction(gPlayer, 5)
PedOverrideStat(gPlayer, 12, 0)
PedOverrideStat(gPlayer, 8, 0)
PedOverrideStat(gPlayer, 13, 100)
Wait("0")
PlayerSetControl(1)
PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
PedMakeAmbient(gPlayer, false)
PedLockTarget(gPlayer, -1)
PedStop(gPlayer)
PedSetFaction(gPlayer, 13)
end
function f_strafe()
if IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/anim/P_Striker_A.act")
isStrafing = true
elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/anim/P_Striker_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/P_Striker_A/Defense/Evade/EvadeCounter","act/anim/P_Striker_A.act")
elseif IsButtonPressed(1,0) then
PedSetActionNode(gPlayer, "/Global/P_Striker_A/Defense/Evade/EvadeBack","act/anim/P_Striker_A.act")
end
end
F_Evade = function()
PedSetStatsType(gPlayer, "STAT_P_STRIKER_B")
local Ped = PedGetTargetPed(gPlayer)
PedSetAITree(gPlayer,"/Global/AI", "Act/AI/AI.act")
PlayerSetControl(0)
PedAttack(gPlayer, Ped, 1)
PedSetFaction(gPlayer, 5)
PedOverrideStat(gPlayer, 12, 0)
PedOverrideStat(gPlayer, 8, 0)
PedOverrideStat(gPlayer, 13, 100)
Wait(500)
PlayerSetControl(1)
PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
PedMakeAmbient(gPlayer, false)
PedLockTarget(gPlayer, -1)
PedSetFaction(gPlayer, 13)
end
function MissionSetup()
PlayerSetHealth(500)
AreaTransitionXYZ(0, 270, -110, 6)
SoundPlayStream("MS_PrepFight.rsm", 0.6)
PlayerSwapModel("PR2nd_Bif")
PedSetAITree(gPlayer, "/Global/PlayerAI","Act/PlayerAI.act")
TextPrintString("P_Striker_A Mod Fighting Style and Strafe", 4, 1)
Wait(4000)
TextPrintString("By: Bully Modder74", 4, 1)
Wait(4000)
TextPrintString("Enjoy!", 3, 1)
end
function MissionCleanup()
collectgarbage()
end
function main()
while true do
if IsButtonPressed(12,0) then
SoundPlayScriptedSpeechEvent(gPlayer, "CHATTER")
end
f_strafe()
F_FightingStyle()
Wait(0)
end
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/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/P_Striker_A.act")
isStrafing = true
elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/Anim/P_Striker_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(7,0) and IsButtonPressed(8,0) then
PedSetActionNode(gPlayer, "/Global/P_Striker_A/Offense/Short/Strikes/LightAttacks/LeftHook","Act/Anim/P_Striker_A.act")
elseif IsButtonPressed(3,0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves","Act/Conv/Ambient.act")
elseif IsButtonPressed(1,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Offense/RunningAttacks/RunningAttacksDirect","Globals/GlobalActions.act")
elseif IsButtonPressed(14,0) then
PedSetActionNode(gPlayer, "/Global/Ambient/Sitting_Down/SitHigh","Act/Anim/Ambient.act")
elseif IsButtonPressed(0,0) then
PedSetAITree(gPlayer, "/Global/AIActionOpps/Cheering","Act/AI/AI.act")
end
end
../../../Actions/Offense/RunningAttacks/RunningAttacksDirect
../../../Actions/RisingAttacks
./FinishingCross
../../LeftHook
../../HeavyAttacks/UpperCut
./LightAttacks/EvadeBackPunch
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
[code][code][code][code][codeMissionSetup = function()
local l_1_0 = 270
local l_1_1 = -110
local l_1_2 = 6.4000000953674
end
function MissionSetup()
PlayerSetHealth(5000)
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(5000)
TextPrintString("When mod is at 75% Progress, I will certainly release a J_Striker_A", 4, 1)
WaitSkippable(5000)
TextPrintString("When this mod is 100% complete, I'll upload it to Bully Board :D", 3, 1)
WaitSkippable(5000)
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()
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
F_MissionSetup = function()
LoadActionTree("J_Grappler_A")
PlayerSetControl(1)
DisablePunishmentSystem(false)
ClockSet(8, 30)
ClockSetTickRate(0.0060000000521541)
LaunchScript("SObjTest.lua")
end
MissionCleanup = function()
end
main = function()
F_MissionSetup()
gMissionRunning = true
while gMissionRunning do
elseif IsButtonPressed(3,0) then
PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act")
elseif IsButtonPressed(0,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BearHug","Globals/G_Grappler_A.act")
elseif IsButtonPressed(3,0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Mount/GrappleMoves/Headbutt","Globals/DO_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(6,0) then
PedSetActionNode(gplayer, "/Global/J_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightPunch/Axehandle","act/anim/J_Grappler_A.act")
end
UpdateTextQueue()
Wait(0)
end
end]