creating fmv or cut scene for single player game

Want to recruit some people for your mod ? Want to work on a mod ? Post the relevant info here. Not for mapping questions.

Moderator: Moderators

Post Reply
TVs Hasselhoff
Private
Posts: 1
Joined: Mon Jan 05, 2004 6:41 am

creating fmv or cut scene for single player game

Post by TVs Hasselhoff »

New to the site. Trying to find info on if it is possible to create a cut scene with the MoH tools in a single player mod. Want to create a small, objective based game based on the MoH tools, with fmv or cut scenes in-between to move the story along, just like in a real game. I've seen the video recording tools for recording your game for playback, but I haven't seen posts on how to get characters in a game to play out a cut scene (walk up to one another, speak, gesture, etc)

Any direction you guys and gals can point me in would be appreciated.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Probably the easiest way is to script your cutscenes and then use a func_camera to show them to the player from an interesting vantage point.
Image
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

jv_map wrote:Probably the easiest way is to script your cutscenes and then use a func_camera to show them to the player from an interesting vantage point.
well, then is it possible to load a movie before the next level loads, kind of like a movie-based game, when one level is completed, a short clip is loaded, then moves on to the next level? possible i think, like the mission briefings...
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Well the mission briefings are actually slideshows... not sure how they work exactly though.... I think they're handled by internal game code. :(
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

actually the briefings are levels with the player frozen there it a tut in the SKD for it , the slide show is scripted useing menus created for it they are in the ui directory
For reference, a slightly modified version of briefing5.scr, the script file for the briefing level for mission 5 in MOHAA.



1: start:
2:
3: level waittill prespawn
4: drawhud 0
5:
6: level waittill spawn
7: exec global/briefing_save.scr
8:
9: // spawn the thread that will allow the player to skip the briefing
10: thread briefingskip
11:
12: // prevent the player from trying to move around
13: $player physics_off
14: thread freezeplayerview
15:
16: //starts music track for mission briefing
17: $player playsound mb5_music
18:
19: $player playsound slide_advance
20:
21: showmenu briefing5a 1
22:
23: $player playsound mb_501
24: wait 10
25:
26: $player playsound slide_advance
27:
28: showmenu briefing5a2 1
29: hidemenu briefing5a 1
30: wait 8
31:
32: $player playsound slide_advance
33:
34: showmenu briefing5a3 1
35: hidemenu briefing5a2 1
36: wait 4
37:
38: $player playsound slide_advance
39:
40: showmenu briefing5b 1
41: hidemenu briefing5a3 1
42: wait 8
43:
44: $player playsound slide_advance
45:
46: showmenu briefing5c 1
47: hidemenu briefing5b 1
48:
49: $player playsound mb_502 wait
50: $player waittill sounddone
51:
52: $player playsound slide_advance
53:
54: showmenu briefing5d 1
55: hidemenu briefing5c 1
56:
57: $player playsound mb_503 wait
58: $player waittill sounddone
59:
60: $player playsound slide_advance
61:
62: showmenu briefing5e 1
63: hidemenu briefing5d 1
64:
65: $player playsound mb_504 wait
66: $player waittill sounddone
67:
68: goto endbriefing
69:
70: end
71:
72: endbriefing:
73:
74: $player stufftext "spmap m5l1a"
75:
76: end
77:
78: briefingskip:
79:
80: if($player.fireheld)
81: {
82: goto endbriefing
83: }
84:
85: // check again next server frame
86: wait 0.01
87:
88: goto briefingskip
89:
90: end
91:
92: freezeplayerview:
93:
94: $player.viewangles = (0 0 0)
95:
96: wait 0.01
97: goto freezeplayerview
98:
99: end
Post Reply