Call of Duty : Play Cinematic ingame

From COD Modding & Mapping Wiki
Revision as of 21:19, 22 February 2012 by Ingram (talk | contribs) (Made the code look prettier.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Short tutorial on how to play cinematics in COD series
  • Precache the cinematic shader after load:
precacheshader("cinematic");
  • Now play your movie - store the bik in cod/main/video (default is the one we are using here)
movie = newHudElem();
movie setShader( "cinematic", 800, 600 );
CinematicInGame( "default" );
  • After playing it should close automatically.

This works in COD4 and WAW. (Probably also in Black Ops!)

By Techno2SL

Sources