Renegade Creativity!
Welcome to Renegadeskins! You'll need to login in order to use all the features, like downloads, and view all the sections of this site.
changing HUD Joinus10

Registration is free and will only take a few seconds of your time.
Features of a registered account:
-Your allowed to post and comment Skins.
-No Ads.
And much more
Renegade Creativity!
Welcome to Renegadeskins! You'll need to login in order to use all the features, like downloads, and view all the sections of this site.
changing HUD Joinus10

Registration is free and will only take a few seconds of your time.
Features of a registered account:
-Your allowed to post and comment Skins.
-No Ads.
And much more
Renegade Creativity!
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Renegade Creativity!

Forum Statistics: 2766 Threads | 19061 Posts | 1536 Users | Welcome to our newest member https://renegadeskins.forumieren.de/u1562
 
HomeSearchLatest imagesRegisterStaffLog in
We're attempting to expand to support more games, please post skinable games suggestions and tell your friends!

Share | 
 

 changing HUD

View previous topic View next topic Go down 
AuthorMessage
ChewySphincter  
  
ChewySphincter
   Member


Number of posts : 32

Age : 1931

Reputation : 0

Registration date : 2010-06-14


changing HUD _
PostSubject: changing HUD   changing HUD EmptyFri Jun 18, 2010 7:27 am

somone from kamuix lite was trying to work on a HUD that changes. if your nod its a nod symbol and if your gdi it is a gdi symbol. he said it would change if you teamswapped or whatever but idk if he even finished it.
Back to top Go down
Soulhunter  
  
avatar
   Moderator


Number of posts : 259

Age : 34

Reputation : 14

Registration date : 2009-07-20


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySat Jun 19, 2010 1:50 am

You still play on the kamuix lite server? :p
Back to top Go down
AssimilatedCrysis-(BDoD)  
  
AssimilatedCrysis-(BDoD)
   Admin


Number of posts : 1613

Age : 35

Reputation : 99

Registration date : 2008-11-11


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySat Jun 19, 2010 2:14 am

kamuix sux =)

st0rm ftw Very Happy
Back to top Go down
gnoepower  
  
avatar
   Active Member


Number of posts : 500

Age : 32

Reputation : 19

Registration date : 2009-05-25


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySat Jun 19, 2010 3:10 am

crysis992 wrote:
kamuix sux =)

st0rm ftw Very Happy
St0rm always lags me somehow. Well kamuix did to, and I like the added aspects from the st0rm cnc mode more. Kamuix just made so many extra things it kinda raped the gameplay after a while.

I think it would be possible to create a hud like that, though never heard anyone trying nor do I have a clue how.
Back to top Go down
mrackz  
  
avatar
   Member


Number of posts : 425

Age : 32

Reputation : 25

Registration date : 2009-08-12


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySat Jun 19, 2010 3:58 am

Code:
TextureCount = hudini->Get_Int("General","TextureCount",0);
   HudTextures = new SimpleDynVecClass<Texture *>();
   for (unsigned int i = 0;i < TextureCount;i++)
   {
      char section[10];
      sprintf(section,"Texture%d",i);
      Texture *t = new Texture;

      t->TextureNameNod = new char[260];
      hudini->Get_String(section,"TextureNameNod","",t->TextureNameNod,260-1);

      t->TextureNameGDI = new char[260];
      hudini->Get_String(section,"TextureNameGDI","",t->TextureNameGDI,260-1);

      t->TextureRender2DClass = CreateRender2DClass();
      t->TextureRender2DClass->Set_Texture(t->TextureNameNod);
      t->QuadCount = hudini->Get_Int(section,"QuadCount",0);
      t->Quads = new Quad[t->QuadCount];
      if (t->TextureRender2DClass->Texture->Initialized == false)
      {
         t->TextureRender2DClass->Texture->Init();
      }
      unsigned int sz = t->TextureRender2DClass->Texture->Width;
      float size = (float)(1.0 / sz);
      for (unsigned int j = 0;j < t->QuadCount;j++)
      {
         char entry[50];
         sprintf(entry,"Quad%dColor",j);
         t->Quads[j].Color = (*ColorLibrary)[hudini->Get_Int(section,entry,0)];
         sprintf(entry,"Quad%dXPos",j);
         float QuadXPos = hudini->Get_Float(section,entry,0);
         sprintf(entry,"Quad%dYPos",j);
         float QuadYPos = hudini->Get_Float(section,entry,0);
         if (QuadXPos < 0)
         {
            QuadXPos += ScreenResolution->Right;
         }
         if (QuadYPos < 0)
         {
            QuadYPos += ScreenResolution->Bottom;
         }
         sprintf(entry,"Quad%dTop",j);
         float QuadTop = hudini->Get_Float(section,entry,0);
         sprintf(entry,"Quad%dLeft",j);
         float QuadLeft = hudini->Get_Float(section,entry,0);
         sprintf(entry,"Quad%dBottom",j);
         float QuadBottom = hudini->Get_Float(section,entry,0);
         sprintf(entry,"Quad%dRight",j);
         float QuadRight = hudini->Get_Float(section,entry,0);
         float QuadXSize = QuadRight - QuadLeft;
         float QuadYSize = QuadBottom - QuadTop;
         t->Quads[j].Position.Top = QuadYPos;
         t->Quads[j].Position.Left = QuadXPos;
         t->Quads[j].Position.Bottom = QuadYPos + QuadYSize;
         t->Quads[j].Position.Right = QuadXPos + QuadXSize;
         t->Quads[j].UV.Top = QuadTop * size;
         t->Quads[j].UV.Left = QuadLeft * size;
         t->Quads[j].UV.Bottom = QuadBottom * size;
         t->Quads[j].UV.Right = QuadRight * size;
      }
      HudTextures->Add(t);
   }
Back to top Go down
ChewySphincter  
  
ChewySphincter
   Member


Number of posts : 32

Age : 1931

Reputation : 0

Registration date : 2010-06-14


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySat Jun 19, 2010 1:34 pm

kamuix was freaking awesome! sep for it lags a LOT lol thats about the only thing that sucked about it imo but im assuming that's the code for the changing hud? lol
Back to top Go down
Good-One-Driver  
  
Good-One-Driver
   Active Member


Number of posts : 877

Age : 32

Reputation : 11

Registration date : 2009-08-03


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySat Jun 19, 2010 2:17 pm

kamuix was good in the old days like 2006ish
Back to top Go down
http://www.snipersdream.freeforums.org
Soulhunter  
  
avatar
   Moderator


Number of posts : 259

Age : 34

Reputation : 14

Registration date : 2009-07-20


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySun Jun 20, 2010 2:04 am

Madrackz, is it the code from the RSF hud? :p
Back to top Go down
gnoepower  
  
avatar
   Active Member


Number of posts : 500

Age : 32

Reputation : 19

Registration date : 2009-05-25


changing HUD _
PostSubject: Re: changing HUD   changing HUD EmptySun Jun 20, 2010 2:38 am

If it is, it sin't very nice to post it without credits. If it is not than it is very nice off you to post it.
Back to top Go down
Sponsored content  
  
   


changing HUD _
PostSubject: Re: changing HUD   changing HUD Empty

Back to top Go down
 

changing HUD

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Renegade Creativity! :: Forum :: Request Section-
Jump to: