Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [HUD] New HUD [Update2 read first Post]
Re: [Release] New HUD [Update2 read first Post] [message #365963 is a reply to message #364542] Sun, 04 January 2009 13:13 Go to previous messageGo to previous message
dr3w2 is currently offline  dr3w2
Messages: 485
Registered: September 2006
Location: Ottawa,Canada
Karma:
Commander
To do the mines/remotes/timed thing this is what i ended up adding:

if (RenderMinesText)
	{
		MinesRender2DClass->Reset();
		RectClass *r = (RectClass *)((char *)MinesRender2DClass+0x5B8);
		float Mines = float(Get_C4_Count_Proximity(Get_Player_Type(obj)));
		float c4 = float(Get_C4_Count_Remote(Get_Player_Type(obj)));
		float c42 = float(Get_C4_Count(Get_Player_Type(obj)));

		r->Right = MinesPosition->X;
		r->Left = MinesPosition->X;
		r->Top = MinesPosition->Y;
		r->Bottom = MinesPosition->Y;
		char text[20];
		unsigned int h = (unsigned int)(Mines + 0.5f);
		unsigned int j = (unsigned int)(c4 + 0.5f);
		unsigned int k = (unsigned int)(c42 + 0.5f) - h - j;
		sprintf(text,"%d  :  %d  :  %d",h,j,k);
		unsigned int color = MinesColor;
		MinesRender2DClass->Draw_Text(text,color);
		MinesRender2DClass->Render();
	}


I couldn't find a command to get the timed c4 count, so i figured why not just subtract mines and remotes from the total Smile
This will output mines : remotes : timed for your team. Its actually extremely useless but i figured why not


n00bstories Server Administrator

[Updated on: Sun, 04 January 2009 13:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Moving old release topics done
Next Topic: RELEASE: The Virtual Westwood Museum Mod V1.0
Goto Forum:
  


Current Time: Fri Dec 13 09:28:45 MST 2024

Total time taken to generate the page: 0.03110 seconds