• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hud or Allies or Axis
#1
Wink 
it is removed
  Reply
#2
Now I finally don't believe to you and to your previous releases "made by you". This code is so stupid. Use Allies() and Axis() from another thread. Some guy released it.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#3
(11-09-2013, 17:02)[HARD] Tony. Wrote:
CSHARP Code
  1. if (Client.Team == Teams.Allies)
  2. {
  3. private void CreateServerAd1()
  4. {
  5. HudElem txt = CreateNewHudElem();
  6. txt.Type = HudElementTypes.Text;
  7. txt.ShowToEnt = Entity_World;
  8. txt.HideInMenu = true;
  9. txt.Font = HudElementFonts.Default;
  10. txt.FontScale = 0.8f;
  11. txt.PointType = 81;
  12. txt.OriginY = 70f;
  13. txt.OriginX = 10f;
  14. txt.SetString("^3SURVIVORS");
  15. }
  16. if (Client.Team == Teams.Axis)
  17. {
  18. private void CreateServerAd2()
  19. {
  20. HudElem txt = CreateNewHudElem();
  21. txt.Type = HudElementTypes.Text;
  22. txt.ShowToEnt = Entity_World;
  23. txt.HideInMenu = true;
  24. txt.Font = HudElementFonts.Default;
  25. txt.FontScale = 0.8f;
  26. txt.PointType = 81;
  27. txt.OriginY = 70f;
  28. txt.OriginX = 10f;
  29. txt.SetString("^1INFECTED");
  30. }
  31. }

How made its?

Here Look At this Link: http://addon.teamsdk.com/?q=structs_enums Go down to the Hudelem stuff and look there.
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply
#4
(11-09-2013, 17:20)Casper Wrote:
(11-09-2013, 17:02)[HARD] Tony. Wrote:
CSHARP Code
  1. if (Client.Team == Teams.Allies)
  2. {
  3. private void CreateServerAd1()
  4. {
  5. HudElem txt = CreateNewHudElem();
  6. txt.Type = HudElementTypes.Text;
  7. txt.ShowToEnt = Entity_World;
  8. txt.HideInMenu = true;
  9. txt.Font = HudElementFonts.Default;
  10. txt.FontScale = 0.8f;
  11. txt.PointType = 81;
  12. txt.OriginY = 70f;
  13. txt.OriginX = 10f;
  14. txt.SetString("^3SURVIVORS");
  15. }
  16. if (Client.Team == Teams.Axis)
  17. {
  18. private void CreateServerAd2()
  19. {
  20. HudElem txt = CreateNewHudElem();
  21. txt.Type = HudElementTypes.Text;
  22. txt.ShowToEnt = Entity_World;
  23. txt.HideInMenu = true;
  24. txt.Font = HudElementFonts.Default;
  25. txt.FontScale = 0.8f;
  26. txt.PointType = 81;
  27. txt.OriginY = 70f;
  28. txt.OriginX = 10f;
  29. txt.SetString("^1INFECTED");
  30. }
  31. }

How made its?

Here Look At this Link: http://addon.teamsdk.com/?q=structs_enums Go down to the Hudelem stuff and look there.

The problem is.. he doesn't know how to do it.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#5
(11-09-2013, 18:29)SailorMoon Wrote:
(11-09-2013, 17:20)Casper Wrote:
(11-09-2013, 17:02)[HARD] Tony. Wrote:
CSHARP Code
  1. if (Client.Team == Teams.Allies)
  2. {
  3. private void CreateServerAd1()
  4. {
  5. HudElem txt = CreateNewHudElem();
  6. txt.Type = HudElementTypes.Text;
  7. txt.ShowToEnt = Entity_World;
  8. txt.HideInMenu = true;
  9. txt.Font = HudElementFonts.Default;
  10. txt.FontScale = 0.8f;
  11. txt.PointType = 81;
  12. txt.OriginY = 70f;
  13. txt.OriginX = 10f;
  14. txt.SetString("^3SURVIVORS");
  15. }
  16. if (Client.Team == Teams.Axis)
  17. {
  18. private void CreateServerAd2()
  19. {
  20. HudElem txt = CreateNewHudElem();
  21. txt.Type = HudElementTypes.Text;
  22. txt.ShowToEnt = Entity_World;
  23. txt.HideInMenu = true;
  24. txt.Font = HudElementFonts.Default;
  25. txt.FontScale = 0.8f;
  26. txt.PointType = 81;
  27. txt.OriginY = 70f;
  28. txt.OriginX = 10f;
  29. txt.SetString("^1INFECTED");
  30. }
  31. }

How made its?

Here Look At this Link: http://addon.teamsdk.com/?q=structs_enums Go down to the Hudelem stuff and look there.

The problem is.. he doesn't know how to do it.

I sorta figured that..
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply
#6
(11-09-2013, 19:26)Casper Wrote: I sorta figured that..

Then help him please, lol... I don't want to help him because he won't understand what he is doing.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#7
(11-09-2013, 20:33)SailorMoon Wrote:
(11-09-2013, 19:26)Casper Wrote: I sorta figured that..

Then help him please, lol... I don't want to help him because he won't understand what he is doing.

I have a full schedule with work . . . . . doesn't leave me much time.
@Sailormoon Is there a way to make a hud only veiwable by one person tho. ? Just wonderin if it was possible. Big Grin



@[HARD] Tony. Heres the codes to make the huds veiwable by one team.
Here's For Infected:
Code:
txt.Team = Teams.Axis;

Here's For Survivor:
Code:
txt.Team = Teams.Allies;
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply
#8
nvm Big Grin
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply
#9
Yes, it's possible.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#10
(11-10-2013, 10:43)SailorMoon Wrote: Yes, it's possible.

Could you show me a code please i tried but i couldn't figure it out..
~FYANB~ Servers Website

Primary Account:
[Image: 76561198070236721.png]
Secondary Account:
[Image: 76561198096107676.png]
Third Account:
[Image: 76561198164751656.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  speed axis [HARD] Tony. 8 4,544 03-15-2013, 18:40
Last Post: Nekochan
  Sending a plaeyr to axis or allies team lammv 0 1,873 01-26-2013, 18:59
Last Post: lammv
  [Request] Players join as Axis DidUknowiPwn 11 5,663 04-24-2012, 20:41
Last Post: DidUknowiPwn
  Now Available - The Kings' Crusade: New Allies Steam 0 1,870 02-10-2011, 00:00
Last Post: Steam

Forum Jump:


Users browsing this thread: 2 Guest(s)