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

Members Online

»
0 Active | 58 Guests
Online:

LATEST FORUM THREADS

»
Gaming
Q4 General
eXtreme+ v2.9
CoDBO Map + Mod Releases
map loading error
CoD2 MP Mapping
Good Servers on PC
CoDBO 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
Page
Previous Page Next Page
subscribe
Author Topic: Shellshock
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 05:38 am
maxxis95 writes...
Quote:
in startgametype.gsc :X


Nope,hud.menu.
Share |
maxxis95
General Member
Since: Aug 28, 2012
Posts: 55
Last: Sep 17, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 06:05 am
but health bar im trying to use is called in startgametype
Share |
maxxis95
General Member
Since: Aug 28, 2012
Posts: 55
Last: Sep 17, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 10:03 am
bumpy bump
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 11:00 am
maxxis95 writes...
Quote:
but health bar im trying to use is called in startgametype


Nope, hud.menu.

Ill keep posting this until you take an actual look in the hud.menu file.
Share |
maxxis95
General Member
Since: Aug 28, 2012
Posts: 55
Last: Sep 17, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 11:03 am
but look, there is no hud.menu in epam and maps\pam\shellshock.gsc is called in startgametype only.

are you maybe saying i should have change something in hud.menu so it will work in strat aswell?
Share |
maxxis95
General Member
Since: Aug 28, 2012
Posts: 55
Last: Sep 17, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 11:09 am
just checked hud.menu and i have no idea what are you talking about
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 11:39 am
maxxis95 writes...
Quote:
but look, there is no hud.menu in epam and maps\pam\shellshock.gsc is called in startgametype only.

are you maybe saying i should have change something in hud.menu so it will work in strat aswell?


When I said to use dvars to turn on Infinity Ward's healthbar, which bit of that did you not understand? Did it not register with you that Infinity Ward's healthbar isn't the one in PAM?

If you want to go back to using the one in PAM mod, you go right ahead. Don't let us stop you. Just remove those 2 dvars I gave you and you wont be using it any longer. But for heaven's sake don't continue to confuse the two healthbars. One has nothing to do with the other.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 11:42 am
maxxis95 writes...
Quote:
just checked hud.menu and i have no idea what are you talking about


From iw_06.iwd\ui_mp\hud.menu:

Code:

	// HEALTH BAR
	menuDef
	{
		name "Health"
		fullScreen MENU_FALSE
		visible MENU_TRUE
		rect -152 -20 0 0 HORIZONTAL_ALIGN_RIGHT VERTICAL_ALIGN_BOTTOM
		
		itemDef
		{
			name "healthbarback"
			rect 13 0 130 12
			forecolor 1.0 1.0 1.0 1.0
			background "gfx/hud/hud@health_back.tga"
			ownerdraw CG_PLAYER_BAR_HEALTH_BACK
			visible MENU_TRUE
			decoration
		}
		itemDef
		{
			name "healthbar"
			rect 14 1 128 10
			forecolor 0.7 0.4 0.0 1.0
			background "gfx/hud/hud@health_bar.tga"
			ownerdraw CG_PLAYER_BAR_HEALTH
			visible MENU_TRUE
			decoration
		}
		itemDef
		{
			name "healthbarcross"
			rect 0 0 12 12
			forecolor 1.0 1.0 1.0 1.0
			background "gfx/hud/hud@health_cross.tga"
			ownerdraw CG_PLAYER_BAR_HEALTH_BACK
			visible MENU_TRUE
			decoration
		}
	}


Did you miss it? Even though it is staring you in the face?
Share |
maxxis95
General Member
Since: Aug 28, 2012
Posts: 55
Last: Sep 17, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 12:22 pm
no i didnt, but i see no conection between this hud.menu and not working healthbar (pam one)

edit: i dont want to edit position of healthbar in hud.menu because maps\pam\shellshock has that problem already fixed. i just dont see any reason why doesn't it work in strat gametype.
Share |
Tally
General Member
Since: Apr 21, 2005
Posts: 819
Last: Oct 26, 2012
[view latest posts]
Level 7
Category: CoD2 Scripting
Posted: Sunday, Sep. 16, 2012 12:59 pm
maxxis95 writes...
Quote:
no i didnt, but i see no conection between this hud.menu and not working healthbar (pam one)

edit: i dont want to edit position of healthbar in hud.menu because maps\pam\shellshock has that problem already fixed. i just dont see any reason why doesn't it work in strat gametype.


I'm done trying to help you.

Good luck.
Share |
Restricted Access Topic is Locked
Page
Previous 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

»