Post: [SPRX]PreGame Lobby Text
09-18-2016, 12:05 PM #1
TehMerkMods
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); So A Friend of mine posted this....
You must login or register to view this content.
So I Decided It was finally time to post it for BO2 :P

I'm Just Going To Make This Basic AF


void Menu_PaintAllStub(...)
{
__asm("li %r3, 0x1;");
}
void Menu_PaintAllHook(int LocalClientNum, int dc)
{
if (!Dvar_GetBool("cl_ingame"))//Not Really Needed But why not?
{
}
Menu_PaintAllStub(LocalClientNum, dc);
}

HookFunctionStart(0x3971A0, (int)Menu_PaintAllStub, (int)Menu_PaintAllHook);

You must login or register to view this content.

Basically This Is Used To Draw PreGame lobby text(like Paradox CE)

Other Games

MW2 - 0x253670
BO1 - 0x465368
BO2 - 0x3971A0
MW3 - 0x2772BC


Credits:
Sabotage
S63
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to TehMerkMods for this useful post:

-Numb, AlexZero, anxify, Bigmoneyhustlin, Luckeyy, gοd, lucasaf01, MessinBound, OG Trojan041, ProfoundModz, S63, Kronos, TheGreenPlanet
09-18-2016, 12:10 PM #2
OG Trojan041
Little One
First <3
09-18-2016, 01:26 PM #3
S63
Space Ninja
Originally posted by TehMerkMods View Post
So A Friend of mine posted this....
You must login or register to view this content.
So I Decided It was finally time to post it for BO2 :P

I'm Just Going To Make This Basic AF


void Menu_PaintAllStub(...)
{
__asm("li %r3, 0x1;");
}
void Menu_PaintAllHook(int LocalClientNum, int dc)
{
if (!Dvar_GetBool("cl_ingame"))//Not Really Needed But why not?
{
}
Menu_PaintAllStub(LocalClientNum, dc);
}

HookFunctionStart(0x3971A0, (int)Menu_PaintAllStub, (int)Menu_PaintAllHook);

You must login or register to view this content.

Basically This Is Used To Draw PreGame lobby text(like Paradox CE)

Other Games

MW2 - 0x253670
BO1 - 0x465368
BO2 - 0x3971A0
MW3 - 0x2772BC


Credits:
Sabotage
S63


Nice Smile
09-18-2016, 01:40 PM #4
MessinBound
Bounty hunter
Awesome Gasp

The following user thanked MessinBound for this useful post:

OG Trojan041
09-18-2016, 04:05 PM #5
Luckeyy
Retired - Lead Content Manager
Originally posted by TehMerkMods View Post
So A Friend of mine posted this....
You must login or register to view this content.
So I Decided It was finally time to post it for BO2 :P

I'm Just Going To Make This Basic AF


void Menu_PaintAllStub(...)
{
__asm("li %r3, 0x1;");
}
void Menu_PaintAllHook(int LocalClientNum, int dc)
{
if (!Dvar_GetBool("cl_ingame"))//Not Really Needed But why not?
{
}
Menu_PaintAllStub(LocalClientNum, dc);
}

HookFunctionStart(0x3971A0, (int)Menu_PaintAllStub, (int)Menu_PaintAllHook);

You must login or register to view this content.

Basically This Is Used To Draw PreGame lobby text(like Paradox CE)

Other Games

MW2 - 0x253670
BO1 - 0x465368
BO2 - 0x3971A0
MW3 - 0x2772BC


Credits:
Sabotage
S63


Nice post something you dont see everyday, Well done! Keep up the good work

The following user thanked Luckeyy for this useful post:

TehMerkMods
09-19-2016, 03:47 AM #6
SC58
Former Staff
there is other function u can hook into if you know what function does what, don't feel like listing any but this is the most proper one to use whether u use this ingame or pregame as it paints the menu items.

plus people making shit menu that don't link up to the player res 720/1080 etc need to use screenplacement and make the width and height within

#define SCREEN_HEIGHT 480
#define SCREEN_WIDTH 640

and everything will look perfect if the client has 720 or 1080 without it looking like crap if you need to be on 720 or whatever

plus i would use item_paint to make a menu (as that is how the game does it) instead of using drawtext/drawpic functions only :p

just a tip Smile
09-19-2016, 04:53 AM #7
Kinda a pointless thread, anyone using common sense could figure out how to draw pre-game..
But ye there's hundreds of functions you can hook to draw pre-game, as long as the function you're hooking is called each frame and runs when you're not ingame you can use it for drawing pre-game shaders / text... The easiest address to hook and find for each game for drawing pre-game is the FPS address, just use HookFunctionStart with it (because you need to bctr back into the function)
10-06-2016, 07:22 PM #8
RakzMods
Bounty hunter
Question. Does this allow me to make a non host pregame out of this?
10-07-2016, 07:54 PM #9
S63
Space Ninja
Originally posted by RakzMods View Post
Question. Does this allow me to make a non host pregame out of this?


Yes like the fury pregame menu or paradox

The following user thanked S63 for this useful post:

RakzMods
10-07-2016, 09:00 PM #10
RakzMods
Bounty hunter
Originally posted by S63 View Post
Yes like the fury pregame menu or paradox


Ight so I can like, add options like namechanger and other stuff?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo