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


Author Topic: Darby and Johnny BOSS BETA betas source codes  (Read 1209 times)

0 Members and 1 Guest are viewing this topic.

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #15 on: February 25, 2021, 06:30:53 PM »
SPOILER ALERT
In this code something in HardJohnnyMagnetized function is crashing the game after 3 hours i don't know why this is crashing:
Code: [Select]
HardJohnnyMagnetized = function() -- Self-Explanatory

PedStop(johnny2) -- Self-Explanatory
PedSetAsleep(johnny2, true) -- I think is: Paralyze the johnny (he can't walk or fall)
PedDestroyWeapon(johnny2, 418) -- I think is: Destroy the leadpipe.
PedSetFlag(johnny2, 13, false)

PedSetActionNode(johnny2, "/Global/Vehicles/Bikes/ScriptCalls/3B_johnnyVincent/Magnetized", "Act/Vehicles.act") -- Make a animation
SoundEmitterEnable("MagnetHum", false) -- Magnetism sound

l_0_18, l_0_19 = CreatePersistentEntity(418, -745.6669921875, -611.57397460938, 3.996789932251, 0, 43, 90) -- I think is: Detect when the johnny is under of the magnet.

PAnimFollowPath(l_0_18, l_0_19, PATH._3_B_LEAD_PIPE_PATH, false) -- I think is: the path of the leadpipe animation.
PAnimSetPathFollowSpeed(l_0_18, l_0_19, 3.5) -- I think is: the speed of animation.

-- { The script will keep the camera at the Johnny wait this animation ends. (Johnny's Bike being magnetized)
repeat

-- {
if PedGetHealth(gPlayer) > 0 then
CameraSetXYZ(-746.11, -606.71, 4.66, -745.8, -608.80, 5.44)
PedFaceXYZ(gPlayer, -745.8, -608.80, 5.44)
PlayerSetControl(0)
else YouLost3 = 1
end
-- }

until not PedIsPlaying(johnny2, "/Global/Vehicles/Bikes/ScriptCalls/3B_johnnyVincent", true)
-- }

if YouLost3 == 1 then
MissionCleanup()
else Wait(0)
end

PlayerSetControl(1)
CameraReturnToPlayer()
PedSetAsleep(johnny2, false) -- I think is: Now johnny can walk and fall
HardF_BigBattle()

end

HardJohnnyInTheBike = function() -- Self-Explanatory

johnny2 = PedCreatePoint(23, POINTLIST._3_B_JOHNNY_SPAWN) -- Spawn Johnny
bike = VehicleCreateXYZ(282, POINTLIST._3_B_JOHNY_BIKE_SPAWN) -- Spawn Johnny's Bike
x, y, z = VehicleGetPosXYZ(bike)

verification = 0 -- If is 0 that means that it hasn't been magnetized yet.

PedSetHealth(l_0_16, 500)
PedSetWeaponNow(johnny2, 418, 1) -- Give the Leadpipe to Johnny
PedSetActionTree(johnny2, "/Global/G_johnny", "Act/Anim/G_johnny.act") -- Johnny moves
PedShowHealthBar(l_0_16, true, "3_B_JOHNNY_HEALTH", true)

-- { I honestly don't know what this does:
VehicleSetEntityFlag(bike, 41, true)
VehicleBikeForceBoundingSphereUpdate(bike, true)
PedPathNodeReachedDistance(johnny2, 2.5)
PedOverrideStat(johnny2, 33, 100)
PedOverrideStat(johnny2, 34, 0)
PedOverrideStat(johnny2, 24, 50)
PedSetFlag(johnny2, 107, true)
PedSetDamageTakenMultiplier(l_0_16, 3, 0.20000000298023)
PedSetDamageTakenMultiplier(l_0_16, 0, 0.30000001192093)
PedIgnoreStimuli(johnny2, true)
-- }

PedLockTarget(johnny2, gPlayer)

Wait(100)

PedPutOnBike(johnny2, bike)

-- { Basically force Johnny be magnetized after he spawns.
if x == -745.6669921875 and
y == -611.57397460938 and
z == 3.996789932251
then
verification = 1
HardJohnnyMagnetized()
else VehicleSetPosXYZ(bike, -745.6669921875, -611.57397460938, 3.996789932251)
HardJohnnyMagnetized()
end
-- }

end

Test Source Code = http://www.mediafire.com/file/6firpq8er7ra00g/Test_Source_Code.lua/file

EDIT: I solve the problem, when I release the 0.2 version I gonna post here the Source Code
« Last Edit: February 25, 2021, 11:34:07 PM by SHAPADO1245 »

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #16 on: February 26, 2021, 12:14:47 AM »
Darby and Johnny BOSS BETA Mission v0.2.0: https://bully-board.com/index.php?topic=25723.0
Source Code with SPOILERS

Current Source Code: http://www.mediafire.com/file/0r5f7531jgxngxj/Current_Source_Code.lua/file

IF THE LINK DOESN'T WORK, PROBABLY THERE IS ANOTHER ONE MORE UPDATED
« Last Edit: February 26, 2021, 08:26:45 AM by SHAPADO1245 »

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #17 on: February 26, 2021, 01:58:19 PM »
In "The Myth", when Darby and Johnny spawns (Boss Battle) we have this effect in the screen like in the image, how put this in a mission?
If anyone knows, please let me know in a reply.

EDIT: if you know how to do a laughter taunt. It's gonna help me alot.


« Last Edit: February 26, 2021, 02:24:39 PM by SHAPADO1245 »

Offline SimonBestia

  • Full Member
  • ***
  • Posts: 220
  • Gender: Male
  • Bully-Board's Best Weeb
    • View Profile
    • Youtube Channel
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #18 on: February 26, 2021, 02:59:07 PM »
For The Myth I just use The Gym Is Burning's burning screen effect.
It's Open-Source, so you can see it yourself.
Code: [Select]
EffectSetGymnFireOn(true/false)
Not sure what you mean by laughing taunt.

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #19 on: February 26, 2021, 10:42:27 PM »
For The Myth I just use The Gym Is Burning's burning screen effect.
It's Open-Source, so you can see it yourself.
Code: [Select]
EffectSetGymnFireOn(true/false)
Not sure what you mean by laughing taunt.

https://youtu.be/dBaQphzLmcE

Here is the animation.

Offline SimonBestia

  • Full Member
  • ***
  • Posts: 220
  • Gender: Male
  • Bully-Board's Best Weeb
    • View Profile
    • Youtube Channel
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #20 on: February 27, 2021, 03:24:44 AM »
It should be this:
Code: [Select]
"/Global/Ambient/Reactions/HumiliationReact/Laughing/Guy_Laugh/Laugh02", "Ambient.act"

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #21 on: February 27, 2021, 04:10:45 PM »
Darby and Johnny BOSS BETA Mission v0.2.1: https://bully-board.com/index.php?topic=25723.msg412406#msg412406
Source Code with SPOILERS

Current Source Code: http://www.mediafire.com/file/kbev9i5r5bjssf7/Current_Source_Code.lua/file

IF THE LINK DOESN'T WORK, PROBABLY THERE IS ANOTHER ONE MORE UPDATED

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #22 on: February 27, 2021, 06:23:27 PM »
In the Deshonorable Fight, the door of 2nd floor don't open, this is a function? How use that? can be used in any door?

If anyone know please send me a reply.

 :wub:

EDIT: if you know how put that cutscene: www.youtube.com/watch?v=zK8zpbBFVNA#t=6m34s. Please let me know in a reply
« Last Edit: February 27, 2021, 07:41:56 PM by SHAPADO1245 »

Offline SimonBestia

  • Full Member
  • ***
  • Posts: 220
  • Gender: Male
  • Bully-Board's Best Weeb
    • View Profile
    • Youtube Channel
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #23 on: February 28, 2021, 03:37:28 AM »
Doors can be locked/unlocked with AreaSetDoorLocked(NameOfDoor, true/false).
Cutscenes can be played with PlayCutsceneWithLoad("CutsceneID")

Most of the recreations I made are open-source.
You can find them on my Github.

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #24 on: February 28, 2021, 08:47:20 AM »
Doors can be locked/unlocked with AreaSetDoorLocked(NameOfDoor, true/false).
Cutscenes can be played with PlayCutsceneWithLoad("CutsceneID")

Most of the recreations I made are open-source.
You can find them on my Github.

Ok, I have a video of the mod 0.2.1 (The Newest) with some other thigs.
SPOILER ALERT: https://bully-board.com/index.php?topic=25726.msg412414#msg412414

EDIT: I just realize now, I don't know the name of the 2 doors of the Deshonorable Fight to use the AreaSetDoorLocked(NameOfDoor, true/false)  :blank:
« Last Edit: February 28, 2021, 11:25:13 AM by SHAPADO1245 »

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #25 on: March 01, 2021, 02:54:00 PM »
Darby and Johnny BOSS BETA Mission v0.2.2: https://bully-board.com/index.php?topic=25723.msg412418#msg412418
Source Code with SPOILERS

Current Source Code: http://www.mediafire.com/file/6x3mhgb83c2bs5m/Current_Source_Code.lua/file

IF THE LINK DOESN'T WORK, PROBABLY THERE IS ANOTHER ONE MORE UPDATED
« Last Edit: March 01, 2021, 03:49:40 PM by SHAPADO1245 »

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #26 on: March 01, 2021, 02:58:28 PM »
Doors can be locked/unlocked with AreaSetDoorLocked(NameOfDoor, true/false).
Cutscenes can be played with PlayCutsceneWithLoad("CutsceneID")

Most of the recreations I made are open-source.
You can find them on my Github.

I mean, I don't know how get a name of a door. If you know please send me a reply

EDIT: In the image you see Damon alive but in the ground, what's the name of this is a animation? How I force a ped to do this animation? This use PedSetActionNode?. If you know something about it please send me a reply.  :wub:

EDIT2: KKKK I want to know this animation too: https://www.youtube.com/watch?v=oJqf4uY2WIE. If you know something please send me a reply

« Last Edit: March 02, 2021, 01:59:26 AM by SHAPADO1245 »

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #27 on: March 04, 2021, 05:55:21 PM »
Darby and Johnny BOSS BETA Mission v0.2.3: https://bully-board.com/index.php?topic=25732.msg412437#msg412437
Source Code with SPOILERS

Current Source Code: https://www.mediafire.com/file/raituzb3zf6fl4y/Current_Source_Code.lua/file

IF THE LINK DOESN'T WORK, PROBABLY THERE IS ANOTHER ONE MORE UPDATED

Offline SimonBestia

  • Full Member
  • ***
  • Posts: 220
  • Gender: Male
  • Bully-Board's Best Weeb
    • View Profile
    • Youtube Channel
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #28 on: March 05, 2021, 02:37:37 AM »
Door names can be found in Trigger.img.
Your only point of reference are the coordinates they're at, so try looking for a generic term with Notepad and teleport to its coordinates to see if that's the door you need.

There is no image with Damon so I don't know what you're referring to.

Offline SHAPADO1245

  • Jr. Member
  • **
  • Posts: 42
  • Gender: Male
  • "I'm still gonna beat you!" - Johnny Vincent
    • View Profile
Re: Darby and Johnny BOSS BETA betas source codes
« Reply #29 on: March 13, 2021, 10:23:19 PM »
I already find the animation of Damon so I delete the image and forget to delete the text.

But now I need a vomit animation, but it can't be Kirby's animation in the "Big Game" mission. If you find another vomit animation please send me a reply  :wub: