Announcements: Please turn off your adblock for Bullymods.net! Advertisements help us pay for the site, which allows you to use it--
*Also make sure to Introduce yourself, in the below section! Say Hi, and tell us who you are!* ~quinn

Cutscene Viewer Mod Link?

User avatar
DreadedGhoul575
Getting Somewhere
Getting Somewhere
Posts: 57
Joined: Sat Aug 12, 2017 10:54 pm

Cutscene Viewer Mod Link?

Postby DreadedGhoul575 » Mon Oct 23, 2017 3:13 pm

I want to have free camera and watch specific cutscenes like this:


I can't find the link to a cutscene viewer mod though; I've checked on bullymods.net and youtube videos.

User avatar
SimonBestia
Getting Somewhere
Getting Somewhere
Posts: 65
Joined: Sat Aug 12, 2017 8:12 pm
Location: Italy
Contact:

Re: Cutscene Viewer Mod Link?

Postby SimonBestia » Mon Oct 23, 2017 5:09 pm

Just use the noclip mod, no need to make a specific mod for free camera during cutscenes.

User avatar
DreadedGhoul575
Getting Somewhere
Getting Somewhere
Posts: 57
Joined: Sat Aug 12, 2017 10:54 pm

Re: Cutscene Viewer Mod Link?

Postby DreadedGhoul575 » Mon Oct 23, 2017 5:19 pm

SimonBestia wrote:
Mon Oct 23, 2017 5:09 pm
Just use the noclip mod, no need to make a specific mod for free camera during cutscenes.
But, what if I want to view a specific cutscene? Also, why is there apparently a viewer mod, yet you say there isn't? (Not trying to be rude, just confused).

User avatar
SimonBestia
Getting Somewhere
Getting Somewhere
Posts: 65
Joined: Sat Aug 12, 2017 8:12 pm
Location: Italy
Contact:

Re: Cutscene Viewer Mod Link?

Postby SimonBestia » Mon Oct 23, 2017 6:11 pm

Nevermind, I misinterpreted what you meant, yeah, there is a cutscene viewer mod, it was on BB, not sure if you can find it anymore, I use one DeadpoolXYZ gave me.

User avatar
DreadedGhoul575
Getting Somewhere
Getting Somewhere
Posts: 57
Joined: Sat Aug 12, 2017 10:54 pm

Re: Cutscene Viewer Mod Link?

Postby DreadedGhoul575 » Mon Oct 23, 2017 8:37 pm

SimonBestia wrote:
Mon Oct 23, 2017 6:11 pm
Nevermind, I misinterpreted what you meant, yeah, there is a cutscene viewer mod, it was on BB, not sure if you can find it anymore, I use one DeadpoolXYZ gave me.
Oh ok. That's a shame you can't find it anymore.

User avatar
Altas
New Kid
New Kid
Posts: 12
Joined: Tue Oct 24, 2017 1:48 am
Location: Indonesia
Contact:

Re: Cutscene Viewer Mod Link?

Postby Altas » Wed Oct 25, 2017 9:45 am

DreadedGhoul575 wrote:
Mon Oct 23, 2017 8:37 pm
SimonBestia wrote:
Mon Oct 23, 2017 6:11 pm
Nevermind, I misinterpreted what you meant, yeah, there is a cutscene viewer mod, it was on BB, not sure if you can find it anymore, I use one DeadpoolXYZ gave me.
Oh ok. That's a shame you can't find it anymore.
What about creating new one?, since it's not available anymore so i think i can help you.
This script included Cutscene Viewer that you are talking about and Free Camera during cutscene, download on the attachment.

Controls:
+ Menu:
- Double tap look back button to hide/unhide gui
- Zoom Out to start cutscene
- Mission Task to next
- Secondary Task to Previous
+ Free Camera:
- Fire button and lock target button to setting height
- WASD to move
- WASD + Jump button to faster move
- WASD + Melee Attack button to slower move

Source Code:

Code: Select all

-- Cutscene Viewer + Free Camera
-- Free Camera script from Fly Mod by DaBOSS54320

