Post: 1.13 Hud Elements + SV_SendServerCommand
10-28-2013, 10:54 PM #1
seb5594
Proud Former Admin
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,

I released to the Hud Elements a Hud Designer for Elite Member, so if you want to try it then lock here
You must login or register to view this content.
It makes no sense to keep it private, Ghosts will be released in few days and this Modding Section is almost dead.
Maybe i can get some MW3 Menu Developer to Black Ops cause you can do some nice things and it does not freeze often like Black Ops 1 or MW3 =D
Unlike Xbox Guys, we are the first one with working Shaders (Guys on Xbox got only text) Winky Winky

A Picture on PS3 what you can do :vince:
You must login or register to view this content.

Lets start with the Hud Elements. You can use them only if you know how to use them. I cant make for everyone a private lesson Choco

Here we go.
You must login or register to view this content. (Mediafire Link)
It contains:
- ReadMe.txt
- HudElements.cs
- PS3Lib.cs (Thanks to iMCSx)

Add both .cs Files to your Project. To call anything from this classes just call this...
BO1Lib.????? <---Function you want

Anyways, lets start adding Huds x)
The Syntax is really easy and the Coding should be clear.
You can test the Huds in a button if you want.


Here is a Example:
    UInt32 MyShader = BO1Lib.HudElements.SetShader(0,6,150,150,250,250,255,255,255,255);

Thats is it. To see what every number is here are the arguments of the Function..
    Int32 clientIndex, SByte Material, Int16 Width, Int16 Height, Single X, Single Y, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255


Notice for Materialindex: 6 = White Shader, the max for the shader Material is 114 (Prestige 15 Icon). If you put a higher number your ps3 will probably freeze)

Now the same for Text Functions
Thats are the arguments for this Function.

    Int32 clientIndex, String Text, Single X, Single Y, Single FontScale, Byte Font, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255, Byte GlowR = 255, Byte GlowG = 255, Byte GlowB = 255, Byte GlowA = 255

In a Button or whatever it would be look like this
    UInt32 MyText = BO1Lib.HudELements.SetText(0,"My String for Client 0",250,250,3,5,255,255,255,255,255,255,255,255);

Little Notice for Font and Font Size. You cant put a higher Number than 7. It will make some weird Fonts only!
The Startoffsets for the Elements are stored (if we use this Example) "MyText" and "MyShader".

If you want to clear the Memory from only one Shader you could do this:
BO1Lib.HudElements.DestroyElement(MyShader); //or MyText i hope you got the point of it. you dont need to give any Indexes or whatever, Call a Element, Clear it then with the DestroyElement Function.

I dont know what i can tell you more about Hud Elements for BO1, if you have abit Knowledge with MW3 Huds you can figure it out the rest Smile
If you have any Problem then write it in this Thread please.

Now we come to a other Part. Everyone who messed arround with HudElements should know the Function "SV_SendServerCommand".
Its a really nice Function in BO1. You can set Dvar for all Clients, Send Messages and the Stuff.


Here are some Functions, not included in both class you can add them easily Smile (SV is in the class but not the other Functions like SetDvar)
    
public static void iPrintln(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "f \"" + text + "\"");
}
public static void iPrintlnBold(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "c \"" + text + "\"");
}
public static void SetDvar(Int32 clientIndex, String DvarName, Int32 value)
{
SV_SendServerCommand(clientIndex, "v "+DvarName+" "+value+"");
iPrintlnBold(clientIndex, "^1Set Dvar " + DvarName + ": " + value);
}


You can find more Commands in SC58s Thread. He released them Winky Winky
You must login or register to view this content.

I hope everything is clear for you, if not just write it in the Thread.
And its not a RPC. You can compare it to iMCSx Huds Release its not a RPC too just Ghetto Functions like here but they work correct and never Freezed me on BO1!

Credits:
seb5594 - Mapping out Hud Elem Struct , this Tutorial and SV_SendServerCommand Function
Therifboy - It wasnt possible without this Guy. He teached me some PPC without him i wouldnt release this today! He helped me on much things we worked togheter on it and on my first Ghetto Function Smile
SC58 - Offsets
iMCSx - PS3Lib
(adsbygoogle = window.adsbygoogle || []).push({});

The following 26 users say thank you to seb5594 for this useful post:

Eddie Mac, Ansity., EdiTzZ, FusionIsDaName, JLM, LaRip8, Mango_Knife, MegaMister, network10, John, Notorious, ps3inthebest, ShutTheCrunchUp, Silent Assassin, SnaY, SNMT| Havoc, Sticky, Taylor, Swiss, Terrorize 420, TreyarchTragedy, worrorfight, Fatality, xPAQz, zZHackzZ
10-28-2013, 10:57 PM #2
SnaY
Former Lead of GS
Awesome stuff man, great job, you've taken my advice to work as seb5594 :p

