Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 40 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Cod2 video on main menu
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, May. 5, 2009 07:49 am
has anyone managed to get the video to play on the menu screen like in coduo?

if not i have tried to use this code but with no luck.

itemDef
{
name introvid
style WINDOW_STYLE_CINEMATIC
rect 64 240 236 160
border 1
visible 1
cinematic "video/movie_europe.roq"
decoration
dvartest "ui_video_show"
showdvar { "1" }
}
then in the main.menu i have placed this code to get it to work:

on open
{
setdvar ui_video_show "1";
}

but can't get it to work.

any advise

edited on May. 5, 2009 03:51 am by utdfederation
Share |
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, May. 5, 2009 08:49 pm
well, never played coduo - but if this works - i want to have the code 4 it xDDDDD
great idea - i thought about it but i came to the opinion that it is impossible to do - maybe iam not right at this point!!

good luck!!
Share |
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, May. 5, 2009 10:48 pm
the code i have placed above works for coduo you have the little intro video playing on the main menu screen.


what i am trying to do is recreate the same into cod2's main menu screen using the same code above but it doesn't work thats why i asked the question...

i thought the code would of been the same only the code above is set to dvar for cod2 as coduo is cvar.

if anyone would share any findings they may have on this i would be very greatful

Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD2 Scripting
Posted: Wednesday, May. 6, 2009 12:17 am
did you try ui_cinematic ?
Share |
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Wednesday, May. 6, 2009 08:56 pm
yeah i tried that still didn't work..

it's not impossible to do |S!T| it's just a matter of getting the code right.

i am confident someone out there knows how to achieve this but in the mean time i will still try to get it to work and if successful i will indeed post my findings.



edited on May. 6, 2009 04:58 pm by utdfederation
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD2 Scripting
Posted: Wednesday, May. 6, 2009 09:55 pm
Do you mean a video like on cod4 with the smoke going across - i dont mean u have smoke going across but is that where u want the video or do u want it with the activison logo?

thanks, ukdjaj[thumbs_up]
Share |
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Wednesday, May. 6, 2009 11:53 pm
i have no clue what the cod4 video you are refering to.

but here is a video i have made that i have on my coduo servers menu screen,maybe this will help you understand what i am on about.

http://www.gigasize.com/get.php?d=g9r4dw2wbbf

this is exactly what i wanted to do for the cod2 main menu screen.

hope this helps
Share |
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Thursday, May. 7, 2009 03:07 pm
sorry video file is located here:

http://bravosquadgaming.com/files/cod2_menu_video.avi
Share |
utdfederation
General Member
Since: Jan 11, 2007
Posts: 142
Last: Nov 13, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Thursday, May. 7, 2009 03:33 pm
the size and position doesn't matter as i can sort that out..
just want it to show on the main menu screen like the video is.

the actual video i have made available is from coduo where i have the intro video playing on the main menu screen.

i hope this clears up what i am trying to do here.

Share |
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Thursday, May. 7, 2009 04:21 pm
ehm ok i only see the half xD but i think you want it that way :P well - maybe you're right and its possible - but...why i haven't seen this on any mod in cod2? :D could be a new wave for mods :P maybe ^^
if u understand what i mean - many of the cod2 modders played coduo before...so why they didnt try to make the video thing in cod2?and i think only the g(o)od modders would got it to work - and also most of the go(o)d modders are registred at modsonline ^^ aren't they??! :D

so if any 1 got it to work - you should find him (or code ^^) here... ^^
yes i know that u know that :P
only talking BS m8 ^^
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»