Thread: 3D Boxes

Results 1 to 11 of 11
  1. #1
    blurayman's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    359

    Smile 3D Boxes

    3D Boxes

    Code:
    void Boxes(UCanvas* pCanvas, APawn* Target, FColor Color)
    {
    //Valid Target Checks Here
    {
    FVector Min,Max,vVec1,vVec2,vVec3,vVec4,vVec5,vVec6,vVec7, vVec8;

    FBox Returned;
    Target->GetComponentsBoundingBox(&Returned);

    if(Returned.IsValid)
    {
    Max = Returned.Max;
    Min = Returned.Min;
    {
    vVec3 = Min;
    vVec3.X = Max.X;
    vVec4 = Min;
    vVec4.Y = Max.Y;
    vVec5 = Min;
    vVec5.Z = Max.Z;
    vVec6 = Max;
    vVec6.X = Min.X;
    vVec7 = Max;
    vVec7.Y = Min.Y;
    vVec8 = Max;
    vVec8.Z = Min.Z;
    vVec1 = WorldToScreen(pCanvas, Min);
    vVec2 = WorldToScreen(pCanvas, Max);
    vVec3 = WorldToScreen(pCanvas, vVec3);
    vVec4 = WorldToScreen(pCanvas, vVec4);
    vVec5 = WorldToScreen(pCanvas, vVec5);
    vVec6 = WorldToScreen(pCanvas, vVec6);
    vVec7 = WorldToScreen(pCanvas, vVec7);
    vVec8 = WorldToScreen(pCanvas, vVec8);

    pCanvas->Draw2DLine(vVec1.X, vVec1.Y, vVec5.X, vVec5.Y, Color);
    pCanvas->Draw2DLine(vVec2.X, vVec2.Y, vVec8.X, vVec8.Y, Color);
    pCanvas->Draw2DLine(vVec3.X, vVec3.Y, vVec7.X, vVec7.Y, Color);
    pCanvas->Draw2DLine(vVec4.X, vVec4.Y, vVec6.X, vVec6.Y, Color);
    pCanvas->Draw2DLine(vVec1.X, vVec1.Y, vVec3.X, vVec3.Y, Color);
    pCanvas->Draw2DLine(vVec1.X, vVec1.Y, vVec4.X, vVec4.Y, Color);
    pCanvas->Draw2DLine(vVec8.X, vVec8.Y, vVec3.X, vVec3.Y, Color);
    pCanvas->Draw2DLine(vVec8.X, vVec8.Y, vVec4.X, vVec4.Y, Color);
    pCanvas->Draw2DLine(vVec2.X, vVec2.Y, vVec6.X, vVec6.Y, Color);
    pCanvas->Draw2DLine(vVec2.X, vVec2.Y, vVec7.X, vVec7.Y, Color);
    pCanvas->Draw2DLine(vVec5.X, vVec5.Y, vVec6.X, vVec6.Y, Color);
    pCanvas->Draw2DLine(vVec5.X, vVec5.Y, vVec7.X, vVec7.Y, Color);
    }
    }
    }
    }
    Last edited by Margherita; 09-14-2011 at 02:08 PM.

  2. #2
    SilentHacker2341's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    Whats your name in APB ill friend YOU

  3. #3
    debohax's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    381
    Reputation
    13
    Thanks
    2,905
    My Mood
    Busy
    }
    }
    }
    }

    Snickers...
    Dead Island Hacks v1.5 By. Debohax

    Contagion Hacks v1.5 By. Debohax


    Debohax Injector v1.0 By. Debohax

    Dying Light Hack v1.3 By. Debohax

    [IMG]https://i303.photobucke*****m/albums/nn132/MercurySilverstone/Decorated%20images/gamegenie.jpg[/IMG]

  4. #4
    HOOAH07's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    71
    Reputation
    18
    Thanks
    57
    My Mood
    Brooding
    Quote Originally Posted by blurayman View Post
    3D Boxes

    ....
    Stop posting shit without the credits you fucking ******

  5. #5
    Ryuesi's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Right here.
    Posts
    7,339
    Reputation
    413
    Thanks
    2,397
    My Mood
    Relaxed
    Leeched It





    Contributor Since 24-11-2011 ~ 26-12-2011
    VM / PM




  6. #6
    sonofsultana's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Be'er Sheva
    Posts
    57
    Reputation
    10
    Thanks
    4
    My Mood
    Blah
    How do I use it ?

  7. #7
    recsoft's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    gagasg
    Posts
    2
    Reputation
    10
    Thanks
    0
    How can I use this code?

  8. #8
    Khyy's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    1,320
    Reputation
    107
    Thanks
    1,493
    Quote Originally Posted by recsoft View Post
    How can I use this code?
    You have to first have knowledge of C++. If you don't, I wouldn't even bother trying.

  9. #9
    Waverunner's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    1
    Credits goes to lowHertz(?) for it. This guy is just a leecher.

  10. #10
    HOOAH07's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    71
    Reputation
    18
    Thanks
    57
    My Mood
    Brooding
    Quote Originally Posted by Waverunner View Post
    Credits goes to lowHertz(?) for it. This guy is just a leecher.
    Here is my original post, topic starter just posted it with missing everything out like a usual leecher.

    This release comes from Killa/WantToBeTester many years ago (Possibly 4+ Years).
    It is 3D bounding boxes for the pawn. Simple update to use with uNrEaL's APB SDK.


    Credits
    Killa/WantToBeTester
    uNrEaL

    This is a much better option as to the DrawDebugBox option as if also draws when player is behind objects due to the manual DrawLine.

    Code:
    void Boxes(UCanvas* pCanvas, APawn* Target, FColor Color)
    {
    	//Valid Target Checks Here
    	{
    		FVector Min,Max,vVec1,vVec2,vVec3,vVec4,vVec5,vVec6,vVec7,vVec8;
    
    		FBox Returned;
    		Target->GetComponentsBoundingBox(&Returned);
    
    		if(Returned.IsValid)
    		{
    			Max = Returned.Max;
    			Min = Returned.Min;
    			{
    				vVec3 = Min;
    				vVec3.X = Max.X;
    				vVec4 = Min;
    				vVec4.Y = Max.Y;
    				vVec5 = Min;
    				vVec5.Z = Max.Z;
    				vVec6 = Max;
    				vVec6.X = Min.X;
    				vVec7 = Max;
    				vVec7.Y = Min.Y;
    				vVec8 = Max;
    				vVec8.Z = Min.Z;
    				vVec1 = WorldToScreen(pCanvas, Min);
    				vVec2 = WorldToScreen(pCanvas, Max);
    				vVec3 = WorldToScreen(pCanvas, vVec3);
    				vVec4 = WorldToScreen(pCanvas, vVec4);
    				vVec5 = WorldToScreen(pCanvas, vVec5);
    				vVec6 = WorldToScreen(pCanvas, vVec6);
    				vVec7 = WorldToScreen(pCanvas, vVec7);
    				vVec8 = WorldToScreen(pCanvas, vVec8);
    				
    				pCanvas->Draw2DLine(vVec1.X, vVec1.Y, vVec5.X, vVec5.Y, Color);
    				pCanvas->Draw2DLine(vVec2.X, vVec2.Y, vVec8.X, vVec8.Y, Color);
    				pCanvas->Draw2DLine(vVec3.X, vVec3.Y, vVec7.X, vVec7.Y, Color);
    				pCanvas->Draw2DLine(vVec4.X, vVec4.Y, vVec6.X, vVec6.Y, Color);
    				pCanvas->Draw2DLine(vVec1.X, vVec1.Y, vVec3.X, vVec3.Y, Color);
    				pCanvas->Draw2DLine(vVec1.X, vVec1.Y, vVec4.X, vVec4.Y, Color);
    				pCanvas->Draw2DLine(vVec8.X, vVec8.Y, vVec3.X, vVec3.Y, Color);
    				pCanvas->Draw2DLine(vVec8.X, vVec8.Y, vVec4.X, vVec4.Y, Color);
    				pCanvas->Draw2DLine(vVec2.X, vVec2.Y, vVec6.X, vVec6.Y, Color);
    				pCanvas->Draw2DLine(vVec2.X, vVec2.Y, vVec7.X, vVec7.Y, Color);
    				pCanvas->Draw2DLine(vVec5.X, vVec5.Y, vVec6.X, vVec6.Y, Color);
    				pCanvas->Draw2DLine(vVec5.X, vVec5.Y, vVec7.X, vVec7.Y, Color);
    			}
    		}
    	}
    }
    Last edited by HOOAH07; 08-14-2011 at 06:02 AM.

  11. #11
    bwarrior's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    1
    i dont get why they even leech it as if someone on this forum is gonna use it they dont even know what to do whit it
    in a other source code release topic they where even asking if someone could compile the code into a dll >_> and getting all mad cause noone would do it
    Last edited by bwarrior; 08-14-2011 at 10:06 AM.

Similar Threads

  1. What Are Boxes And How Do You Make Stand Alone Trainers?
    By condor01 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 04-19-2007, 02:17 AM
  2. [Request]Player boxes
    By Spoking in forum WarRock - International Hacks
    Replies: 6
    Last Post: 04-15-2007, 02:37 PM
  3. blackpkerstr emty you mail box, I cant send anything to you
    By radnomguywfq3 in forum Spammers Corner
    Replies: 1
    Last Post: 02-25-2007, 11:51 AM
  4. Ammo/Damage Box Values?
    By wooden_amulet in forum WarRock - International Hacks
    Replies: 4
    Last Post: 06-02-2006, 02:55 AM
  5. Advanced Box Cut
    By Chronologix in forum Tutorials
    Replies: 11
    Last Post: 01-23-2006, 09:00 PM