Post: [Tut/C#] How To Manipulate FPS Text
07-10-2014, 10:26 AM #1
Sticky
Mary J Wannnnna
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NextGenUpdate Users!

Today I bring you a little bit on FPS text manipulation, this can be used for mainly mod menus. The cool thing about FPS is that it is there no matter what state your client is (host or not) so you can make non-host menus' with this, unlike HUD Element mod menus'!

For this I used iMCSx's PS3Lib as my PS3 Class.

Here is the class I made for FPS manipulation:

    
public class FPSManipulation
{
public class Struct
{
public static uint
Size = 0x4D56DC,
xPosition = 0x4D5850,
xPosition = 0x4D5950,
Text = 0x323AA8;
}

private static uint FPS(uint Offset = 0)
{
return 0x253AC8 + Offset;
}

public static void Toggle()
{
if (PS3.Extension.ReadByte(FPS()) == 0x41)
PS3.Extension.WriteByte(FPS(), 0x40); //FPS Enabled
else
PS3.Extension.WriteByte(FPS(), 0x41); //FPS Disabled
}

public static void Write(string Text, float FontSize, float X, float Y)
{
PS3.Extension.WriteString(FPS(Struct.Text), Text); //Writes your input directly to the FPS string
PS3.Extension.WriteFloat(FPS(Struct.Size), FontSize); //Font size is a float (ALWAYS)
PS3.Extension.WriteFloat(FPS(Struct.xPosition), X); //X Position is ALWAYS a float (Huds, Origin, Angles etc.)
PS3.Extension.WriteFloat(FPS(Struct.yPosition), Y); //Y Position is ALWAYS a float (Huds, Origin, Angles etc.)
}
}



Credits:
Sticky - Creating the class
SC58 - FPS Offsets
iMCSx - PS3Lib
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Sticky for this useful post:

anxify
07-10-2014, 11:12 AM #2
SC58
Former Staff
Originally posted by Sticky View Post
Hello NextGenUpdate Users!

Today I bring you a little bit on FPS text manipulation, this can be used for mainly mod menus. The cool thing about FPS is that it is there no matter what state your client is (host or not) so you can make non-host menus' with this, unlike HUD Element mod menus'!

For this I used iMCSx's PS3Lib as my PS3 Class.

Here is the class I made for FPS manipulation:

    
public class FPSManipulation
{
public class Struct
{
public static uint
Size = 0x4D56DC,
xPosition = 0x4D5850,
xPosition = 0x4D5950,
Text = 0x323AA8;
}

private static uint FPS(uint Offset = 0)
{
return 0x253AC8 + Offset;
}

public static void Toggle()
{
if (PS3.Extension.ReadByte(FPS()) == 0x41)
PS3.Extension.WriteByte(FPS(), 0x40); //FPS Enabled
else
PS3.Extension.WriteByte(FPS(), 0x41); //FPS Disabled
}

public static void Write(string Text, float FontSize, float X, float Y)
{
PS3.Extension.WriteString(FPS(Struct.Text), Text); //Writes your input directly to the FPS string
PS3.Extension.WriteFloat(FPS(Struct.Size), FontSize); //Font size is a float (ALWAYS)
PS3.Extension.WriteFloat(FPS(Struct.xPosition), X); //X Position is ALWAYS a float (Huds, Origin, Angles etc.)
PS3.Extension.WriteFloat(FPS(Struct.yPosition), Y); //Y Position is ALWAYS a float (Huds, Origin, Angles etc.)
}
}



Credits:
Sticky - Creating the class
SC58 - FPS Offsets
iMCSx - PS3Lib


It's Local Client function other know as Engine Texted to do these type of thing, You can use the function to make a host only/non host menu look pretty much like a hud elem menu

Here is a few video of em



R_AddCmdDrawText
R_AddCmdDrawStretchPic

There is more function you can use, Just google cod engine text stuff you will find more info on it as its not my info to post Winky Winky

The following 3 users say thank you to SC58 for this useful post:

anxify, OLDSCHOOLMODZHD, Sticky
07-10-2014, 11:36 AM #3
Taylor
Former Black Knight.
Originally posted by SC58 View Post
It's Local Client function other know as Engine Texted to do these type of thing, You can use the function to make a host only/non host menu look pretty much like a hud elem menu

Here is a few video of em



R_AddCmdDrawText
R_AddCmdDrawStretchPic

There is more function you can use, Just google cod engine text stuff you will find more info on it as its not my info to post Winky Winky


I take that as a challenge you know Winky Winky

The following 3 users say thank you to Taylor for this useful post:

Sabotage, Sticky, Zambie
07-10-2014, 04:37 PM #4
Originally posted by SC58 View Post
~snip~


I was just thinking that lol
07-10-2014, 06:14 PM #5
Mango_Knife
In my man cave
Originally posted by Sticky View Post
Hello NextGenUpdate Users!

Today I bring you a little bit on FPS text manipulation, this can be used for mainly mod menus. The cool thing about FPS is that it is there no matter what state your client is (host or not) so you can make non-host menus' with this, unlike HUD Element mod menus'!

For this I used iMCSx's PS3Lib as my PS3 Class.

Here is the class I made for FPS manipulation:

    
public class FPSManipulation
{
public class Struct
{
public static uint
Size = 0x4D56DC,
xPosition = 0x4D5850,
xPosition = 0x4D5950,
Text = 0x323AA8;
}

private static uint FPS(uint Offset = 0)
{
return 0x253AC8 + Offset;
}

public static void Toggle()
{
if (PS3.Extension.ReadByte(FPS()) == 0x41)
PS3.Extension.WriteByte(FPS(), 0x40); //FPS Enabled
else
PS3.Extension.WriteByte(FPS(), 0x41); //FPS Disabled
}

public static void Write(string Text, float FontSize, float X, float Y)
{
PS3.Extension.WriteString(FPS(Struct.Text), Text); //Writes your input directly to the FPS string
PS3.Extension.WriteFloat(FPS(Struct.Size), FontSize); //Font size is a float (ALWAYS)
PS3.Extension.WriteFloat(FPS(Struct.xPosition), X); //X Position is ALWAYS a float (Huds, Origin, Angles etc.)
PS3.Extension.WriteFloat(FPS(Struct.yPosition), Y); //Y Position is ALWAYS a float (Huds, Origin, Angles etc.)
}
}



Credits:
Sticky - Creating the class
SC58 - FPS Offsets
iMCSx - PS3Lib


Well yeah!
I think no host menu's are really fun because you can use them host/no host wich its pretty fun Winky Winky
I like to mess with them and made cool stuff with them
since their arent alot of no host menu's:


07-10-2014, 06:20 PM #6
makeabce
I defeated!
Originally posted by Knife View Post
Well yeah!
I think no host menu's are really fun because you can use them host/no host wich its pretty fun Winky Winky
I like to mess with them and made cool stuff with them
since their arent alot of no host menu's:


Here is my mw2 non-host menu :p

07-10-2014, 06:28 PM #7
Mango_Knife
In my man cave
Originally posted by makeabce View Post
Here is my mw2 non-host menu :p



not enough
Make it with 60-70 options Smile
07-10-2014, 06:36 PM #8
SC58
Former Staff
Originally posted by Taylor View Post
I take that as a challenge you know Winky Winky


You prob will not get it working with rpc, you will have to make a custom ppc code for the function well that wat i did

rpc will just freeze u
07-10-2014, 06:44 PM #9
SC58
Former Staff
Originally posted by OLDSCHOOLMODZHD View Post
I was just thinking that lol


yeah it can be done on every cod

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo