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

Members Online

»
0 Active | 8 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 subscribe
Author Topic: modify loadbar
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Feb. 7, 2011 02:48 pm
Hey guys,
i want to change the loadbar in my Mod.
I found that in the connect.menu

Code:
		// the loading bar
		itemDef 
		{
			name "loadbar"
			decoration
			visible 1
			rect 317 421 262 16
			style WINDOW_STYLE_SHADER
	 		background "loadbar_background"
			dvartest "com_expectedhunkusage"
			hidedvar { "0" }
		}
		
		itemDef 
		{
			name "loadbar"
			decoration
			visible 1
			rect 320 425 256 8
			style WINDOW_STYLE_LOADBAR
	 		background "white"
	 		//forecolor 1 0 0 1
	 		//backcolor	1 0 0 1
			forecolor 0 0 1 1
	 		backcolor	0 0 1 1
			dvartest "com_expectedhunkusage"
			hidedvar { "0" }
		}


I thought editing the "white.iwi" will solve the problem but it doesn't work,
first i just found the $white.iwi in the iw_13.iwd - i tried to open and edit with various converter and programms... but i just got a violation error or something...

there are two possible ways now...
1. some one can tell me the lenght and height from the loadbar

or

2. some one can give me a loadbar.dds or something i can work with ^^

I hope any1 can help me out here!!!

And please excuse my bad englisch :P

greetings

edited on Feb. 7, 2011 09:48 am by |S!T|
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 Scripting
Posted: Monday, Feb. 7, 2011 03:35 pm
i dont know what the loading bar image is exactly. but you have to create your own custom loading bar image then name it the same thing the original one is. then place it in an image and materials folder in your mod.
Share |
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Feb. 7, 2011 03:59 pm
liltc64 writes...
Quote:
........then place it in an image and materials folder in your mod.


both?for mapping i did both... but in my mod every image only got an iwi....
and how do i know the size for the custom load bar? :)

edited on Feb. 7, 2011 11:15 am by |S!T|

i haven't worked with the asset manager for this btw.
Share |
|S!T|
General Member
Since: Nov 8, 2007
Posts: 93
Last: Dec 9, 2013
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Monday, Feb. 7, 2011 05:59 pm
problem solved :D

asset manager did it ;)

Share |
Restricted Access Topic is Locked 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

»