The following user thanked SnaY for this useful post:

10-28-2013, 11:00 PM #3
EdiTzZ
EdiTzZMoDz
Are you back man? Smile Nice stuff!
10-28-2013, 11:02 PM #4
seb5594
Proud Former Admin
Originally posted by EdiTzZ View Post
Are you back man? Smile Nice stuff!


Yeah, your welcome Smile
10-28-2013, 11:02 PM #5
Nice release will bring some life back to BO1 modding section
10-28-2013, 11:10 PM #6
Originally posted by seb5594 View Post
Hey NGU,

I released to the Hud Elements a Hud Designer for Elite Member, so if you want to try it then lock here
You must login or register to view this content.
It makes no sense to keep it private, Ghosts will be released in few days and this Modding Section is almost dead.
Maybe i can get some MW3 Menu Developer to Black Ops cause you can do some nice things and it does not freeze often like Black Ops 1 or MW3 =D
Unlike Xbox Guys, we are the first one with working Shaders (Guys on Xbox got only text) Winky Winky

A Picture on PS3 what you can do :vince:
You must login or register to view this content.

Lets start with the Hud Elements. You can use them only if you know how to use them. I cant make for everyone a private lesson Choco

Here we go.
You must login or register to view this content. (Mediafire Link)
It contains:
- ReadMe.txt
- HudElements.cs
- PS3Lib.cs (Thanks to iMCSx)

Add both .cs Files to your Project. To call anything from this classes just call this...
BO1Lib.????? <---Function you want

Anyways, lets start adding Huds x)
The Syntax is really easy and the Coding should be clear.
You can test the Huds in a button if you want.


Here is a Example:
    UInt32 MyShader = BO1Lib.HudElements.SetShader(0,6,150,150,250,250,255,255,255,255);

Thats is it. To see what every number is here are the arguments of the Function..
    Int32 clientIndex, SByte Material, Int16 Width, Int16 Height, Single X, Single Y, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255


Notice for Materialindex: 6 = White Shader, the max for the shader Material is 114 (Prestige 15 Icon). If you put a higher number your ps3 will probably freeze)

Now the same for Text Functions
Thats are the arguments for this Function.

    Int32 clientIndex, String Text, Single X, Single Y, Single FontScale, Byte Font, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255, Byte GlowR = 255, Byte GlowG = 255, Byte GlowB = 255, Byte GlowA = 255

In a Button or whatever it would be look like this
    UInt32 MyText = BO1Lib.HudELements.SetText(0,"My String for Client 0",250,250,3,5,255,255,255,255,255,255,255,255);

Little Notice for Font and Font Size. You cant put a higher Number than 7. It will make some weird Fonts only!
The Startoffsets for the Elements are stored (if we use this Example) "MyText" and "MyShader".

If you want to clear the Memory from only one Shader you could do this:
BO1Lib.HudElements.DestroyElement(MyShader); //or MyText i hope you got the point of it. you dont need to give any Indexes or whatever, Call a Element, Clear it then with the DestroyElement Function.

I dont know what i can tell you more about Hud Elements for BO1, if you have abit Knowledge with MW3 Huds you can figure it out the rest Smile
If you have any Problem then write it in this Thread please.

Now we come to a other Part. Everyone who messed arround with HudElements should know the Function "SV_SendServerCommand".
Its a really nice Function in BO1. You can set Dvar for all Clients, Send Messages and the Stuff.


Here are some Functions, not included in both class you can add them easily Smile (SV is in the class but not the other Functions like SetDvar)
    
public static void iPrintln(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "f \"" + text + "\"");
}
public static void iPrintlnBold(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "c \"" + text + "\"");
}
public static void SetDvar(Int32 clientIndex, String DvarName, Int32 value)
{
SV_SendServerCommand(clientIndex, "v "+DvarName+" "+value+"");
iPrintlnBold(clientIndex, "^1Set Dvar " + DvarName + ": " + value);
}


You can find more Commands in SC58s Thread. He released them Winky Winky
You must login or register to view this content.

I hope everything is clear for you, if not just write it in the Thread.
And its not a RPC. You can compare it to iMCSx Huds Release its not a RPC too just Ghetto Functions like here but they work correct and never Freezed me on BO1!

Credits:
seb5594 - Mapping out Hud Elem Struct , this Tutorial and SV_SendServerCommand Function
Therifboy - It wasnt possible without this Guy. He teached me some PPC without him i wouldnt release this today! He helped me on much things we worked togheter on it and on my first Ghetto Function Smile
SC58 - Offsets
iMCSx - PS3Lib


