Mirage Source
http://miragesource.net/forums/

frmMapeditor
http://miragesource.net/forums/viewtopic.php?f=210&t=1616
Page 1 of 2

Author:  Styre [ Fri Apr 06, 2007 11:22 pm ]
Post subject:  frmMapeditor

Can someone make a tutorial, or Explain how I can make a separte form for my mapeditor? I hate having it in my frmMirage and I can't find a way to make it a seperate form in the source -_-.

Thanks for your time.

-- Styre

Author:  Xlithan [ Sat Apr 07, 2007 4:54 am ]
Post subject: 

You can use the Oasis v0.3.0 source to figure this out. It may even be possible to rip it. http://www.os.nevetsweb.com

Author:  Boo [ Sat Apr 07, 2007 6:14 am ]
Post subject: 

try downloading an Elysium Diamond source and look how they did it.

http://www.elysium.splamm.com

Author:  Reece [ Sat Apr 07, 2007 8:10 am ]
Post subject: 

Or don't be a lazy source ripper and learn?

Author:  Styre [ Sat Apr 07, 2007 8:17 am ]
Post subject: 

I'd prefer the last. That's why I asked for help here -_-. But I'll look at those sources and see how they did it.

Author:  Obsidian [ Sat Apr 07, 2007 8:17 am ]
Post subject: 

It's actually a pretty good way to learn to rip from source codes. As long as you give proper credit, who cares anyways?

When i went to MS from Konfuze, i tried ripping a bunch of Konfuze's features, it helped me to learn a lot.

Author:  Reece [ Sat Apr 07, 2007 9:27 am ]
Post subject: 

Obsidian wrote:
It's actually a pretty good way to learn to rip from source codes. As long as you give proper credit, who cares anyways?

When i went to MS from Konfuze, i tried ripping a bunch of Konfuze's features, it helped me to learn a lot.


Fair play, people are different back in the day when I copy and pasted I didn't learn much.

Author:  Matt [ Sat Apr 07, 2007 1:01 pm ]
Post subject: 

It's really not hard, move all the controls and the code to a new form. Find where it calls all the stuff for the mapeditor and change frmMirage to frmMEdit or frmMapEditor or w/e you decide. It's REALLY simple.

Author:  Obsidian [ Sat Apr 07, 2007 4:13 pm ]
Post subject: 

i guess i wasn't trying rip stuff as easy as the map editor. here's a basic rundown of what you need to do.

basically move the entire picMapEditor to a new form that you create. Then everywhere in the code, change the frmMirage.picMapEditor, to frmMapEditor (.visible, etc.)... it really is quite simple to do.

Author:  Styre [ Mon Apr 09, 2007 10:53 am ]
Post subject: 

Tried what Obsidian said. It words fine expecpt for 1 thing. I have no buttons at all on my editor. And I can't seem to find where it comes from.

Author:  William [ Mon Apr 09, 2007 11:35 am ]
Post subject: 

Styre wrote:
Tried what Obsidian said. It words fine expecpt for 1 thing. I have no buttons at all on my editor. And I can't seem to find where it comes from.

You need to move the code from frmMirage that are related to the buttons to frmMapEditor.

Author:  Styre [ Mon Apr 09, 2007 12:04 pm ]
Post subject: 

Did that.

I'll edit with a screenie in a sec.

EDIT: My MApeditor when I open it In game

Image

It should look like the basic Mirage Mapeditor

Author:  Robin [ Mon Apr 09, 2007 1:54 pm ]
Post subject: 

Make sure the picture box is visible and you don't change the visibility in the code.

Author:  Styre [ Mon Apr 09, 2007 2:39 pm ]
Post subject: 

I didn't change any options when transferring it to a form, and I don't think my code says it needs to be like that look:

Code:

' // MAP EDITOR STUFF //
Option Explicit

Private Sub optLayers_Click()
    If optLayers.Value = True Then
        fraLayers.Visible = True
        fraAttribs.Visible = False
    End If
End Sub

Private Sub optAttribs_Click()
    If optAttribs.Value = True Then
        fraLayers.Visible = False
        fraAttribs.Visible = True
    End If
End Sub
Private Sub picBackSelect_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
    Call EditorChooseTile(Button, Shift, x, y)
End Sub

Private Sub picBackSelect_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
    Call EditorChooseTile(Button, Shift, x, y)
End Sub

Private Sub cmdSend_Click()
    Call EditorSend
End Sub

Private Sub cmdCancel_Click()
    Call EditorCancel
End Sub

Private Sub cmdProperties_Click()
    frmMapProperties.Show vbModal
End Sub

Private Sub optWarp_Click()
    frmMapWarp.Show vbModal
End Sub

Private Sub optItem_Click()
    frmMapItem.Show vbModal
End Sub

Private Sub optKey_Click()
    frmMapKey.Show vbModal
End Sub

Private Sub optKeyOpen_Click()
    frmKeyOpen.Show vbModal
End Sub

Private Sub scrlPicture_Change()
    Call EditorTileScroll
End Sub

Private Sub cmdClear_Click()
    Call EditorClearLayer
End Sub

Private Sub cmdClear2_Click()
    Call EditorClearAttribs
End Sub


Author:  Matt [ Mon Apr 09, 2007 2:43 pm ]
Post subject: 

The main image you copied over, set it's visible attrib to true.

Author:  Styre [ Mon Apr 09, 2007 2:48 pm ]
Post subject: 

Yeeey thanks Advocate ,, I was checking the forms visibility for true -_- I hate it when I overlook something simple.

Author:  Robin [ Mon Apr 09, 2007 2:56 pm ]
Post subject: 

Yeah, no thanks "Robin" who pointed out the picture box was invisible :roll:

Author:  Matt [ Mon Apr 09, 2007 3:00 pm ]
Post subject: 

Haha. Yeah, the credit really does go to Robin. I just put what he said in simpler terms. ^_^

Author:  Robin [ Mon Apr 09, 2007 3:09 pm ]
Post subject: 

Let's share the credit!

[/gay moment]

Author:  Styre [ Mon Apr 09, 2007 3:11 pm ]
Post subject: 

meh ,, not as gay as a school mate of me is -_- alright cookie for Robin as he had the Idea first

Author:  Matt [ Mon Apr 09, 2007 3:21 pm ]
Post subject: 

I dunno if I wanna share anything with you Robin. O_o

Specially since that was a gay moment of yours.

*Hides*

Author:  Robin [ Mon Apr 09, 2007 3:35 pm ]
Post subject: 

Advocate wrote:
I dunno if I wanna share anything with you Robin. O_o

Specially since that was a gay moment of yours.

*Hides*


Hey, I don't get turned on by guy's who are taken.

But stay away from Kenko for a while.

Author:  Matt [ Mon Apr 09, 2007 3:37 pm ]
Post subject: 

Why am I staying away from Kenko? He hates me, remember?

Btw, we're going to get this thread locked prolly. O_o

Problems fixed though, by us, so maybe we won't get into trouble.

XD

Author:  wanai [ Thu Dec 16, 2021 7:41 am ]
Post subject:  Re: frmMapeditor

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffuserhttp://semiasphalticflux.rusemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchuckинфоtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimate.rutemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Author:  wanai [ Fri Feb 11, 2022 2:18 am ]
Post subject:  Re: frmMapeditor

Mari257PERFBettRaelMollNeveVoglXVIICentKeikSkypLiesXVIIGregMetaSpecShinwwwgTerrDulcBrucStev
RondSladProgAtlaAdobXIIIWillSummMiguDereMistTickStraRebeDickRexoPalmThomMennCeylTescSunsNott
MicrSieLElegXVIIABECRomaLoveBandRickGeorMODOSamuPariCircHeavCircKoffWoodsizeNikiCaprCotoHerb
WillPushSelaELEGPaliVentMichThrePaliPaliZoneRondSilvAlexBATTFuxiZoneUmbrMarySamuELEGSwarBarn
ZoneZoneZoneWillJennEdouZoneZoneVIIIZoneAgatXVIIZoneSailLawrWindZonediamWashZoneClasZoneZone
MichGottAnnoCasiFlayRockHotpZanuOlivMajoMatiPostEnjoDamiMWReExpePoweAutoSTARLionJeffEncyFolk
RegiDotsEditRobeHautStefDreaAdobWindFlanWundUnitValeVersPediwwwnJeweJorgndexJohaLillEdwaFrie
AnatMagiLeonRichXXIIJohnVictSystXeliXVIIEdwaJeffVasiDigiOxidGreaJeweVIIIWarwAudiVivaHiddIain
SergEleaAlbeGerdZettXVIIVideHardExceJerrRighStudTotaMarkKeviFranStevMichHomeCustWindCasiCasi
CasiMotlJakuIntrJemmDrawsuppTresRobeRebeJeweminuMPEGtuchkasStepTibe

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/