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

Members Online

»
0 Active | 99 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
Category: CoD+UO General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: disable HUD
adam57
General Member
Since: May 15, 2007
Posts: 23
Last: Aug 23, 2018
[view latest posts]
Level 1
Category: CoD+UO General
Posted: Monday, Feb. 18, 2008 04:22 pm
Hey all

i run a server cod uo in awe mod
with different add ..new sound no crosshairs no wepon zoom ( gfm)
flash added thanks eggbeast

and i want to disable hud element ( healt bar etc..)
and if possible just keep the boussole

its possible to add a ligne in my cfg??

i try to add set cg_drawstatus 0 but doesnt work..
anyone have an idee??

thank's

Adam
Share |
eggbeast
General Member
Since: Jan 5, 2007
Posts: 345
Last: Sep 7, 2009
[view latest posts]
Level 5
Category: CoD+UO General
Posted: Wednesday, Feb. 20, 2008 04:23 am
hm i'll have a think on it....
Share |
adam57
General Member
Since: May 15, 2007
Posts: 23
Last: Aug 23, 2018
[view latest posts]
Level 1
Category: CoD+UO General
Posted: Wednesday, Feb. 20, 2008 11:54 am
eggbeast writes...
Quote:
hm i'll have a think on it....


Hey Egg you have a suggestion??

[ohwell]
Share |
eggbeast
General Member
Since: Jan 5, 2007
Posts: 345
Last: Sep 7, 2009
[view latest posts]
Level 5
Category: CoD+UO General
Posted: Wednesday, Feb. 20, 2008 12:51 pm
ok here's first thoughts after stayiong up til 5am mapping so a bit crazy
[mad]

so you're trying to adapt this piece of option menu code...

Code:

	itemDef
	{
		name misc		
		type ITEM_TYPE_YESNO
		text "@MENU_DRAW_HUD"
		cvar "cg_drawstatus"
//		cvarFloatList { "yes" 1 "no" 0 }
		rect		5 200 OPTIONS_CONTROL_SIZE
		textalign	ITEM_ALIGN_RIGHT
		textalignx	OPTIONS_CONTROL_XALIGN 
		textaligny	OPTIONS_CONTROL_YALIGN
		textscale	OPTIONS_CONTROL_TXTSCALE
		style		WINDOW_STYLE_FILLED
		backcolor	OPTIONS_CONTROL_BACKCOLOR
		forecolor	OPTIONS_CONTROL_FORECOLOR
		visible		1 
		action { play "mouse_click"; }
		mouseEnter 
		{
			play "mouse_over";
		}
    	}


but returning a cg_drawstatus isn't possible - it is a peculiar type of variable - clientside only I think.

I have this bit of server config coed in my merciless mod

//------------------------------------
// CROSSHAIRS
//------------------------------------
// USAGE: 0/1/2
// 0 = force off; 1 = force on; 2 = player preference
// DEFAULT: 1
// REMOVE // MARKS BELOW TO OVERRIDE DEFAULT SETTINGS
set scr_crosshairs "2"

which allows crosshair toggling by the server

so what you really want is a
set scr_drawstatus 0
in your config and the relevant script to respond to it.

gonna look into where the script should go...
Share |
adam57
General Member
Since: May 15, 2007
Posts: 23
Last: Aug 23, 2018
[view latest posts]
Level 1
Category: CoD+UO General
Posted: Wednesday, Feb. 20, 2008 03:19 pm
Thank's a lot Egg

i try this..

++

Adam
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD+UO 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

»