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

Members Online

»
0 Active | 30 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 General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Moving background
hoek
General Member
Since: Nov 24, 2010
Posts: 12
Last: Nov 23, 2016
[view latest posts]
Level 1
Category: CoD2 General
Posted: Saturday, Dec. 31, 2011 11:58 am
Hi
I want to do it like cod4 which is in the main menu. That is a moving background. had managed to get to that called for a second image.
I tried the file from cod4 main.menu's something to look but not made substantial progress
Somebody help me :D
Sorry my bad english
Share |
serthy
General Member
Since: Sep 8, 2010
Posts: 482
Last: Jun 28, 2013
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 General
Posted: Saturday, Dec. 31, 2011 12:16 pm
its not possible to move images in .menu files in cod2
Share |
hoek
General Member
Since: Nov 24, 2010
Posts: 12
Last: Nov 23, 2016
[view latest posts]
Level 1
Category: CoD2 General
Posted: Saturday, Dec. 31, 2011 12:23 pm
oh okay :/
Share |
hoek
General Member
Since: Nov 24, 2010
Posts: 12
Last: Nov 23, 2016
[view latest posts]
Level 1
Category: CoD2 General
Posted: Sunday, Jan. 1, 2012 02:25 pm
and scripts can not be solved :D:D ?
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 General
Posted: Sunday, Jan. 1, 2012 08:59 pm
only way to make a moving background for a menu is changing threw menu after menu making it look like the picture is moving but thats just a pain and there is a menu limit im pretty sure and you would run out of menus i think.
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD2 General
Posted: Monday, Jan. 2, 2012 12:17 pm
the magic is here: ui_mp\cac.inc

Code:

		itemDef
		{
			style			WINDOW_STYLE_SHADER
			rect			-107 0 1708 480
			exp				rect X((-107) - ((float(milliseconds() % FOG_SCROLL_TIME) / FOG_SCROLL_TIME) * (854)))
			background		"animbg_blur_fogscroll"
			visible			when( !dvarbool( ui_showEndOfGame ) )
			decoration
		}


the exp line can contain complex expressions, in this case a dynamic rect definition

milliseconds() function is used, to move the fog image

if there's exp and milliseconds() support it should in cod2
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 General
Posted: Monday, Jan. 2, 2012 12:29 pm
Sevenz writes...
Quote:
milliseconds() function is used, to move the fog image

if there's exp and milliseconds() support it should in cod2


There isn't, so it wont.
Share |
serthy
General Member
Since: Sep 8, 2010
Posts: 482
Last: Jun 28, 2013
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 General
Posted: Monday, Jan. 2, 2012 12:53 pm
i guess u cant even use + & - in menufiles... (in CoD2) its really limited..
Share |
hoek
General Member
Since: Nov 24, 2010
Posts: 12
Last: Nov 23, 2016
[view latest posts]
Level 1
Category: CoD2 General
Posted: Monday, Jan. 2, 2012 05:47 pm
So, possible or not: D?
(From the file menu in cod4 and I also watched: D)
Share |
AFirstTImeMapMaker
General Member
Since: May 30, 2011
Posts: 214
Last: Oct 27, 2018
[view latest posts]
Level 4
Category: CoD2 General
Posted: Monday, Jan. 2, 2012 07:35 pm
hoek writes...
Quote:
So, possible or not: D?
(From the file menu in cod4 and I also watched: D)


No, COD2 regrettfully does not support moving menu files.





Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 General

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

»