Author Topic: Cutscene bars, what cutscene bars?  (Read 2174 times)

0 Members and 1 Guest are viewing this topic.

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Cutscene bars, what cutscene bars?
They flicker and flutter but they don't remain constant. Are there certain restrictions in place for them to appear properly?
 
My intro movie is in a state of fail. . . . . . That's right I'm making a freespace-verse campaign.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Cutscene bars, what cutscene bars?
They don't work, simple as that. A fix is in the pipeline. As an interim solution, there's a script I wrote that can be activated via sexp. However, it blocks the standard messages. Interested?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Cutscene bars, what cutscene bars?
huh? They work for me...
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Cutscene bars, what cutscene bars?
The current implementation is somewhat temperamental and terribly hackish. They are not guaranteed to work for everyone, which is kinda bad.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Cutscene bars, what cutscene bars?
I'm a nub when it comes to scripts. So I appreciate the offer but no thank you :) 
I'm a gonna get some fred 'inspiration' from a certain black box recording. 
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Cutscene bars, what cutscene bars?
It's a script that was designed to be triggered on and off by a simple sexp call. It's really not that difficult.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Cutscene bars, what cutscene bars?
Zip it up, chuck a readme in and i'll give it a go. :)
 
Could you CC Picenipicek as well? TAP need bars for certain things a'la Homeworld style.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

  

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Cutscene bars, what cutscene bars?
Instead of doing that, I'll post it here publically.

Code: [Select]
#Conditional Hooks

$Application: FS2_Open

$On Game Init:
[
csb = {}
csb.screenX = gr.getScreenWidth()
csb.screenY = gr.getScreenHeight()

csb.barHeight = csb.screenY / 10
csb.trigger = false
]

$State: GS_STATE_GAME_PLAY
$On Frame:
[
if csb.trigger then
gr.setColor(0, 0, 0)
gr.drawRectangle(0, 0, csb.screenX, csb.barHeight, true)
gr.drawRectangle(0, csb.screenY - csb.barHeight, csb.screenX, csb.screenY, true)
end
]

$On State End:
[
csb.trigger = false
]

#End

Usage instructions are as follows: save the script posted above as csbar-sct.tbm into data\tables. In a mission where you wish to use cutscene bars, you need to use the eval-script sexp with "csb.trigger = true" as parameter to start drawing the bars. To remove them again, use eval-script with "csb.trigger = false".
The height of the bars can be adjusted by altering the csb.barHeight value.
Currently, it's set at 10 % of the screen height.

A fadein/fadeout effect (with the bars rising from the top and bottom, as IIRC the sexp bars work) is not implemented, but could be added.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns