unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > First-Person Shooters > Americas Army Series > America's Army UE v2

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2007, 05:48 PM
Neo_Reloaded Neo_Reloaded is offline
Tutorial Admin
 
Join Date: Dec 2006
Posts: 259
Default Body parts text information

Hi there,

i just make a new little tweak for your source.
You will see textinformation ("Head selected", "Torso selected"....) if you change bodyparts.
You only need to edit the dll source section.
You will find the dll section in you evilhack folder of your source.

evilhack.cpp
search for this:
Code:
if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_HeadKey)
		GameInfo.m_Settings.m_BodyPart = 3;
	if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_HandsKey)
		GameInfo.m_Settings.m_BodyPart = 2;
	if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_TorsoKey)
		GameInfo.m_Settings.m_BodyPart = 1;
	if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_LegsKey)
		GameInfo.m_Settings.m_BodyPart = 0;
replace it with this:
Code:
if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_HeadKey && !GameInfo.m_bTDisplayBodyparts)
	{
		GameInfo.m_Settings.m_BodyPart = 3;
		GameInfo.m_bTDisplayBodyparts = true;
	}
	if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_HandsKey && !GameInfo.m_bTDisplayBodyparts)
	{
		GameInfo.m_Settings.m_BodyPart = 2;
		GameInfo.m_bTDisplayBodyparts = true;
	}
	if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_TorsoKey && !GameInfo.m_bTDisplayBodyparts)
	{
		GameInfo.m_Settings.m_BodyPart = 1;
		GameInfo.m_bTDisplayBodyparts = true;
	}
	if (lpMsg->message == WM_KEYDOWN && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_LegsKey && !GameInfo.m_bTDisplayBodyparts)
	{
		GameInfo.m_Settings.m_BodyPart = 0;
		GameInfo.m_bTDisplayBodyparts = true;
	}
	if (lpMsg->message == WM_KEYUP && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_HeadKey)
	GameInfo.m_bTDisplayBodyparts = false;
	if (lpMsg->message == WM_KEYUP && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_HandsKey)
	GameInfo.m_bTDisplayBodyparts = false;
	if (lpMsg->message == WM_KEYUP && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_TorsoKey)
	GameInfo.m_bTDisplayBodyparts = false;
	if (lpMsg->message == WM_KEYUP && lpMsg->wParam == GameInfo.m_Settings.m_LaqBoy1_LegsKey)
	GameInfo.m_bTDisplayBodyparts = false;

Gameinfo.h
search for this:
Code:
bool m_bTDisplay;
add this:
Code:
bool m_bTDisplayBodyparts;

Tweaks.cpp
search for this:
Code:
if (bHElevMode)
			bHElevMode = false;
		GameInfo.m_bHEMcycle = false;
		bAutoLevel = true;
	}
add this:
Code:
//Display Bodyparts info
	if (GameInfo.m_bTDisplayBodyparts)
	{
                info_box_t NewBox;
		NewBox.x = 10;
		NewBox.y = 480;
		NewBox.color = 0xFFFFFF00;
                                //Display Bodypart Status
               if (GameInfo.m_Settings.m_BodyPart == 3)
	        sprintf(NewBox.text, "Head selected");
		else if (GameInfo.m_Settings.m_BodyPart == 2)
	        sprintf(NewBox.text, "Hands selected");
		else if (GameInfo.m_Settings.m_BodyPart == 1)
	        sprintf(NewBox.text, "Torso selected");
		else if (GameInfo.m_Settings.m_BodyPart == 0)
	        sprintf(NewBox.text, "Legs selected");
                GameInfo.m_InfoBoxList.push_back(NewBox);
                }
thats all...
i hope you find it usefull

cya
SAMDestroy
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
body, information, parts, text

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 03:43 PM.