-- Select:
local s = 1
-- Toggle ON/OFF:
local tap_timer = GetTimer()
local open_menu = false
-- Menu:
local cuts = {
	"1-01", -- Unused
	"1-02",
	"1-02B",
	"1-02D",
	"1-02E",
	"1-03",
	"1-04",
	"1-05",
	"1-06",
	"1-06B",
	"1-07",
	"1-08",
	"1-09",
	"1-10",
	"1-1-1",
	"1-11",
	"1-1-2",
	"1-B",
	"1-BB",
	"1-BC",
	"1-G1",
	"1-S01",
	"2-0",
	"2-01",
	"2-02",
	"2-03",
	"2-04",
	"2-05",
	"2-06",
	"2-07",
	"2-08",
	"2-09",
	"2-09B",
	"2-B",
	"2-BB",
	"2-G2",
	"2-S02",
	"2-S04",
	"2-S05",
	"2-S05",
	"2-S06",
	"2-S07",
	"3-0",
	"3-01",
	"3-01AA",
	"3-01AB",
	"3-01BA",
	"3-01CA",
	"3-01CB",
	"3-01DA",
	"3-01DB",
	"3-01DC",
	"3-02",
	"3-03",
	"3-04",
	"3-04B",
	"3-05",
	"3-06",
	"3-B",
	"3-BB",
	"3-BC", -- Unused
	"3-BD",
	"3-G3",
	"3-R05A",
	"3-R05B",
	"3-R07",
	"3-S03",
	"3-S08",
	"3-S10",
	"3-S11",
	"3-S11C",
	"4-0",
	"4-01",
	"4-02",
	"4-03",
	"4-04",
	"4-05",
	"4-06",
	"4-B1",
	"4-B1B", -- Unused
	"4-B1C", -- Unused
	"4-B1D",
	"4-B2",
	"4-B2B",
	"4-G4",
	"4-S12",
	"4-S12B",
	"5-0",
	"5-01",
	"5-02",
	"5-02B",
	"5-03",
	"5-04",
	"5-05",
	"5-05B",
	"5-06",
	"5-07",
	"5-09",
	"5-09B",
	"5-B", -- Unused
	"5-BC",
	"5-G5",
	"6-0",
	"6-02",
	"6-02B", -- Unused
	"6-B",
	"6-BB",
	"6-BC",
}

function main()
	while not SystemIsReady() or AreaIsLoading() do
		Wait(0)
	end
	-- Free Camera during cutscene:
	CreateThread("FREE_CAM")
	-- Main:
	while true do
		-- Activation:
		if IsButtonBeingReleased(14,0) then
			if tap_timer + 500 <= GetTimer() then
				if open_menu then open_menu = false end
				if not open_menu then open_menu = true end
				tap_timer = GetTimer()
			end
		end
		-- Proccess:
		if open_menu then
			if IsButtonBeingPressed(1,0) then
				s = s + 1
				if s > table.getn(cuts) then s = 1 end
			elseif IsButtonBeingPressed(0,0) then
				s = s - 1
				if s < 1 then s = table.getn(cuts) end
			elseif IsButtonBeingPressed(3,0) then
				PlayCutsceneWithLoad(cuts[s])
			end
			TextPrintString("CUTSCENE:\n-> "..cuts[s],0,2)
		end
		Wait(0)
	end
end

function FREE_CAM()
	while true do
		-- Check Cutscene:
		if GetCutsceneRunning() ~= 0 then
			-- Free Camera:
			local on,loaded,cp,ch,dist,fcx,fcy,fcz = false,false,0,0,100,0,0,0
			local plx,ply,plz = PlayerGetPosXYZ()
			F_GetForwardDir2D = function(h,dist)
				return -math.sin(h)*dist,math.cos(h)*dist
			end
			F_GetForwardDir3D = function(p,h,dist)
				return math.cos(p)*-math.sin(h)*dist,math.cos(p)*math.cos(h)*dist,math.sin(p)*dist
			end
			repeat
				if GetCutsceneTime() > 1 and not on then
					PlayerSetPosXYZ(plx,ply,plz)
					on = true
				end
				if on then
					PlayerSetControl(0)
					dist = dist + (GetStickValue(0,0)-GetStickValue(1,0))
					cp = cp + GetStickValue(19,0)/20
					ch = ch + GetStickValue(18,0)/20
					local px,py,pz = PlayerGetPosXYZ()
					local speed = IsButtonPressed(8,0) and 7 or IsButtonPressed(6,0) and 0.05 or 1
					local x1,y1 = F_GetForwardDir2D(ch,GetStickValue(17,0)/10*speed)
					local x2,y2 = F_GetForwardDir2D(ch+math.pi/2,GetStickValue(16,0)/10*speed)
					local z = (GetStickValue(12,0)-GetStickValue(10,0))/10*speed
					if not loaded then
						local cx,cy,cz = F_GetForwardDir3D(cp,ch,-dist*0.04)
						fcx,fcy,fcz = px+cx,py+cy,pz+cz+1.5
						loaded = true
					end
					if loaded then
						fcx,fcy,fcz = fcx+x1+x2,fcy+y1+y2,fcz+z
					end
					local cx,cy,cz = F_GetForwardDir3D(cp,ch,-dist*0.04)
					-- Camera XYZ:
					local camx,camy,camz = fcx or px+cx,fcy or py+cy,fcz or pz+cz+1.5
					-- Look at XYZ:
					local lookx,looky,lookz = fcx and fcx - cx,fcy and fcy - cy,fcz and fcz - cz
					CameraSetXYZ(camx,camy,camz,lookx,looky,lookz)
				end
				TextPrintString("PRESS ~RUN~ TO FINISH",1,2)
				Wait(0)
			until GetCutsceneRunning() == 0
			PlayerSetControl(1)
		end
		Wait(0)
	end
end

-- STimeCycle Functions:

function F_AttendedClass()
    if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
        return
    end
    SetSkippedClass(false)
    PlayerSetPunishmentPoints(0)
end
function F_MissedClass()
    if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
        return
    end
    SetSkippedClass(true)
    StatAddToInt(166)
end
function F_AttendedCurfew()
    if not PedInConversation(gPlayer) and not MissionActive() then
        TextPrintString("You got home in time for curfew", 4)
    end
end
function F_MissedCurfew()
    if not PedInConversation(gPlayer) and not MissionActive() then
        TextPrint("TM_TIRED5", 4, 2)
    end
end
function F_StartClass()
    if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
        return
    end
end
function F_EndClass()
    if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
        return
    end
end
function F_StartMorning()
    F_UpdateTimeCycle()
end
function F_EndMorning()
    F_UpdateTimeCycle()
end
function F_StartLunch()
    if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
        F_UpdateTimeCycle()
        return
    end
    F_UpdateTimeCycle()
end
function F_EndLunch()
    F_UpdateTimeCycle()
end
function F_StartAfternoon()
    F_UpdateTimeCycle()
end
function F_EndAfternoon()
    F_UpdateTimeCycle()
end
function F_StartEvening()
    F_UpdateTimeCycle()
end
function F_EndEvening()
    F_UpdateTimeCycle()
end
function F_StartCurfew_SlightlyTired()
    F_UpdateTimeCycle()
end
function F_StartCurfew_Tired()
    F_UpdateTimeCycle()
end
function F_StartCurfew_MoreTired()
    F_UpdateTimeCycle()
end
function F_StartCurfew_TooTired()
    F_UpdateTimeCycle()
end
function F_EndCurfew_TooTired()
    F_UpdateTimeCycle()
end
function F_EndTired()
    F_UpdateTimeCycle()
end
function F_Nothing()
end
function F_ClassWarning()
    if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
        return
    end
    local l_23_0 = math.random(1, 2)
end
function F_UpdateTimeCycle()
    if not IsMissionCompleated("1_B") then
        local l_24_0 = GetCurrentDay(false)
        if l_24_0 < 0 or l_24_0 > 2 then
            SetCurrentDay(0)
        end
    end
    F_UpdateCurfew()
end
function F_UpdateCurfew()
    local l_25_0 = shared.gCurfewRules
    if not l_25_0 then
        l_25_0 = F_CurfewDefaultRules
    end
    l_25_0()
end
function F_CurfewDefaultRules()
    local l_26_0 = ClockGet()
    if l_26_0 >= 23 or l_26_0 < 7 then
        shared.gCurfew = true
    else
        shared.gCurfew = false
    end
end
Attachments
STimeCycle.zip
(4.05 KiB) Downloaded 37 times
STimeCycle.zip
(4.05 KiB) Downloaded 37 times
We are not take over anything right now

User avatar
DreadedGhoul575
Getting Somewhere
Getting Somewhere
Posts: 57
Joined: Sat Aug 12, 2017 10:54 pm

Re: Cutscene Viewer Mod Link?

Postby DreadedGhoul575 » Wed Oct 25, 2017 10:29 am

I tried replacing in scripts.img, but it keeps saying 'dir error: file might be in use. Exiting...'

User avatar
Altas
New Kid
New Kid
Posts: 12
Joined: Tue Oct 24, 2017 1:48 am
Location: Indonesia
Contact:

Re: Cutscene Viewer Mod Link?

Postby Altas » Wed Oct 25, 2017 10:42 am

DreadedGhoul575 wrote:
Wed Oct 25, 2017 10:29 am
I tried replacing in scripts.img, but it keeps saying 'dir error: file might be in use. Exiting...'
I don't know exactly about your problem, but try to replace old Scripts.img and Scripts.dir with backup, and try again to remove STimeCycle.lur then add the modded STimceCycle.

It's not the STimeCycle fault.
We are not take over anything right now

User avatar
DreadedGhoul575
Getting Somewhere
Getting Somewhere
Posts: 57
Joined: Sat Aug 12, 2017 10:54 pm

Re: Cutscene Viewer Mod Link?

Postby DreadedGhoul575 » Wed Oct 25, 2017 11:43 am

I just had to run as admin. Trying it again now.

Edit: Forgot about this, but it did work and I thank you for this. :)
Last edited by DreadedGhoul575 on Sun Oct 29, 2017 1:27 pm, edited 1 time in total.

User avatar
unknownsoldier
New Kid
New Kid
Posts: 8
Joined: Sun Aug 13, 2017 5:20 pm
Location: New York
Contact:

Re: Cutscene Viewer Mod Link?

Postby unknownsoldier » Sun Oct 29, 2017 1:43 am

I had posted that cutscene mod on Bully-Board back when it was still up. DeadpoolXYZ probably happened to have still had it.

thats why you couldn't find it

and that's pretty dope how he added boss' camera script on there too


Who is online

Users browsing this forum: No registered users and 1 guest