Results 1 to 8 of 8

Thread: cutscene skipping script....

  1. #1
    Untruely Bannable~ Inferno's Avatar
    Join Date
    Aug 2007
    Location
    In a Place
    Posts
    5,166

    cutscene skipping script....

    how do a cutscene so u can skip it with ESC. i dont need to watch the 3 minute intro cutscene to my map b4 every beta test...
    Reply With Quote

  2. #2

    Re: cutscene skipping script....

    Place these scripts at the top of your HSC:

    Code:
    (script static "boolean" cinematic_skip_start
    	(cinematic_skip_start_internal)
    	(game_save_totally_unsafe)
    	(sleep_until
    		(not (game_saving))
    	1)
    	(not (game_reverted))
    )
    
    (script static "void" cinematic_skip_stop
    	(cinematic_skip_stop_internal)
    )
    Then, execute your cutscene script like this:

    Code:
    (script static "void" cutscenescript
    	;; cutscene stuff goes here
    )
    
    (script startup cutscene_initialize
    	(if
    		(cinematic_skip_start)
    			(cutscenescript)
    	)
    	(cinematic_skip_stop)
    )
    Reply With Quote

  3. #3
    Untruely Bannable~ Inferno's Avatar
    Join Date
    Aug 2007
    Location
    In a Place
    Posts
    5,166

    Re: cutscene skipping script....

    thx
    that will be very helpfull.
    Reply With Quote

  4. #4

    Re: cutscene skipping script....

    Thank you, that's very helpful indeed. I played with cinematic skipping a bit a few months ago, but never got it to work and eventually gave up to work on more immediate goals. But now I have to figure out if this works in Halo 2 Vista (god I hope the scripting isn't too different, or I'ma get pwned when it comes to scripting this Scythopolis.)
    Reply With Quote

  5. #5
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: cutscene skipping script....

    why the fuck did you put "boolean" and "void" in quotes?
    Reply With Quote

  6. #6

    Re: cutscene skipping script....

    Quote Originally Posted by Kornman00 View Post
    why the fuck did you put "boolean" and "void" in quotes?
    distinguishes return type from the rest of the script, thats why i do it at least.
    Reply With Quote

  7. #7
    Kid in the Hall Kornman00's Avatar
    Join Date
    Sep 2006
    Location
    ◕‿◕, ┌( ಠ_ಠ)┘
    Posts
    3,130

    Re: cutscene skipping script....

    ok...

    you don't have to quote them...
    Reply With Quote

  8. #8

    Re: cutscene skipping script....

    Quote Originally Posted by Kornman00 View Post
    ok...

    you don't have to quote them...
    i know...
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •