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


Author Topic: can someone make or teach me to make johhny full style??  (Read 7374 times)

0 Members and 1 Guest are viewing this topic.

Offline Phap

  • Full Member
  • ***
  • Posts: 216
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #15 on: January 06, 2014, 06:43:49 PM »
For example,
GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")

  l_0_0 = 60

MissionSetup = function()
  local l_1_0 = 270 -- X coords
  local l_1_1 = -110 -- Y coords
  local l_1_2 = 6.4000000953674 -- Z coords
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  PedSetTypeToTypeAttitude(1, 13, 2)
  PedSetTypeToTypeAttitude(2, 13, 2)
  PedSetTypeToTypeAttitude(3, 13, 1)
  PedSetTypeToTypeAttitude(4, 13, 4)
  PedSetTypeToTypeAttitude(5, 13, 1)
  PedSetTypeToTypeAttitude(6, 13, 2)
  PedSetTypeToTypeAttitude(11, 13, 2)
 
  SoundPlayStream("MS_FightingJohnnyVincentBossFight.rsm", 0.69999998807907)
 
  Johnny = PedCreateXYZ(23, l_1_0 +1, l_1_1 +1, l_1_2 +1)
  PedRecruitAlly(gplayer, Johnny)
  Hal = PedCreateXYZ(22, l_1_0 +2, l_1_1 +2, l_1_2 +2)
  PedRecruitAlly(Johnny, Hal)
 
  PlayerSetHealth(2000)
  PedSetHealth(Johnny, 1500)
  PedSetHealth(Hal, 1000)
 
  end

F_MissionSetup = function()

  LoadAnimationGroup("G_Johnny")
  LoadActionTree("G_Striker_A")
  LoadActionTree("G_Johnny")
 
  PlayerSetControl(1)
 
  CameraFollowPed(gPlayer)
 
  ClockSet(8, 30)
 
  ClockSetTickRate(0.0060000000521541)
 
  LaunchScript("SObjTest.lua")

end



MissionCleanup = function()
  ClearTextQueue()
  EnablePOI()
  gMissionRunning = false
  shared.gMissionEventFunction = nil
  WeatherRelease()
  PlayerSetControl(1)
  PlayerSetPunishmentPoints(0)
end



main = function()
  F_MissionSetup()
  gMissionRunning = true
  while gMissionRunning do
  if IsButtonPressed(1,0) then
  PedSetActionNode(gPlayer, "/Global/G_Johnny/Cinematic/ThroatGrab", "Act/Anim/G_Johnny.act")
  elseif IsButtonPressed(0,0) then
  PedSetActionTree(gPlayer, "/Global/G_Johnny", "Act/Anim/G_Johnny.act")
  elseif IsButtonPressed(15,0) then
  PedSetActionTree(gPlayer, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act")
  end
  UpdateTextQueue()
    Wait(0)
  end
end
« Last Edit: January 06, 2014, 06:46:42 PM by Olympic Gold Medalist »

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #16 on: January 07, 2014, 02:57:32 AM »
Thanks ITs work ! but Can you give me A list of button and to press it please??

Offline Phap

  • Full Member
  • ***
  • Posts: 216
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #17 on: January 07, 2014, 06:43:21 PM »
Thanks ITs work ! but Can you give me A list of button and to press it please??
0, 0 - left arrow
1, 0 - right arrow
2, 0 - up arrow
3, 0 - down arrow
4, 0 - ummm...
5, 0 - ummm...
6, 0 - left mouse button
7, 0 - spacebar
8, 0 - left shift
9, 0 - R
10, 0 - right mouse button
11, 0 - ummm...
12, 0 - left alt
13, 0 - ummm...
14, 0 - X
15, 0 - C

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #18 on: January 08, 2014, 02:07:19 AM »
thanks man you has helping me! :)

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #19 on: January 09, 2014, 05:00:51 AM »
hey man how to get 2 button like this: press right arrow hold and press alt to do darby 6 hit combo or press hold shift with run and press alt left to doing runing attack<--- example ! how to do that man please help me ok! :)
« Last Edit: January 09, 2014, 06:54:05 AM by embas10 »

Offline Phap

  • Full Member
  • ***
  • Posts: 216
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #20 on: January 09, 2014, 07:04:53 PM »
hey man how to get 2 button like this: press right arrow hold and press alt to do darby 6 hit combo or press hold shift with run and press alt left to doing runing attack<--- example ! how to do that man please help me ok! :)
if IsButtonPressed(0, 0) and IsButtonPressed(12, 0) then
PedSetActionNode(gPlayer, Darby's 5 Punch Combination)

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: can someone make or teach me to make johhny full style??
« Reply #21 on: January 10, 2014, 01:49:23 AM »
hey man how to get 2 button like this: press right arrow hold and press alt to do darby 6 hit combo or press hold shift with run and press alt left to doing runing attack<--- example ! how to do that man please help me ok! :)
if IsButtonPressed(0, 0) and IsButtonPressed(12, 0) then
PedSetActionNode(gPlayer, Darby's 5 Punch Combination)

thanks man!!