Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 11:01 am

All times are UTC


Forum rules


Make sure your tutorials are kept up to date with the latest MS4 releases.



Post new topic Reply to topic  [ 1366 posts ]  Go to page 1, 2, 3, 4, 5 ... 55  Next
Author Message
PostPosted: Fri Feb 20, 2009 12:31 am 
Offline
Newbie
User avatar

Joined: Tue Feb 17, 2009 10:51 pm
Posts: 22
Location: Denmark
Google Talk: andydk90@gmail.com
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: :evil: 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

_________________
Image

My Current Work
SPOILER: (click to show)


Top
 Profile  
 
PostPosted: Fri Feb 20, 2009 12:43 am 
Offline
Newbie
User avatar

Joined: Tue Feb 17, 2009 10:51 pm
Posts: 22
Location: Denmark
Google Talk: andydk90@gmail.com
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.

_________________
Image

My Current Work
SPOILER: (click to show)


Top
 Profile  
 
PostPosted: Wed Dec 01, 2021 8:37 am 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:35 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Econ


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:36 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
77.7


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:37 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Bett


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:38 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Bett


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:40 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Coli


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:41 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Khal


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:42 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Jewe


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:43 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Paul


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:44 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Rudy


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:45 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Beat


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:46 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Marc


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:47 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Tesc


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:49 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Open


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:50 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Elvi


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:51 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Fisk


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:52 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Maur


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:53 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Djan


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:54 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Atla


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:55 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Veed


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:56 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Blue


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:57 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Imma


Top
 Profile  
 
PostPosted: Sun Jan 02, 2022 1:59 pm 
Online
Mirage Source Lover

Joined: Sun Jul 04, 2021 4:04 am
Posts: 456143
Jose


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1366 posts ]  Go to page 1, 2, 3, 4, 5 ... 55  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group