Bob_the_K

Looking to Remove the hunger and Thurst and use status bar one - reopening

12 posts in this topic

The original thread was under "ask a developer", which the entire forum is currently locked.  I'm resurrecting this because they closed the thread there titled " Looking to Remove the hunger and Thurst and use status bar one " prematurely.

The suggestion from TalyorSwift:  

showHUD[] = {true,true,true,true,true,true,false,true};

 to set the the "true" field corresponding to the HUD to false does not work.  Apparently no one tested it before marking that thread closed.

Anyone have any other ideas?  I've tried all sorts of things with no luck.

 

Share this post


Link to post
Share on other sites

Hey Brother.
Sitting with the issue where I would like to enable squad radar, but these settings in description.ext don't do shit

showHUD[] = {
	true,	// Scripted HUD (same as showHUD command)
	true,	// Vehicle + soldier info
	false,	// Vehicle radar [HIDDEN]
	false,	// Vehicle compass [HIDDEN]
	true,	// Tank direction indicator
	true,	// Commanding menu
	true,	// Group Bar
	true,	// HUD Weapon Cursors
	true	// HUD Squad Radar
};

Would to know how to force my own hud config @developers

Share this post


Link to post
Share on other sites
Advertisement

You must overwrite the code inside Exile_server that creates the Exile hud in order to achieve this. Unfortunately I can't provide or find a solution for this. I want the same thing.

Share this post


Link to post
Share on other sites

Posted (edited)

I have done, and am in the process of doing more extensive replacement. The following is one way to make changes to the UI.

An override is needed for RscExileHUD class which is defined within exile_client/config.cpp

For example:

class RscTitles {
	class RscExileHUD {
		class controls {
			class Grenade: RscControlsGroup {
				show="false";
				y=-1;
			};
			class Weapon: RscControlsGroup {
				show="false";
				y=-1;
			};
			class Vehicle: RscControlsGroup {
				show="false";
				y=-1;
			};
			class Stats: RscControlsGroup {
				class controls {
					delete StatsBackground;
				};
			};			
		};
	};
};

This removes all elements, except the hunger and thirst display and removes the background image from that UI element.

Ugly Hacky, but gets the job done, you will also need to either re-enable the Arma UI or add your own replacement. At least imo.

In my limited only < 6 month total experience modding Arma, you cannot modify the contents of a config.cpp after load time, or using code overrides from a mission file like what is provided from CfgExileCustomCode, for obvious reasons that these are generally custom functions that are complied at run time and not class definitions.

Altering the UI in the way referenced above you'd have to load a custom client side mod and patch over exile_client. Someone please correct me if I'm wrong? I would be interested in finding out alternatives.

Edited by n00dles w/Oculus

Share this post


Link to post
Share on other sites

But he just told you he's looking directly for removing hunger and thirst and you just said that will not remove hunger and thirst? :^)

1 person likes this

Share this post


Link to post
Share on other sites

Posted (edited)

Its an example, I wasn't doing the work for him! There is more required for a complete working UI replacement solution.

I have just pointed out where in the code you need to poke to get at the root of the Exile UI, and given an example. Its by far not the best or most elegant way to do it.

Forgive me if I hand people just enough rope to hang themselves, and little more.

Edited by n00dles w/Oculus
1 person likes this

Share this post


Link to post
Share on other sites

I too am looking for how to exactly get rid of the the thirst / hunger from exile so it doesn't show up next to status bar and look dumb.

Share this post


Link to post
Share on other sites

I've found a few funny ways to BREAK the ui, but not hide and or disable it yet, reenabling the arma UI will be a challenge aswell, I originally thought they just had it hidden using the difficulty but definitely not :S

Share this post


Link to post
Share on other sites
On 11/10/2016 at 2:00 PM, Crazy Mike said:

I've found a few funny ways to BREAK the ui, but not hide and or disable it yet, reenabling the arma UI will be a challenge aswell, I originally thought they just had it hidden using the difficulty but definitely not :S

No, it's completely overwritten by config.

false call ExileClient_gui_hud_toggle;

Yeah.... I didn't know that existed until I asked Vish either...

Share this post


Link to post
Share on other sites
41 minutes ago, Mezo said:

No, it's completely overwritten by config.


false call ExileClient_gui_hud_toggle;

Yeah.... I didn't know that existed until I asked Vish either...

i played with that line earlier with the customcode section but only managed to break the exile ui and not undisable the arma ui >.< unless i did the wrong thing

aswell as the file it leads to

Edited by Crazy Mike

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.