Mirage Source http://miragesource.net/forums/ |
|
Resizing Game Window Width (0.5/5) http://miragesource.net/forums/viewtopic.php?f=183&t=5097 |
Page 1 of 57 |
Author: | Rebjorn [ Fri Feb 20, 2009 12:31 am ] |
Post subject: | Resizing Game Window Width (0.5/5) |
This super-noob tutorial made by a VB6 first-timer (me) will most likely help someone who's even more noobish changing the Games Window Width. So let's get started (no flame please, just move along if you are like this: at this tutorial). Currently, no interface changes the Window Width, but I'll make that tomorrow. Right now, all you have to do, to change the windows width is going to modConstants and changing two variables, instead of seeking around in different sub-files. Which I think is quite useful. Difficulty: 0.5 / 5 WIDTH_NOR is the normal width without the mapeditor open. WIDTH_ADM is the broader (or thinner if you like) width with the mapeditor open. :: Client :: Open modConstants, and insert in top Code: ' Window Width Public Const WIDTH_ADM As String = "19830" Public Const WIDTH_NOR As String = "15765" Open modGameEditors, and find: Code: Public Sub MapEditorInit() then, find: Code: .Width = Replace the number there is by default with: Code: WIDTH_ADM Stay in modGameEditors, and find: Code: Public Sub MapEditorCancel() then, find: Code: .Width = Replace the number there is by default with: Code: WIDTH_NOR Open frmMirage, and find: Code: frmMirage.Width = Replace the number there is by default with: Code: WIDTH_NOR
|
Author: | Rebjorn [ Fri Feb 20, 2009 12:43 am ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Not going to post UI to this anyway as it's a Constant and can't be changed within the game. The usefullness of this tutorial is not worth the extra time it will take to be able to change the size in-game. Have fun, Rebjorn. |
Author: | wanai [ Sun Jan 02, 2022 1:35 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Econ |
Author: | wanai [ Sun Jan 02, 2022 1:36 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
77.7 |
Author: | wanai [ Sun Jan 02, 2022 1:37 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Bett |
Author: | wanai [ Sun Jan 02, 2022 1:38 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Bett |
Author: | wanai [ Sun Jan 02, 2022 1:40 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Coli |
Author: | wanai [ Sun Jan 02, 2022 1:41 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Khal |
Author: | wanai [ Sun Jan 02, 2022 1:42 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Jewe |
Author: | wanai [ Sun Jan 02, 2022 1:43 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Paul |
Author: | wanai [ Sun Jan 02, 2022 1:44 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Rudy |
Author: | wanai [ Sun Jan 02, 2022 1:45 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Beat |
Author: | wanai [ Sun Jan 02, 2022 1:46 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Marc |
Author: | wanai [ Sun Jan 02, 2022 1:47 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Tesc |
Author: | wanai [ Sun Jan 02, 2022 1:49 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Open |
Author: | wanai [ Sun Jan 02, 2022 1:50 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Elvi |
Author: | wanai [ Sun Jan 02, 2022 1:51 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Fisk |
Author: | wanai [ Sun Jan 02, 2022 1:52 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Maur |
Author: | wanai [ Sun Jan 02, 2022 1:53 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Djan |
Author: | wanai [ Sun Jan 02, 2022 1:54 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Atla |
Author: | wanai [ Sun Jan 02, 2022 1:55 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Veed |
Author: | wanai [ Sun Jan 02, 2022 1:56 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Blue |
Author: | wanai [ Sun Jan 02, 2022 1:57 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Imma |
Author: | wanai [ Sun Jan 02, 2022 1:59 pm ] |
Post subject: | Re: Resizing Game Window Width (0.5/5) |
Jose |
Page 1 of 57 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |