Blockland Forums > Modification Help

[Solved] Swatch Control Size Problem [Thanks Ephialtes! :D]

Pages: << < (2/4) > >>

Port:

yourSwatchCtrl.extent = getWords( getRes(), 0, 2 );

jes00:


--- Quote from: Port on November 12, 2011, 08:41:35 AM ---yourSwatchCtrl.extent = getWords( getRes(), 0, 2 );

--- End quote ---
So NightVision.extent = getWords( getRes(); 0, 2 ); at the end of NightVisionGui.gui?

EDIT: Nope didin't work.

Ichverbot:

Two things:
1. Making the screen green does not create a night-vision effect.
2. Make sure it's not positioned in such a way it would be partially obfuscated by the edge of the screen.

Ephialtes:

Change the horizSizing and vertSizing of hte night vision swatch to width and height respectively. That'll resize the control to the width and height of it's container.

jes00:


--- Quote from: Ichverbot on November 12, 2011, 08:54:13 AM ---Two things:
1. Making the screen green does not create a night-vision effect.

--- End quote ---
Thats kinda the hole point of making a night vision mod.

--- Quote from: Ephialtes on November 12, 2011, 09:11:46 AM ---Change the horizSizing and vertSizing of the night vision swatch to width and height respectively. That'll resize the control to the width and height of it's container.

--- End quote ---
It's still the same size ):

Pages: << < (2/4) > >>

Go to full version