You are viewing our Forum Archives. To view or take place in current topics click here.
Float help for MW2
Posted:

Float help for MW2Posted:

Botch
  • TTG Senior
Status: Offline
Joined: Aug 31, 201211Year Member
Posts: 1,553
Reputation Power: 65
Status: Offline
Joined: Aug 31, 201211Year Member
Posts: 1,553
Reputation Power: 65
Alright, so I made an Engine Text menu, and it's almost complete. All the functions, scrolling, and shader/text works fine, if not a bit laggy. My current menu shader for when the menu opens is:
DrawShader(450, -10, 400, 1300, ShaderBlackT);

This places the shader in the center of the screen. However, I would like to make it so the menu is on the left side, similar to DreamyTKD's all client menu. [ Register or Signin to view external links. ]

What would I have to change my float X coordinate to, to make it on the left side, while still looking clean?

It would help if you put the answer in this format, though any help is still appreciated.
DrawShader(X, -10, 400, 1300, ShaderBlackT);


Thanks again!
#2. Posted:
r2r_menus
  • Resident Elite
Status: Offline
Joined: Sep 06, 201211Year Member
Posts: 220
Reputation Power: 8
Status: Offline
Joined: Sep 06, 201211Year Member
Posts: 220
Reputation Power: 8
DrawShader(10, -10, 400, 1300, ShaderBlackT);

or trail and error
#3. Posted:
THE-BLU-DRAGON
  • Ladder Climber
Status: Offline
Joined: Oct 30, 201112Year Member
Posts: 342
Reputation Power: 13
Status: Offline
Joined: Oct 30, 201112Year Member
Posts: 342
Reputation Power: 13
You could look at One Night's source and get the exact position.
#4. Posted:
Botch
  • TTG Senior
Status: Offline
Joined: Aug 31, 201211Year Member
Posts: 1,553
Reputation Power: 65
Status: Offline
Joined: Aug 31, 201211Year Member
Posts: 1,553
Reputation Power: 65
r2r_menus wrote DrawShader(10, -10, 400, 1300, ShaderBlackT);

or trail and error

Thanks man I'll try that!

@BluDragon I'll try that as well!
#5. Posted:
Mk14Boss
  • Wise One
Status: Offline
Joined: Apr 14, 201212Year Member
Posts: 569
Reputation Power: 23
Status: Offline
Joined: Apr 14, 201212Year Member
Posts: 569
Reputation Power: 23
Botch wrote Alright, so I made an Engine Text menu, and it's almost complete. All the functions, scrolling, and shader/text works fine, if not a bit laggy. My current menu shader for when the menu opens is:
DrawShader(450, -10, 400, 1300, ShaderBlackT);

This places the shader in the center of the screen. However, I would like to make it so the menu is on the left side, similar to DreamyTKD's all client menu. [ Register or Signin to view external links. ]

What would I have to change my float X coordinate to, to make it on the left side, while still looking clean?

It would help if you put the answer in this format, though any help is still appreciated.
DrawShader(X, -10, 400, 1300, ShaderBlackT);


Thanks again!

Try using back in time v1 it's pretty sweet and has the coordinates
#6. Posted:
Botch
  • TTG Senior
Status: Offline
Joined: Aug 31, 201211Year Member
Posts: 1,553
Reputation Power: 65
Status: Offline
Joined: Aug 31, 201211Year Member
Posts: 1,553
Reputation Power: 65
Mk14Boss wrote
Botch wrote Alright, so I made an Engine Text menu, and it's almost complete. All the functions, scrolling, and shader/text works fine, if not a bit laggy. My current menu shader for when the menu opens is:
DrawShader(450, -10, 400, 1300, ShaderBlackT);

This places the shader in the center of the screen. However, I would like to make it so the menu is on the left side, similar to DreamyTKD's all client menu. [ Register or Signin to view external links. ]

What would I have to change my float X coordinate to, to make it on the left side, while still looking clean?

It would help if you put the answer in this format, though any help is still appreciated.
DrawShader(X, -10, 400, 1300, ShaderBlackT);


Thanks again!

Try using back in time v1 it's pretty sweet and has the coordinates
Good advice, though that menu is positioned on the right side, as opposed to the left. Thanks though.
#7. Posted:
xbsTieLa
  • Junior Member
Status: Offline
Joined: Oct 30, 201211Year Member
Posts: 83
Reputation Power: 3
Status: Offline
Joined: Oct 30, 201211Year Member
Posts: 83
Reputation Power: 3
THE-BLU-DRAGON wrote You could look at One Night's source and get the exact position.

No, one night uses HUD and the position is different there

Hit me up on skype I'll try it out for you ;)
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.