You amazing person
10-28-2013, 11:11 PM #7
Glitch NGU posting twice :y:
10-28-2013, 11:20 PM #8
Nice Smile
10-28-2013, 11:22 PM #9
zZHackzZ
Climbing up the ladder
Originally posted by seb5594 View Post
Hey NGU,

I released to the Hud Elements a Hud Designer for Elite Member, so if you want to try it then lock here
You must login or register to view this content.
It makes no sense to keep it private, Ghosts will be released in few days and this Modding Section is almost dead.
Maybe i can get some MW3 Menu Developer to Black Ops cause you can do some nice things and it does not freeze often like Black Ops 1 or MW3 =D
Unlike Xbox Guys, we are the first one with working Shaders (Guys on Xbox got only text) Winky Winky

A Picture on PS3 what you can do :vince:
You must login or register to view this content.

Lets start with the Hud Elements. You can use them only if you know how to use them. I cant make for everyone a private lesson Choco

Here we go.
You must login or register to view this content. (Mediafire Link)
It contains:
- ReadMe.txt
- HudElements.cs
- PS3Lib.cs (Thanks to iMCSx)

Add both .cs Files to your Project. To call anything from this classes just call this...
BO1Lib.????? <---Function you want

Anyways, lets start adding Huds x)
The Syntax is really easy and the Coding should be clear.
You can test the Huds in a button if you want.


Here is a Example:
    UInt32 MyShader = BO1Lib.HudElements.SetShader(0,6,150,150,250,250,255,255,255,255);

Thats is it. To see what every number is here are the arguments of the Function..
    Int32 clientIndex, SByte Material, Int16 Width, Int16 Height, Single X, Single Y, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255


Notice for Materialindex: 6 = White Shader, the max for the shader Material is 114 (Prestige 15 Icon). If you put a higher number your ps3 will probably freeze)

Now the same for Text Functions
Thats are the arguments for this Function.

    Int32 clientIndex, String Text, Single X, Single Y, Single FontScale, Byte Font, Byte R = 255, Byte G = 255, Byte B = 255, Byte A = 255, Byte GlowR = 255, Byte GlowG = 255, Byte GlowB = 255, Byte GlowA = 255

In a Button or whatever it would be look like this
    UInt32 MyText = BO1Lib.HudELements.SetText(0,"My String for Client 0",250,250,3,5,255,255,255,255,255,255,255,255);

Little Notice for Font and Font Size. You cant put a higher Number than 7. It will make some weird Fonts only!
The Startoffsets for the Elements are stored (if we use this Example) "MyText" and "MyShader".

If you want to clear the Memory from only one Shader you could do this:
BO1Lib.HudElements.DestroyElement(MyShader); //or MyText i hope you got the point of it. you dont need to give any Indexes or whatever, Call a Element, Clear it then with the DestroyElement Function.

I dont know what i can tell you more about Hud Elements for BO1, if you have abit Knowledge with MW3 Huds you can figure it out the rest Smile
If you have any Problem then write it in this Thread please.

Now we come to a other Part. Everyone who messed arround with HudElements should know the Function "SV_SendServerCommand".
Its a really nice Function in BO1. You can set Dvar for all Clients, Send Messages and the Stuff.


Here are some Functions, not included in both class you can add them easily Smile (SV is in the class but not the other Functions like SetDvar)
    
public static void iPrintln(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "f \"" + text + "\"");
}
public static void iPrintlnBold(Int32 clientIndex, String text)
{
SV_SendServerCommand(clientIndex, "c \"" + text + "\"");
}
public static void SetDvar(Int32 clientIndex, String DvarName, Int32 value)
{
SV_SendServerCommand(clientIndex, "v "+DvarName+" "+value+"");
iPrintlnBold(clientIndex, "^1Set Dvar " + DvarName + ": " + value);
}


You can find more Commands in SC58s Thread. He released them Winky Winky
You must login or register to view this content.

I hope everything is clear for you, if not just write it in the Thread.
And its not a RPC. You can compare it to iMCSx Huds Release its not a RPC too just Ghetto Functions like here but they work correct and never Freezed me on BO1!

Credits:
seb5594 - Mapping out Hud Elem Struct , this Tutorial and SV_SendServerCommand Function
Therifboy - It wasnt possible without this Guy. He teached me some PPC without him i wouldnt release this today! He helped me on much things we worked togheter on it and on my first Ghetto Function Smile
SC58 - Offsets
iMCSx - PS3Lib


Nice to see you back seb and accept me on skype :P
10-28-2013, 11:48 PM #10
Tustin
Balls of Steel
Very cool. Nice work :y:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo